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
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+11 -2
View File
@@ -1,6 +1,7 @@
page {
background: #f5f5f5;
}
.newsList .newsSwitch .van-hairline--top-bottom::after {
border: 0;
}
@@ -80,6 +81,7 @@ page {
height: 100%;
border-radius: 0.06*100rpx;
}
.goodList .item .pictrue image {
width: 100%;
height: 100%;
@@ -1181,6 +1183,7 @@ page {
margin-left: 0.16*100rpx;
margin-right: 0.16*100rpx;
}
.index .header .qr image {
width: 0.34*150rpx;
height: 0.34*150rpx;
@@ -2287,6 +2290,7 @@ flex: 0 2.4*100rpx;
position: relative;
}
.user .wrapper .nav .item text {
display: block;
@@ -4875,6 +4879,7 @@ flex: 0 2.4*100rpx;
background-color: #ffedeb;
margin-top: 0.2*100rpx;
padding: 0 0.3*100rpx;
box-sizing: border-box;
}
.product-con .notice .num {
@@ -6890,10 +6895,13 @@ flex: 0 2.4*100rpx;
.flash-sale .list .item .text .progress .piece {
position: absolute;
left: 50%;
transform: translate(-50%, -50%);
left: 0;
right: 0;
transform: translate(0, -50%);
top: 49%;
font-size: 0.22*100rpx;
word-wrap: normal;
text-align: center;
}
.flash-sale .list .item .grab {
@@ -8452,6 +8460,7 @@ flex: 0 2.4*100rpx;
width: 0;
height: 0;
overflow: hidden;
.posterCanvas {
position: absolute;
left: 0;
+7 -2
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
});
+1 -1
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>
+2 -2
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
});