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
da6662f0
Commit
da6662f0
authored
Sep 03, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
官网-关于欣新-首页
parent
01fea0ae
Changes
18
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
360 additions
and
138 deletions
+360
-138
main.css
assets/main.css
+4
-1
banner.vue
components/banner.vue
+19
-5
footer.vue
components/footer.vue
+1
-0
menu.vue
components/menu.vue
+26
-16
vehicleBanner.vue
components/vehicleBanner.vue
+17
-4
nuxt.config.js
nuxt.config.js
+2
-1
aboutXx.vue
pages/aboutXx.vue
+110
-58
activity.vue
pages/activity.vue
+4
-0
_id.vue
pages/activityList/_id.vue
+1
-1
campsite.vue
pages/campsite.vue
+4
-0
_id.vue
pages/campsiteDetails/_id.vue
+7
-7
index.vue
pages/index.vue
+138
-30
news.vue
pages/news.vue
+4
-0
_id.vue
pages/newsList/_id.vue
+1
-1
tour.vue
pages/tour.vue
+8
-4
_id.vue
pages/tourDetails/_id.vue
+9
-9
vehicle.vue
pages/vehicle.vue
+4
-0
_id.vue
pages/vehicleList/_id.vue
+1
-1
No files found.
assets/main.css
View file @
da6662f0
...
...
@@ -3,6 +3,9 @@ body {
height
:
100%
;
width
:
100%
;
}
#newBridge
.nb-middle
{
display
:
none
!important
;
}
.min-win
{
width
:
1200px
;
}
...
...
@@ -63,7 +66,7 @@ body {
}
.main-container
{
margin-top
:
9
0px
;
margin-top
:
12
0px
;
min-height
:
600px
;
}
...
...
components/banner.vue
View file @
da6662f0
...
...
@@ -152,11 +152,25 @@
display
:
flex
;
justify-content
:
center
;
}
@media
screen
and
(
min-width
:
1120px
)
and
(
max-width
:
1366px
){
.box
{
position
:
relative
;
height
:
500px
;
min-height
:
300px
;
height
:
350px
;
}
}
@media
screen
and
(
min-width
:
1366px
)
and
(
max-width
:
1920px
){
.box
{
position
:
relative
;
height
:
420px
;
}
}
@media
screen
and
(
min-width
:
1920px
){
.box
{
position
:
relative
;
height
:
560px
;
}
}
span
{
display
:
block
;
height
:
40px
;
...
...
@@ -181,6 +195,6 @@
}
.banner
{
width
:
100%
;
max-height
:
500px
;
overflow
:
hidden
;
}
</
style
>
components/footer.vue
View file @
da6662f0
...
...
@@ -52,6 +52,7 @@
position
:
relative
;
background
:
url("../assets/images/footer.jpg")
no-repeat
;
color
:
#fff
;
margin-top
:
-5px
;
}
.footer
{
font-family
:
sans-serif
;
...
...
components/menu.vue
View file @
da6662f0
This diff is collapsed.
Click to expand it.
components/vehicleBanner.vue
View file @
da6662f0
...
...
@@ -150,9 +150,23 @@
display
:
flex
;
justify-content
:
center
;
}
@media
screen
and
(
min-width
:
1120px
)
and
(
max-width
:
1200px
){
.box
{
position
:
relative
;
height
:
500px
;
height
:
150px
;
}
}
@media
screen
and
(
min-width
:
1201px
)
and
(
max-width
:
1920px
){
.box
{
position
:
relative
;
height
:
180px
;
}
}
@media
screen
and
(
min-width
:
1920px
){
.box
{
position
:
relative
;
height
:
240px
;
}
}
span
{
display
:
block
;
...
...
@@ -178,7 +192,6 @@
}
.banner
{
width
:
100%
;
height
:
240px
;
overflow
:
hidden
;
}
</
style
>
nuxt.config.js
View file @
da6662f0
...
...
@@ -14,7 +14,8 @@ module.exports = {
{
rel
:
'stylesheet'
,
href
:
'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic'
}
],
script
:
[
{
src
:
'https://dev.dfangche.com/h5/appHtml/js/util.js'
}
{
src
:
'https://dev.dfangche.com/h5/appHtml/js/util.js'
},
{
src
:
'https://hm.baidu.com/hm.js?672a607e77e242a0b9a090f5aaab7f33'
}
],
},
css
:
[
...
...
pages/aboutXx.vue
View file @
da6662f0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
pages/activity.vue
View file @
da6662f0
...
...
@@ -17,6 +17,10 @@
class=
"mb-50"
>
</vehicle-banner>
<div
class=
"wrap"
style=
"background: #f1f1f1;"
>
<div
class=
"bread-menu"
style=
"margin-top: 20px;padding: 0"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
<span>
欣新活动
</span>
</div>
<div
class=
"total-div"
>
共
{{
totalCount
}}
个活动
</div>
...
...
pages/activityList/_id.vue
View file @
da6662f0
<
template
>
<div>
<menu-modal></menu-modal>
<div
class=
"main-container"
style=
"margin-top: 1
1
0px;"
>
<div
class=
"main-container"
style=
"margin-top: 1
4
0px;"
>
<div
class=
"wrap"
>
<div
class=
"bread-menu"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
...
...
pages/campsite.vue
View file @
da6662f0
...
...
@@ -17,6 +17,10 @@
class=
"mb-50"
>
</vehicle-banner>
<div
class=
"wrap"
>
<div
class=
"bread-menu"
style=
"margin-top: 20px;padding: 0"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
<span>
房车营地
</span>
</div>
<div
class=
"clearfix total-div"
style=
"background-color: #fff;padding:13px 0 19px 14px;color:#666;height:50px"
>
共
{{
totalCount
}}
个房车营地
<select
...
...
pages/campsiteDetails/_id.vue
View file @
da6662f0
<
template
>
<div>
<menu-modal></menu-modal>
<div
class=
"main-container"
style=
"margin-top: 1
1
0px;"
>
<div
class=
"main-container"
style=
"margin-top: 1
4
0px;"
>
<div
class=
"wrap"
>
<div
class=
"bread-menu"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
...
...
pages/index.vue
View file @
da6662f0
This diff is collapsed.
Click to expand it.
pages/news.vue
View file @
da6662f0
...
...
@@ -17,6 +17,10 @@
class=
"mb-50"
>
</vehicle-banner>
<div
class=
"wrap"
style=
"background: #f1f1f1;"
>
<div
class=
"bread-menu"
style=
"margin-top: 20px;padding: 0"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
<span>
新闻动态
</span>
</div>
<div
class=
"total-div"
>
共
{{
totalCount
}}
篇新闻资讯
</div>
...
...
pages/newsList/_id.vue
View file @
da6662f0
<
template
>
<div>
<menu-modal></menu-modal>
<div
class=
"main-container"
style=
"margin-top: 1
1
0px;"
>
<div
class=
"main-container"
style=
"margin-top: 1
4
0px;"
>
<div
class=
"wrap"
>
<div
class=
"bread-menu"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
...
...
pages/tour.vue
View file @
da6662f0
...
...
@@ -19,6 +19,10 @@
</vehicle-banner>
</div>
<div
class=
"wrap"
>
<div
class=
"bread-menu"
style=
"margin-top: 20px;padding: 0"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
<span>
房车旅行
</span>
</div>
<div
class=
"clearfix total-div"
style=
"background-color: #fff;padding:13px 0 19px 14px;color:#666;height:50px"
>
共
{{
totalCount
}}
个旅行路线
<!--
<div
class=
"selectDiv"
>
-->
...
...
pages/tourDetails/_id.vue
View file @
da6662f0
<
template
>
<div>
<menu-modal></menu-modal>
<div
class=
"main-container"
style=
"margin-top: 1
1
0px;"
>
<div
class=
"main-container"
style=
"margin-top: 1
4
0px;"
>
<div
class=
"wrap"
>
<div
class=
"bread-menu"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
...
...
pages/vehicle.vue
View file @
da6662f0
...
...
@@ -17,6 +17,10 @@
class=
"mb-50"
>
</vehicle-banner>
<div
class=
"wrap"
style=
"background: #f1f1f1;"
>
<div
class=
"bread-menu"
style=
"margin-top: 20px;padding: 0"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
<span>
房车租赁
</span>
</div>
<div
class=
"total-div"
>
共
{{
totalCount
}}
款车型
</div>
...
...
pages/vehicleList/_id.vue
View file @
da6662f0
<
template
>
<div
class=
"vehicle-container"
>
<menu-modal></menu-modal>
<div
class=
"main-container"
style=
"margin-top: 1
1
0px;"
>
<div
class=
"main-container"
style=
"margin-top: 1
4
0px;"
>
<div
class=
"wrap"
>
<div
class=
"bread-menu"
>
<nuxt-link
to=
"/"
>
首页>
</nuxt-link>
...
...
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