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