| xqd
@@ -99,7 +99,7 @@
|
|
|
:pickup="goods.goods_marketing.pickup"
|
|
|
></bd-kb>
|
|
|
<bd-comments :goods-id="goods.id"></bd-comments>
|
|
|
- <bd-detail :detail="goods.detail" :showTab="false"></bd-detail>
|
|
|
+ <bd-detail :detail="goods.detail" :after_detail="goods.after_detail" :goodsId="goods.id" :showTab="true"></bd-detail>
|
|
|
<!--相关推荐-->
|
|
|
<view class="recommend">
|
|
|
<view class="recommend-title dir-left-nowrap main-center">
|
| xqd
@@ -286,6 +286,20 @@
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ openPic() {
|
|
|
+ console.log(this.goods)
|
|
|
+ if (!this.goods.open_pic || typeof this.goods.open_pic != "object" || this.goods.open_pic.length == 0) {
|
|
|
+ uni.showToast({
|
|
|
+ title: "主人还没有上传开箱图片",
|
|
|
+ icon: "none"
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ // this.showOpenPic=true;
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/goods/openPic?id=" + this.goods.id
|
|
|
+ })
|
|
|
+ },
|
|
|
getMall(e) {
|
|
|
this.is_open = e.is_open;
|
|
|
},
|