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
cc64d9c3
Commit
cc64d9c3
authored
Sep 04, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百度商桥、首页banner适应、首页车型轮播
parent
636e5733
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
banner.vue
components/banner.vue
+1
-1
nuxt.config.js
nuxt.config.js
+1
-2
index.vue
pages/index.vue
+1
-1
No files found.
components/banner.vue
View file @
cc64d9c3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"box"
>
<div
class=
"box"
>
<ul>
<ul>
<li
v-for=
"(item, index) in list"
:key=
"item.id"
:class=
"index === current ? 'active' : ''"
@
click=
"bannerClick(index, item)"
>
<li
v-for=
"(item, index) in list"
:key=
"item.id"
:class=
"index === current ? 'active' : ''"
@
click=
"bannerClick(index, item)"
>
<img
:src=
"item.cover"
style=
"width:100%;min-height: 350px;"
:alt=
"item.title"
/>
<img
:src=
"item.cover"
style=
"width:100%;
height:100%;
min-height: 350px;"
:alt=
"item.title"
/>
</li>
</li>
</ul>
</ul>
<div
class=
"status"
>
<div
class=
"status"
>
...
...
nuxt.config.js
View file @
cc64d9c3
...
@@ -15,7 +15,6 @@ module.exports = {
...
@@ -15,7 +15,6 @@ module.exports = {
],
],
script
:
[
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
:
[
css
:
[
...
@@ -30,7 +29,7 @@ module.exports = {
...
@@ -30,7 +29,7 @@ module.exports = {
{
src
:
'~plugins/muse-ui.js'
,
ssr
:
true
},
{
src
:
'~plugins/muse-ui.js'
,
ssr
:
true
},
{
src
:
'~plugins/filters.js'
,
srr
:
false
},
{
src
:
'~plugins/filters.js'
,
srr
:
false
},
{
src
:
'~/plugins/elementUI.js'
,
srr
:
false
},
{
src
:
'~/plugins/elementUI.js'
,
srr
:
false
},
{
src
:
'~/plugins/baidu.js'
,
srr
:
true
},
],
],
build
:
{
build
:
{
extend
(
config
,
{
isDev
,
isClient
})
{
extend
(
config
,
{
isDev
,
isClient
})
{
...
...
pages/index.vue
View file @
cc64d9c3
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"flex-fdc-jcc vehicle-container vehicle-bg"
style=
"padding: 30px 0;background-position: bottom;"
>
<div
class=
"flex-fdc-jcc vehicle-container vehicle-bg"
style=
"padding: 30px 0
155px 0
;background-position: bottom;"
>
<div
class=
"tc title"
>
热门房车
<span
style=
"font-size: 16px;margin: 0 5px;"
>
●
</span>
多款房车任你选择
</div>
<div
class=
"tc title"
>
热门房车
<span
style=
"font-size: 16px;margin: 0 5px;"
>
●
</span>
多款房车任你选择
</div>
<div
class=
"flex-aic-jcb more-container"
>
<div
class=
"flex-aic-jcb more-container"
>
<div
style=
"width: 1160px;text-align: center"
>
<div
style=
"width: 1160px;text-align: center"
>
...
...
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