|
|
|
@ -43,7 +43,7 @@ |
|
|
|
|
<view class="fenxiang_btn"> |
|
|
|
|
<!-- <view @click="setCollect"><text class="iconfont" :class="storeInfo.isRelation ? 'icon-yishoucang2' : 'icon-shoucang4'"></text><br/>收藏</view> --> |
|
|
|
|
<view @click="listenerActionSheet"><text class="iconfont icon-fenxiang4"></text><br/>分享</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view v-if="storeInfo.atmosphere_pic" class='integral_count skeleton-rect'> |
|
|
|
|
<text v-if="storeInfo.max_integral > 0" class='integral'>积分最高可抵扣{{storeInfo.max_integral}}元</text> |
|
|
|
@ -54,6 +54,7 @@ |
|
|
|
|
<view class='money p-color skeleton-rect' style="min-width: 70rpx;"> |
|
|
|
|
¥ |
|
|
|
|
<text class='num'>{{storeInfo.price}}</text> |
|
|
|
|
<text class='num' v-if="point!=0">+积分{{point}}</text> |
|
|
|
|
<view v-if="svipData && svipData.show_svip_price && svipData.show_svip" style="display: inline-block;"> |
|
|
|
|
<text class="vip-money">¥{{storeInfo.svip_price}}</text> |
|
|
|
|
<image class="vip-image" :src="`${domain}/static/images/svip.png`"></image> |
|
|
|
@ -583,6 +584,7 @@ |
|
|
|
|
max_count: 0, |
|
|
|
|
min_count: 0, |
|
|
|
|
pay_limit: 1, |
|
|
|
|
is_burst:null, |
|
|
|
|
svipData: {}, |
|
|
|
|
svipPrice: false, |
|
|
|
|
specsInfo: { |
|
|
|
@ -623,6 +625,7 @@ |
|
|
|
|
url: '/pages/user/index' |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
point:0 |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
computed:{ |
|
|
|
@ -1024,6 +1027,7 @@ |
|
|
|
|
this.$set(this.attr.productSelect, "svip_price", productSelect.svip_price); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", productSelect.stock); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", productSelect.unique); |
|
|
|
|
this.$set(this, "point", productSelect.point); |
|
|
|
|
this.$set(this, "uniqueValue", productSelect.unique); |
|
|
|
|
if (productSelect.stock == 0) { |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 0); |
|
|
|
@ -1040,6 +1044,7 @@ |
|
|
|
|
this.$set(this.attr.productSelect, "stock", 0); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", ""); |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 0); |
|
|
|
|
this.$set(this, "point", productSelect.point); |
|
|
|
|
this.$set(this, "attrValue", res); |
|
|
|
|
this.$set(this, "attrTxt", "选择"); |
|
|
|
|
} |
|
|
|
@ -1096,6 +1101,7 @@ |
|
|
|
|
that.$set(that, 'activity', res.data.activity ? res.data.activity : []); |
|
|
|
|
that.$set(that, 'max_count', res.data.once_max_count); |
|
|
|
|
that.$set(that, 'pay_limit', res.data.pay_limit); |
|
|
|
|
that.$set(that, 'is_burst', res.data.is_burst); |
|
|
|
|
that.$set(that, 'min_count', res.data.once_min_count); |
|
|
|
|
that.$set(that, 'svipData', res.data.show_svip_info || null); |
|
|
|
|
that.$set(that, 'svipPrice', res.data.show_svip_info && res.data.show_svip_info.show_svip_price || false); |
|
|
|
@ -1208,6 +1214,7 @@ |
|
|
|
|
this.$set(this.attr.productSelect, "stock", productSelect.stock); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", productSelect.unique); |
|
|
|
|
this.$set(this, "uniqueValue", productSelect.unique); |
|
|
|
|
this.$set(this, "point", productSelect.point); |
|
|
|
|
this.$set(this, "attrValue", value.join(",")); |
|
|
|
|
this.$set(this, "attrTxt", "选择"); |
|
|
|
|
if (productSelect.stock == 0) { |
|
|
|
@ -1226,6 +1233,7 @@ |
|
|
|
|
this.$set(this.attr.productSelect, "svip_price", this.storeInfo.svip_price); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", 0); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", ""); |
|
|
|
|
this.$set(this, "point", this.storeInfo.point); |
|
|
|
|
this.$set(this, "uniqueValue", ""); |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 0); |
|
|
|
|
this.$set(this, "attrValue", ""); |
|
|
|
@ -1241,6 +1249,7 @@ |
|
|
|
|
this.$set(this.attr.productSelect, "svip_price", this.storeInfo.svip_price); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", this.storeInfo.stock); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", this.storeInfo.unique || ""); |
|
|
|
|
this.$set(this, "point", this.storeInfo.point||0); |
|
|
|
|
this.$set(this, "uniqueValue", this.storeInfo.unique || ""); |
|
|
|
|
this.$set(this.attr.productSelect, "cart_num", 1); |
|
|
|
|
this.$set(this, "attrValue", ""); |
|
|
|
@ -1252,6 +1261,7 @@ |
|
|
|
|
this.$set(this.attr.productSelect, "svip_price", productSelect.svip_price); |
|
|
|
|
this.$set(this.attr.productSelect, "stock", productSelect.stock); |
|
|
|
|
this.$set(this.attr.productSelect, "unique", productSelect.unique); |
|
|
|
|
this.$set(this, "point", productSelect.point); |
|
|
|
|
this.$set(this, "uniqueValue", productSelect.unique); |
|
|
|
|
this.$set(this, "attrValue", value.join(",")); |
|
|
|
|
this.$set(this, "attrTxt", "选择"); |
|
|
|
@ -1433,7 +1443,7 @@ |
|
|
|
|
Cache.set(CART_TIME,timestamp) |
|
|
|
|
if (news) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/users/order_confirm/index?cartId=' + cartId |
|
|
|
|
url: '/pages/users/order_confirm/index?cartId=' + cartId +'&is_burst='+that.is_burst |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
that.$util.Tips({ |
|
|
|
|