|
@@ -67,7 +67,7 @@ Component({
|
|
this.setData({
|
|
this.setData({
|
|
index: index,
|
|
index: index,
|
|
imgindex: index + 1, // imgindex 从 1 开始
|
|
imgindex: index + 1, // imgindex 从 1 开始
|
|
- left: '-' + index + '00%;transition: all .5s;'
|
|
|
|
|
|
+ left: '-' + index + '00%;transition: all 0s;'
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
// 如果没有找到,可以选择处理的逻辑,比如重置 index
|
|
// 如果没有找到,可以选择处理的逻辑,比如重置 index
|