diff --git a/pages/index/index.vue b/pages/index/index.vue
index 0520cd2..36a5cfc 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -20,7 +20,12 @@
-
+
+
+
+
+
+
@@ -43,7 +48,7 @@
imgSrc: require('static/1/1.png'),
progressNum: 0,
number: 0,
- startY: 0
+ startY: 0,
}
},
onLoad() {
@@ -89,7 +94,8 @@
const distanceY = this.startY - endY;
if (distanceY > 50 && this.number == 2) {
console.log('上滑操作触发');
- this.click()
+ setTimeout(()=>{this.click()},100)
+
// 在此处编写上滑操作执行的逻辑
}
},
@@ -182,4 +188,13 @@
height: 100%;
width: 158rpx;
}
+ .swiper-box{
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ }
diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html
index 5cf9cab..81cf2a2 100644
--- a/unpackage/dist/build/web/index.html
+++ b/unpackage/dist/build/web/index.html
@@ -1,2 +1,2 @@
shanjuandong
\ No newline at end of file
+ document.write('')