From 00bf17838b496e6fcfed2e521f9c27f8f0e3e3c7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 05 八月 2024 18:38:20 +0800
Subject: [PATCH] ‘’

---
 wechat_jiaxuan/pages/index/index.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/wechat_jiaxuan/pages/index/index.js b/wechat_jiaxuan/pages/index/index.js
index 8c5d047..cdc4ace 100644
--- a/wechat_jiaxuan/pages/index/index.js
+++ b/wechat_jiaxuan/pages/index/index.js
@@ -127,7 +127,7 @@
             url: '/pages/design/design'
           })
         } else {
-          wx.setStorageSync('tempPath', '/pages/auth/auth')
+          wx.setStorageSync('tempPath', '/pages/design/design')
           wx.navigateTo({
             url: '/pages/auth/auth',
           })
@@ -402,11 +402,12 @@
   },
   onPageScroll(e) {
     const { videoTop, windowHeight, videoPlay } = this.data
-    if(e.scrollTop - 100 > videoTop - (windowHeight / 2) && videoPlay ){
+    if(e.scrollTop + 100 > videoTop - (windowHeight / 2) && videoPlay ){
       this.setData({ videoPlay: false })
       let videoplay = wx.createVideoContext('myvideo', this)
       videoplay.play();
     }
+
     let scrollTop = e.scrollTop / 100
     if (scrollTop <= 0.1) {
       this.setData({

--
Gitblit v1.9.3