From 65c1e2fd638259ef754c8462c06bed33214d9dfb Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 14 Aug 2020 10:55:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E6=BB=91=E8=B7=B3=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/remaining/remaining.vue | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) 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 @@ } } } - +