diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 3d1eddc..785ae49 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -1427,8 +1427,9 @@ export default { return } if(news === 2) { + const coupId = that.couponId ? that.couponId : (that.couponList.usable[0] && that.couponList.usable[0].id || '') uni.navigateTo({ - url: '/pkg_user/views/gift/gift?cartId=' + res.data.cartId + '&couponId=' + (that.couponId ? that.couponId : '') + url: '/pkg_user/views/gift/gift?cartId=' + res.data.cartId + '&couponId=' + coupId }) } if(news === 0) { diff --git a/pkg_user/views/gift/components/AddressList.vue b/pkg_user/views/gift/components/AddressList.vue index 2cbe42b..fe99f91 100644 --- a/pkg_user/views/gift/components/AddressList.vue +++ b/pkg_user/views/gift/components/AddressList.vue @@ -19,7 +19,7 @@ class="address-item" > - + 收货地址: @@ -110,6 +110,9 @@ export default {