Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lixy
vue-ssr
Commits
7420fb89
Commit
7420fb89
authored
Aug 30, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cc
parent
80972b4d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
5 deletions
+28
-5
driver-type.png
assets/images/driver-type.png
+0
-0
license.png
assets/images/license.png
+0
-0
main.css
assets/main.css
+13
-0
vehicle.vue
pages/vehicle.vue
+15
-5
No files found.
assets/images/driver-type.png
0 → 100644
View file @
7420fb89
1.56 KB
assets/images/license.png
0 → 100644
View file @
7420fb89
1.39 KB
assets/main.css
View file @
7420fb89
...
@@ -146,11 +146,24 @@ h2{
...
@@ -146,11 +146,24 @@ h2{
.new-item
:hover
,
.activity-item
:hover
,
.content-new
:hover
,
.vehicle-item
:hover
,
.item-c
:hover
{
.new-item
:hover
,
.activity-item
:hover
,
.content-new
:hover
,
.vehicle-item
:hover
,
.item-c
:hover
{
box-shadow
:
0
0
5px
#ccc
;
box-shadow
:
0
0
5px
#ccc
;
}
}
.gallery-thumbs-box
img
{
cursor
:
pointer
;
}
.total-div
{
.total-div
{
margin
:
20px
0
;
margin
:
20px
0
;
background
:
#fff
;
background
:
#fff
;
padding
:
10px
;
padding
:
10px
;
}
}
.vehicle-desc
{
height
:
100px
;
color
:
#666
;
font-size
:
14px
;
}
.vehicle-item
.config
{
margin-right
:
20px
;
color
:
#666
;
font-size
:
12px
;
}
.buttonDetails
:hover
{
.buttonDetails
:hover
{
background
:
#1D9D87
!important
;
background
:
#1D9D87
!important
;
}
}
...
...
pages/vehicle.vue
View file @
7420fb89
...
@@ -25,7 +25,11 @@
...
@@ -25,7 +25,11 @@
<img
:src=
"item.coverPic"
alt=
"房车租赁"
style=
"width:30%;height:100%;"
/>
<img
:src=
"item.coverPic"
alt=
"房车租赁"
style=
"width:30%;height:100%;"
/>
<div
style=
"margin-left: 20px;width: 50%;"
>
<div
style=
"margin-left: 20px;width: 50%;"
>
<h2
style=
"font-size: 18px;margin:10px 0"
>
{{
item
.
name
}}
</h2>
<h2
style=
"font-size: 18px;margin:10px 0"
>
{{
item
.
name
}}
</h2>
<div>
{{
item
.
keyword
}}
</div>
<div
class=
"vehicle-desc"
>
{{
item
.
intro
}}
</div>
<div
class=
"flex-aic"
>
<span
class=
"flex-aic config"
v-for=
"iitem in item.uccnCataList"
:key=
"iitem.id"
><img
src=
"../assets/images/license.png"
/>
{{
iitem
.
name
}}
</span>
<nuxt-link
:to=
"item.link"
><span
class=
"more-set"
>
+更多配置
</span></nuxt-link>
</div>
</div>
</div>
<nuxt-link
:to=
"item.link"
class=
"flex-aic"
>
<nuxt-link
:to=
"item.link"
class=
"flex-aic"
>
<button
class=
"buttonDetails"
>
租车详情
</button>
<button
class=
"buttonDetails"
>
租车详情
</button>
...
@@ -160,10 +164,16 @@
...
@@ -160,10 +164,16 @@
.clearfix
{
.clearfix
{
*
zoom
:
1
;
/*ie6清除浮动的方式 *号只有IE6-IE7执行,其他浏览器不执行*/
*
zoom
:
1
;
/*ie6清除浮动的方式 *号只有IE6-IE7执行,其他浏览器不执行*/
}
}
.wrap
{
.more-set
:hover
{
width
:
1200px
;
border
:
1px
solid
#1bbb9f
;
margin
:
0
auto
;
color
:
#1bbb9f
;
background
:
#fff
;
}
.more-set
{
border
:
1px
solid
#999
;
padding
:
3px
10px
;
color
:
#999
;
font-size
:
12px
;
cursor
:
pointer
;
}
}
.banner
{
.banner
{
/* background-color: #fff; */
/* background-color: #fff; */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment