恢复商品和详情页面

This commit is contained in:
Dev
2026-10-22 15:41:39 +08:00
parent 0ef4ac4cea
commit b9122fd6c8
37 changed files with 2489 additions and 2 deletions
@@ -33,6 +33,12 @@ Page({
);
},
goodClickHandle(e) {
const { index } = e.detail;
const { spuId } = this.data.list[index];
wx.navigateTo({ url: `/pages/goods/details/index?spuId=${spuId}` });
},
cardClickHandle() {
Toast({
context: this,
@@ -66,6 +66,7 @@
<goods-list
wr-class="goods-list-container"
goodsList="{{list}}"
bind:click="goodClickHandle"
bind:addcart="cardClickHandle"
/>
</view>