Commit 1ba474889f20ed0642c4c52f2d10c8ebafe8d4ea

Authored by 王强
1 parent 92eda369

购好物,首页,热销排行向左滑动处理~

src/components/marqueeCom/marqueeCom.vue
... ... @@ -202,7 +202,7 @@
202 202 } else {
203 203  
204 204 // 修正this.control.distance的位置值
205   - this.$set(this.control, 'distance', -(this.$refs.items[0].clientWidth * (this.$refs.items.length - this.options.minCount)));
  205 + this.$set(this.control, 'distance', -(this.$refs.items[0].clientWidth * (this.$refs.items.length - this.options.minCount)) + 1);
206 206 }
207 207  
208 208 // 设置移动
... ...