Browse Source

更新新英语切换

wangxy 2 tháng trước cách đây
mục cha
commit
be99622fd0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      pages/wordList/wordList.vue

+ 2 - 2
pages/wordList/wordList.vue

@@ -137,10 +137,9 @@
     if (userCode.value == 'VIP') {
       listData.activeIndex = e.detail.current;
       // unit滚动到指定位置
-      findWordLeft(listData.activeIndex)
       handleTitleClick(listData.jieNumberList[listData.activeIndex])
     }
-
+    findWordLeft(listData.activeIndex)
 	}
 
 
@@ -197,6 +196,7 @@
 
 	// 获取滚动距离
 	function findWordLeft(data) {
+    console.log('data',data);
 		wordLeft.value = data * 40;
 		return wordLeft.value;
 	}