mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 08:25:55 +08:00
删除部分冗余代码
This commit is contained in:
@@ -124,21 +124,6 @@
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 跳转到商品详情
|
||||
*/
|
||||
navigateToGoodsDetail(item) {
|
||||
if (
|
||||
item.sold_num === item.quantity ||
|
||||
this.timeLine[this.nav].distanceStartTime !== 0
|
||||
) {
|
||||
return;
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/goods?id=${item.skuId}&goodsId=${item.goodsId}`,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 单击导航时间
|
||||
|
||||
Reference in New Issue
Block a user