Commit 6572cfa3 authored by guoyou's avatar guoyou

首页轮播图

parent 44c274dd
...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment