|
|
@@ -15,7 +15,6 @@ Component({ |
|
|
|
* 组件的初始数据 |
|
|
|
*/ |
|
|
|
data: { |
|
|
|
swiperCurrent: 0, |
|
|
|
bannerUrl: imgurl.banner.url |
|
|
|
}, |
|
|
|
|
|
|
@@ -24,11 +23,6 @@ Component({ |
|
|
|
*/ |
|
|
|
ready() {}, |
|
|
|
methods: { |
|
|
|
swiperChange: function(e) { |
|
|
|
this.setData({ |
|
|
|
swiperCurrent: e.detail.current |
|
|
|
}); |
|
|
|
}, |
|
|
|
gotobannerdetail: function(e) { |
|
|
|
console.log(e) |
|
|
|
if(e.currentTarget.dataset.data.type==2){ |
|
|
|