审核模式

This commit is contained in:
Dev
2026-10-15 15:16:17 +08:00
parent 1c9927efd5
commit 3bc5ea70fe
11 changed files with 75 additions and 8 deletions
@@ -22,6 +22,11 @@ Component({
type: Boolean,
value: false,
},
// 是否展示价格(案例展示时关闭)
showPrice: {
type: Boolean,
value: true,
},
},
data: {
@@ -1,5 +1,5 @@
<view class="goods-list-wrap wr-class" id="{{independentID}}">
<block wx:for="{{goodsList}}" wx:for-item="item" wx:key="index">
<goods-card id="{{independentID}}-gd-{{index}}" data="{{item}}" currency="{{item.currency || '¥'}}" thresholds="{{thresholds}}" show-buy="{{showBuy}}" class="goods-card-inside" data-index="{{index}}" bind:click="onClickGoods" />
<goods-card id="{{independentID}}-gd-{{index}}" data="{{item}}" currency="{{item.currency || '¥'}}" thresholds="{{thresholds}}" show-buy="{{showBuy}}" show-price="{{showPrice}}" class="goods-card-inside" data-index="{{index}}" bind:click="onClickGoods" />
</block>
</view>