Browse Source

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

2.去除秒杀详情中的海报
3.修改拼团详情点击单独购买无法跳转的问题
master
Gao xiaosong 5 years ago
parent
commit
b21dfb22d8
  1. 2
      assets/css/style.css
  2. 2
      assets/css/style.css.map
  3. 13
      assets/css/style.less
  4. 9
      pages/activity/GroupDetails/index.vue
  5. 2
      pages/activity/SeckillDetails/index.vue
  6. 4
      pages/shop/GoodsCon/index.vue

2
assets/css/style.css

File diff suppressed because one or more lines are too long

2
assets/css/style.css.map

File diff suppressed because one or more lines are too long

13
assets/css/style.less

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

9
pages/activity/GroupDetails/index.vue

@ -216,7 +216,11 @@ export default {
}, },
methods: { methods: {
openAlone: function() { 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() { setCollect: function() {
@ -338,7 +342,8 @@ export default {
}) })
.catch(err => { .catch(err => {
uni.showToast({ 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", icon: "none",
duration: 2000 duration: 2000
}); });

2
pages/activity/SeckillDetails/index.vue

@ -26,7 +26,7 @@
<view class="wrapperRush"> <view class="wrapperRush">
<view class="introduce acea-row row-between"> <view class="introduce acea-row row-between">
<view class="infor" v-text="storeInfo.title"></view> <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>
<view class="label acea-row row-middle"> <view class="label acea-row row-middle">
<view class="stock" v-text="'库存:' + storeInfo.stock + '件'"></view> <view class="stock" v-text="'库存:' + storeInfo.stock + '件'"></view>

4
pages/shop/GoodsCon/index.vue

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

Loading…
Cancel
Save