diff --git a/components/remaining/remaining.vue b/components/remaining/remaining.vue index 96664c5..7a2e30e 100644 --- a/components/remaining/remaining.vue +++ b/components/remaining/remaining.vue @@ -17,7 +17,7 @@ - + @@ -72,13 +72,27 @@ indicatorDots: true, interval: 2000, duration: 500, - swiper_index: "", + swiper_index: "", + tiaoguo:false, + weizhi:0 }; }, onReady: function(res) { this.videoContext = uni.createVideoContext('myVideo'); }, methods: { + tiaoguos(a){ + console.log(a.detail) + if(this.weizhi == a.detail.current && a.detail.current == this.list.length -1){ + this.leap_overto() + } + this.weizhi = a.detail.current + + }, + qiehuan(a){ + console.log(a) + this.tiaoguo = a.detail.current + }, apiwelcome() { this.$u.api.documentInfo({ document_code: 'agreement' @@ -324,4 +338,4 @@ } } } - +