diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue
index aea9a3a..3d1eddc 100644
--- a/pages/shop/GoodsCon/index.vue
+++ b/pages/shop/GoodsCon/index.vue
@@ -64,8 +64,8 @@
{{ storeInfo.storeName }}
-
-
+
+
支持礼包赠送
@@ -2130,6 +2130,7 @@ export default {
}
.gift-img{
width: 34rpx;
+ height: 34rpx;
margin-right: 10rpx;
}
diff --git a/pkg_user/views/gift/components/GiftCard.vue b/pkg_user/views/gift/components/GiftCard.vue
index c58104b..9333b1a 100644
--- a/pkg_user/views/gift/components/GiftCard.vue
+++ b/pkg_user/views/gift/components/GiftCard.vue
@@ -85,7 +85,7 @@ export default {
handler(newVal, oldVal) {
if (newVal && newVal.id) {
// this.address = newVal
- this.setAddress()
+ this.setAddress(1)
}
},
deep: true
@@ -128,12 +128,13 @@ export default {
uni.hideLoading()
})
},
- setAddress() {
+ setAddress(flag) {
getAddressList().then(res => {
if (res.data.length === 0) {
this.$refs.addressDialog.open()
} else {
this.address = res.data
+ if(flag) return
this.$refs.AddressList.open()
}
})