1.修改拼单详情中出现横向滚动条的问题

2.去除秒杀详情中的海报
3.修改拼团详情点击单独购买无法跳转的问题
This commit is contained in:
Gao xiaosong
2020-05-17 00:27:49 +08:00
parent 8d036b9012
commit b21dfb22d8
6 changed files with 121 additions and 107 deletions

View File

@ -216,7 +216,11 @@ export default {
},
methods: {
openAlone: function() {
this.$yrouter.replace({ path: "/detail/" + this.storeInfo.productId });
this.$yrouter.push({
path: "/pages/shop/GoodsCon/index",
query: { id: this.$yroute.query.id }
});
// this.$yrouter.replace({ path: "/detail/" + this.storeInfo.productId });
},
//收藏商品
setCollect: function() {
@ -338,7 +342,8 @@ export default {
})
.catch(err => {
uni.showToast({
title: err.msg || err.response.data.msg|| err.response.data.message,
title:
err.msg || err.response.data.msg || err.response.data.message,
icon: "none",
duration: 2000
});

View File

@ -26,7 +26,7 @@
<view class="wrapperRush">
<view class="introduce acea-row row-between">
<view class="infor" v-text="storeInfo.title"></view>
<view class="iconfont icon-fenxiang" @click="setPosterImageStatus"></view>
<!-- <view class="iconfont icon-fenxiang" @click="setPosterImageStatus"></view> -->
</view>
<view class="label acea-row row-middle">
<view class="stock" v-text="'库存:' + storeInfo.stock + '件'"></view>

View File

@ -367,9 +367,9 @@ export default {
that.DefaultSelect();
that.getCartCount();
})
.catch(res => {
.catch(err => {
uni.showToast({
title: res.msg,
title: err.msg || err.response.data.msg|| err.response.data.message,
icon: "none",
duration: 2000
});