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
6572cfa3
Commit
6572cfa3
authored
Dec 20, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页轮播图
parent
44c274dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
17 deletions
+2
-17
banner.vue
components/banner.vue
+2
-17
No files found.
components/banner.vue
View file @
6572cfa3
...
@@ -23,22 +23,7 @@ export default {
...
@@ -23,22 +23,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
banner
:
[
banner
:
[
{
alt
:
'异地取还'
,
cover
:
'https://xxtest.upyuns.com/image/admin/2019-08-30/32.jpg'
,
id
:
29
,
title
:
'异地取还'
,
url
:
''
},
{
alt
:
'欣新房车'
,
cover
:
'https://mgmt.dfangche.com/image/admin/2019-10-22/109.jpg'
,
id
:
29
,
title
:
'欣新房车'
,
url
:
''
}
]
]
}
}
},
},
...
@@ -54,7 +39,7 @@ export default {
...
@@ -54,7 +39,7 @@ export default {
methods
:
{},
methods
:
{},
mounted
()
{
mounted
()
{
let
t
=
this
let
t
=
this
let
title
=
this
.
banner
let
title
=
this
.
list
t
.
swiper
=
new
Swiper
(
'.swiper-container'
,
{
t
.
swiper
=
new
Swiper
(
'.swiper-container'
,
{
// autoplay: true,
// autoplay: true,
effect
:
'fade'
,
effect
:
'fade'
,
...
...
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