uniH5 GoodsCon 参数错误
This commit is contained in:
@ -25,7 +25,7 @@
|
|||||||
<text class="hide line1 acea-row">
|
<text class="hide line1 acea-row">
|
||||||
<text>优惠券:</text>
|
<text>优惠券:</text>
|
||||||
<text class="activity" v-for="(item, couponListEq) in couponList"
|
<text class="activity" v-for="(item, couponListEq) in couponList"
|
||||||
:key="couponListEq">满{{ item.use_min_price }}减{{ item.coupon_price }}</text>
|
:key="couponListEq">满{{ item.useMinPrice }}减{{ item.couponPrice }}</text>
|
||||||
</text>
|
</text>
|
||||||
<view class="iconfont icon-jiantou"></view>
|
<view class="iconfont icon-jiantou"></view>
|
||||||
</view>
|
</view>
|
||||||
@ -312,7 +312,8 @@
|
|||||||
let url = handleQrCode();
|
let url = handleQrCode();
|
||||||
if (!url) {
|
if (!url) {
|
||||||
url = handleUrlParam(getCurrentPageUrlWithArgs())
|
url = handleUrlParam(getCurrentPageUrlWithArgs())
|
||||||
}
|
}
|
||||||
|
this.coupons();
|
||||||
if (url && url.id) {
|
if (url && url.id) {
|
||||||
this.id = url.id;
|
this.id = url.id;
|
||||||
let urlSpread = parseInt(url.spread);
|
let urlSpread = parseInt(url.spread);
|
||||||
@ -592,7 +593,8 @@
|
|||||||
page: 1,
|
page: 1,
|
||||||
limit: 20,
|
limit: 20,
|
||||||
};
|
};
|
||||||
getCoupon(q).then((res) => {
|
getCoupon(q).then((res) => {
|
||||||
|
|
||||||
that.$set(that, "couponList", res.data || []);
|
that.$set(that, "couponList", res.data || []);
|
||||||
that.$set(that.coupon, "list", res.data);
|
that.$set(that.coupon, "list", res.data);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user