移除案例展示和详情页面

This commit is contained in:
Dev
2026-10-20 18:34:45 +08:00
parent 8c1b97af8e
commit f5285f704f
43 changed files with 44 additions and 2521 deletions
@@ -1,33 +0,0 @@
Component({
externalClasses: ['wr-class'],
options: { multipleSlots: true },
properties: {
soldout: {
// 商品是否下架
type: Boolean,
value: false,
},
isStock: {
type: Boolean,
value: true,
}, // 是否有库存
isSlotButton: {
type: Boolean,
value: false,
}, // 是否开启按钮插槽
buttonType: {
type: Number,
value: 0,
},
},
methods: {
toBuyNow(e) {
const { isStock, soldout } = this.properties;
if (soldout || !isStock) return;
this.triggerEvent('toBuyNow', e);
},
},
});