...
|
...
|
@@ -102,8 +102,8 @@ Component({ |
|
|
this.triggerEvent('removeGoodsListInEdit', item);
|
|
|
this.setData({item});
|
|
|
},
|
|
|
touchChanged(key) {
|
|
|
if (this.isShowMore() && key !== this.data.item.indexKey) {
|
|
|
touchChanged(e) {
|
|
|
if (this.isShowMore() && e.target.dataset.key !== this.data.item.indexKey) {
|
|
|
this.toggleAnimation(false);
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -195,8 +195,8 @@ Component({ |
|
|
let currentPage = pages[pages.length - 1];
|
|
|
|
|
|
if (currentPage && currentPage.event && currentPage.event.on) {
|
|
|
currentPage.event.on('cart-touch-start', key => {
|
|
|
this.touchChanged(key);
|
|
|
currentPage.event.on('cart-touch-start', e => {
|
|
|
this.touchChanged(e);
|
|
|
});
|
|
|
}
|
|
|
}
|
...
|
...
|
|