...
|
...
|
@@ -86,9 +86,11 @@ |
|
|
<!-- <view class="huiyuanprice">会员价:¥{{goodtail.vip_price}}</view> -->
|
|
|
</view>
|
|
|
<view class="heziright flexone">
|
|
|
<view class="heziprice stock">库存:{{goodtail.score_goods_spec.stock_num}}件</view>
|
|
|
<!-- goodtail.store_goods_spec.stock_num -->
|
|
|
<view class="heziprice stock">库存:{{goodtail.store_goods_spec.stock_num}}件</view>
|
|
|
<view class="heziprice">已售{{goodtail.sales}}件</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -102,7 +104,8 @@ |
|
|
<!-- 包邮 店铺满100元包邮 -->
|
|
|
</view>
|
|
|
<view class="send" v-if="type==3">
|
|
|
运费{{shoppostage.postage}} <text style='margin-left:20rpx;'>店铺满{{mianpostage.free_postage}}包邮</text>
|
|
|
|
|
|
运费{{shoppostage.postage}} <text style='margin-left:20rpx;'>店铺满{{shoppostage.free_postage}}包邮</text>
|
|
|
<!-- 包邮 店铺满100元包邮 -->
|
|
|
</view>
|
|
|
<view class="tapnav flextwo">
|
...
|
...
|
@@ -320,9 +323,11 @@ |
|
|
this.getjifengoodtail();
|
|
|
} else if (this.type == 3) {
|
|
|
console.log(88877665)
|
|
|
this.getshopgoodtail();
|
|
|
console.log(options.obj)
|
|
|
this.shoppostage=JSON.parse(options.obj);
|
|
|
console.log(this.shoppostage)
|
|
|
console.log(JSON.stringify(this.shoppostage))
|
|
|
this.getshopgoodtail();
|
|
|
}
|
|
|
// 获取购物车气泡
|
|
|
this.getcartnum();
|
...
|
...
|
@@ -330,7 +335,7 @@ |
|
|
this.getcommentlist();
|
|
|
// 获取邮费
|
|
|
this.getyoufei();
|
|
|
this.getinfo()
|
|
|
// this.getinfo()
|
|
|
|
|
|
},
|
|
|
|
...
|
...
|
@@ -477,12 +482,12 @@ |
|
|
app.post(url, params).then((res) => {
|
|
|
console.log('商品详情',res);
|
|
|
that.goodtail = res.data.data;
|
|
|
console.log('详情328934894',that.goodtail)
|
|
|
that.$forceUpdate()
|
|
|
that.status = res.data.data.status;
|
|
|
if (that.status == 1) {
|
|
|
that.getTime()
|
|
|
}
|
|
|
|
|
|
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
|
...
|
...
|
@@ -582,8 +587,9 @@ |
|
|
console.log(params)
|
|
|
app.post(url, params).then((res) => {
|
|
|
console.log('商品详情',res);
|
|
|
that.goodtail = res.data.data
|
|
|
|
|
|
that.goodtail = res.data.data
|
|
|
console.log('详情3343',that.goodtail.store_goods_spec.stock_num)
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
...
|
...
|
@@ -827,7 +833,6 @@ |
|
|
this.buynowk()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
},
|
|
|
// 加入购物车
|
|
|
addcartk() {
|
...
|
...
|
|