diff --git a/components/mine/order-item/index.vue b/components/mine/order-item/index.vue index 7dcd6f2..895dc04 100644 --- a/components/mine/order-item/index.vue +++ b/components/mine/order-item/index.vue @@ -24,14 +24,15 @@ - + 申请退款 查看物流 确认收货 立即评价 取消支付 - 取消订单 - 立即支付 + + + 立即支付 联系官方客服 提交官方审核 diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue index 9ab07cb..e502c85 100644 --- a/pageB/sdetails/index.vue +++ b/pageB/sdetails/index.vue @@ -546,9 +546,10 @@ export default { url: '/pageC/cart/ConfirmOrder' }) } else { - this.$u.toast(res.message); + this.$refs.uToast.show({ + title: res.message, + }); this.debounce = true; - this.$u.toast(res.message); } }) }, diff --git a/pageC/cart/index.vue b/pageC/cart/index.vue index 35f328c..7775b00 100644 --- a/pageC/cart/index.vue +++ b/pageC/cart/index.vue @@ -3,7 +3,7 @@ - + {{ store.store_name }} @@ -12,7 +12,7 @@ - + {{ goods.goods_name }} @@ -31,7 +31,7 @@ - + 全选 diff --git a/pageC/components/merchant/list-item.vue b/pageC/components/merchant/list-item.vue index 1affed0..192f51b 100644 --- a/pageC/components/merchant/list-item.vue +++ b/pageC/components/merchant/list-item.vue @@ -1,6 +1,10 @@ @@ -9,11 +13,30 @@ width: 365rpx; height: 500rpx; overflow: hidden; - >image,video{ + > image { width: 100%; height: 100%; margin-bottom: 20rpx; } + .video-container { + width: 100%; + height: 100%; + margin-bottom: 20rpx; + position: relative; + .video { + width: 100%; + height: 100%; + } + .play-video { + position: absolute; + width: 100rpx; + height: 100rpx; + z-index: 19; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + } } \ No newline at end of file diff --git a/pageC/merchant/index.vue b/pageC/merchant/index.vue index 858e903..e419e37 100644 --- a/pageC/merchant/index.vue +++ b/pageC/merchant/index.vue @@ -42,11 +42,11 @@ - - + + - + @@ -149,11 +149,10 @@ export default { } }, - toDetailsPage(id) { + toDetailsPage({ id, type }) { // console.log(11); - this.$u.route('pageB/photo/index', { - id: id - }); + let src = type == 1 ? 'pageB/photo/index' : 'pageB/video/video'; + this.$u.route(src, { id: id }); }, switchCurrent(current) { this.cur = current; @@ -194,15 +193,17 @@ export default { }).then(res => { uni.stopPullDownRefresh(); if (res.errCode == 0) { - // this.articleList = res.data.list; + let articleList = res.data.list; + // articleList.unshift({}, {}, {}, {}); + // articleList.push({}, {}); if(JSON.stringify(res.data) != '[]') { - if(res.data.list.length > 0) { - this.indextop = [res.data.list[0]] + if(articleList.length > 0) { + this.indextop = [articleList[0]] // this.indextop = [res.data.list[0], res.data.list[1]]; } - if(res.data.list.length > 1) { - this.indextop.push(res.data.list[1]); - this.indexlist.push(...res.data.list.slice(2,)); + if(articleList.length > 1) { + this.indextop.push(articleList[1]); + this.indexlist.push(...articleList.slice(2,)); } } } diff --git a/pageE/order/Details.vue b/pageE/order/Details.vue index 540398d..e3bb7b9 100644 --- a/pageE/order/Details.vue +++ b/pageE/order/Details.vue @@ -67,16 +67,17 @@ 创建时间:{{ orderInfo.add_time | date}} - - + + 申请退款 查看物流 确认收货 立即评价 取消支付 - 取消订单 - 立即支付 + + + 立即支付 联系官方客服 提交官方审核