diff --git a/common/api/user.js b/common/api/user.js index cd3754b..4f08ebe 100644 --- a/common/api/user.js +++ b/common/api/user.js @@ -421,7 +421,7 @@ export default { couponGoodsList({ voucher_id, page, order }) { return vm.$u.post('Coupon/couponGoodsList', { page: page, - voucher_id: voucher_id, + vouchertemplate_id: voucher_id, order: order, }); }, diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue index 18e3b15..08e5986 100644 --- a/pageB/sdetails/index.vue +++ b/pageB/sdetails/index.vue @@ -129,7 +129,7 @@ - {{goodsInfo.goods_name}} + {{goodsInfo.goods_name}} ¥{{ goodsInfo.goods_price }} ¥{{ goodsInfo.pintuan_price }} ¥{{ groupbuyInfo.groupbuy_price }} @@ -1206,11 +1206,13 @@ export default { justify-content: space-between; margin-left: 27rpx; flex-direction: column; - >text:first-child{ + .goods-name { + height: 76rpx; + line-height: 38rpx; font-size: 28rpx; color: #333; } - >text:last-child{ + > text:last-child { font-size: 30rpx; color: #ff3131; } diff --git a/pageC/merchant/goods.vue b/pageC/merchant/goods.vue index 845e730..118d882 100644 --- a/pageC/merchant/goods.vue +++ b/pageC/merchant/goods.vue @@ -18,7 +18,7 @@ - + diff --git a/pageC/merchant/index.vue b/pageC/merchant/index.vue index 47dcc21..52c6ade 100644 --- a/pageC/merchant/index.vue +++ b/pageC/merchant/index.vue @@ -220,7 +220,7 @@ export default { }, setViewHeight() { const res = uni.getSystemInfoSync(); - this.scrollHeiht = res.windowHeight - (73 + 20 + 170) + 'px'; + this.scrollHeiht = res.windowHeight - res.windowWidth / 750 * (350 + 140 + 20) + 'px'; this.paddingTop = res.windowWidth / 750 * (90 + 50) + 'px'; // console.log(this.paddingTop); } @@ -240,6 +240,7 @@ export default { // min-height: 100vh; background-color: #ECECEC; padding-top: calc(350rpx - var(--window-top)); + overflow: hidden; .top { position: fixed; top: 0; @@ -312,6 +313,7 @@ export default { } } .follow { + height: 140rpx; background-color: #ffffff; width: 100%; margin-bottom: 20rpx; @@ -365,7 +367,8 @@ export default { } .main{ .video-image { - padding-bottom: 98rpx; + box-sizing: border-box; + padding-bottom: 100rpx; } .container-top { > view { @@ -381,9 +384,6 @@ export default { margin-bottom: 10rpx; } } - // > view { - // margin-top: 20rpx; - // } } .tabbar { border-top: 1rpx #DBDADA solid; diff --git a/pageE/tool/MineCoupon.vue b/pageE/tool/MineCoupon.vue index 37bb627..3d9febc 100644 --- a/pageE/tool/MineCoupon.vue +++ b/pageE/tool/MineCoupon.vue @@ -81,7 +81,7 @@ export default { // }); // } this.$u.route('pageE/useCoupon/index', { - cid: coupon.voucher_id, + cid: coupon.vouchertemplate_id, }); }, setViewHeight() { diff --git a/pageE/tool/MineHistory.vue b/pageE/tool/MineHistory.vue index b85e2f3..da74a6f 100644 --- a/pageE/tool/MineHistory.vue +++ b/pageE/tool/MineHistory.vue @@ -19,7 +19,7 @@ - + diff --git a/pageE/useCoupon/index.vue b/pageE/useCoupon/index.vue index ec59af4..979bc4d 100644 --- a/pageE/useCoupon/index.vue +++ b/pageE/useCoupon/index.vue @@ -78,10 +78,10 @@ export default { }) this.timer = true; if(res.errCode == 0) { - if(load == 'reload') this.goodsList = res.data.data; - else if(load == 'loadmore') this.goodsList.push(...res.data.data); + if(load == 'reload') this.goodsList = res.data; + else if(load == 'loadmore') this.goodsList.push(...res.data); } - return res.data.data.length; + return res.data.length; }, loadMore() { if(this.goodsList.length < this.pageSize) return false; diff --git a/pages.json b/pages.json index 7e4c0ec..51da0ec 100644 --- a/pages.json +++ b/pages.json @@ -370,7 +370,7 @@ "searchInput": { "align": "left", "borderRadius": "15px", - "placeholder": "搜索您需要的商品", + "placeholder": "搜索您需要的本店铺商品", "backgroundColor": "rgb(236,236,236)", "disabled": true }