|
@@ -472,12 +472,12 @@ const _sfc_main = {
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- },
|
|
|
- productCouponList() {
|
|
|
- common_vendor.index.navigateTo({
|
|
|
- url: "/pages/coupon/order_coupon"
|
|
|
- });
|
|
|
}
|
|
|
+ // productCouponList(){
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url:"/pages/coupon/order_coupon"
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
};
|
|
|
if (!Array) {
|
|
@@ -502,40 +502,42 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
d: common_vendor.o((...args) => $options.goBack && $options.goBack(...args)),
|
|
|
e: $data.productInfo.thumb,
|
|
|
f: common_vendor.t($data.productInfo.name),
|
|
|
- g: common_vendor.t($data.productInfo.price),
|
|
|
- h: common_vendor.t($data.productInfo.stock),
|
|
|
- i: common_vendor.o(($event) => $options.productCouponList()),
|
|
|
- j: common_assets._imports_0$1,
|
|
|
- k: common_assets._imports_1$1,
|
|
|
- l: common_vendor.o(($event) => $options.showSpecPopup(1)),
|
|
|
- m: $data.specBtnType == 1
|
|
|
+ g: common_vendor.t($data.productInfo.spec),
|
|
|
+ h: common_vendor.t($data.productInfo.price),
|
|
|
+ i: common_vendor.t($data.productInfo.market_price),
|
|
|
+ j: common_vendor.t($data.productInfo.stock),
|
|
|
+ k: common_vendor.o(($event) => $options.openCoupon()),
|
|
|
+ l: common_assets._imports_0$1,
|
|
|
+ m: common_assets._imports_1$1,
|
|
|
+ n: common_vendor.o(($event) => $options.showSpecPopup(1)),
|
|
|
+ o: $data.specBtnType == 1
|
|
|
}, $data.specBtnType == 1 ? common_vendor.e({
|
|
|
- n: !$data.checkedAddr.id
|
|
|
+ p: !$data.checkedAddr.id
|
|
|
}, !$data.checkedAddr.id ? {} : {}, {
|
|
|
- o: common_vendor.t($data.checkedAddr.contact_name),
|
|
|
- p: common_vendor.t($data.checkedAddr.contact_phone),
|
|
|
- q: common_vendor.t($data.checkedAddr.contact_province),
|
|
|
- r: common_vendor.t($data.checkedAddr.contact_city),
|
|
|
- s: common_vendor.t($data.checkedAddr.contact_area),
|
|
|
- t: common_vendor.t($data.checkedAddr.contact_addr),
|
|
|
- v: common_vendor.o(($event) => $options.showAddrPopup())
|
|
|
+ q: common_vendor.t($data.checkedAddr.contact_name),
|
|
|
+ r: common_vendor.t($data.checkedAddr.contact_phone),
|
|
|
+ s: common_vendor.t($data.checkedAddr.contact_province),
|
|
|
+ t: common_vendor.t($data.checkedAddr.contact_city),
|
|
|
+ v: common_vendor.t($data.checkedAddr.contact_area),
|
|
|
+ w: common_vendor.t($data.checkedAddr.contact_addr),
|
|
|
+ x: common_vendor.o(($event) => $options.showAddrPopup())
|
|
|
}) : {}, {
|
|
|
- w: $data.productInfo.thumb,
|
|
|
- x: common_vendor.t($data.productInfo.name),
|
|
|
- y: $data.isShowPrice
|
|
|
+ y: $data.productInfo.thumb,
|
|
|
+ z: common_vendor.t($data.productInfo.name),
|
|
|
+ A: $data.isShowPrice
|
|
|
}, $data.isShowPrice ? {
|
|
|
- z: common_vendor.t($data.productInfo.price),
|
|
|
- A: common_vendor.t($data.productInfo.market_price)
|
|
|
+ B: common_vendor.t($data.productInfo.price),
|
|
|
+ C: common_vendor.t($data.productInfo.market_price)
|
|
|
} : {}, {
|
|
|
- B: common_assets._imports_3,
|
|
|
- C: common_vendor.o(($event) => $options.changeQuantity(-1)),
|
|
|
- D: common_vendor.o(($event) => $options.changeQuantity(0)),
|
|
|
- E: $data.quantity,
|
|
|
- F: common_vendor.o(($event) => $data.quantity = $event.detail.value),
|
|
|
- G: common_assets._imports_4,
|
|
|
- H: common_vendor.o(($event) => $options.changeQuantity(1)),
|
|
|
- I: common_vendor.t($data.productInfo.stock),
|
|
|
- J: common_vendor.f($data.productInfo.product_attr, (spec, spec_index, i0) => {
|
|
|
+ D: common_assets._imports_3,
|
|
|
+ E: common_vendor.o(($event) => $options.changeQuantity(-1)),
|
|
|
+ F: common_vendor.o(($event) => $options.changeQuantity(0)),
|
|
|
+ G: $data.quantity,
|
|
|
+ H: common_vendor.o(($event) => $data.quantity = $event.detail.value),
|
|
|
+ I: common_assets._imports_4,
|
|
|
+ J: common_vendor.o(($event) => $options.changeQuantity(1)),
|
|
|
+ K: common_vendor.t($data.productInfo.stock),
|
|
|
+ L: common_vendor.f($data.productInfo.product_attr, (spec, spec_index, i0) => {
|
|
|
return {
|
|
|
a: common_vendor.t(spec.spec_name),
|
|
|
b: common_vendor.f(spec.attr_list, (option, attr_index, i1) => {
|
|
@@ -549,17 +551,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
c: spec_index
|
|
|
};
|
|
|
}),
|
|
|
- K: $data.specBtnType == 1
|
|
|
- }, $data.specBtnType == 1 ? {
|
|
|
- L: common_vendor.t($data.priceTotal)
|
|
|
- } : {}, {
|
|
|
M: $data.specBtnType == 1
|
|
|
}, $data.specBtnType == 1 ? {
|
|
|
- N: common_vendor.o(($event) => $options.createOrder())
|
|
|
+ N: common_vendor.t($data.priceTotal)
|
|
|
} : {}, {
|
|
|
- O: $data.specBtnType == 2
|
|
|
- }, $data.specBtnType == 2 ? {
|
|
|
- P: common_vendor.o(($event) => $options.createCart())
|
|
|
+ O: $data.specBtnType == 1
|
|
|
+ }, $data.specBtnType == 1 ? {
|
|
|
+ P: common_vendor.o(($event) => $options.createOrder())
|
|
|
} : {}, {
|
|
|
Q: common_vendor.sr("specPopup", "618774e2-1"),
|
|
|
R: common_vendor.o($options.popupChange),
|