小程序产品页面优化,及添加忽略文件

This commit is contained in:
Dev
2026-09-21 16:27:14 +08:00
parent 8591e5e99f
commit bd24456aa3
24 changed files with 513 additions and 768 deletions
@@ -304,12 +304,6 @@ Component({
this.triggerEvent('specsConfirm');
},
addCart() {
const { isStock } = this.properties;
if (!isStock) return;
this.triggerEvent('addCart');
},
buyNow() {
const { isAllSelectedSku } = this.data;
const { isStock } = this.properties;