From 0b7cd120a0c49ca3be7b4f730c68399b2d68d8d0 Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Mon, 16 Jan 2023 15:04:20 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=88=86=E9=94=80?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=AE=9E=E6=97=B6=E5=8A=A8=E6=80=81=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commission/components/commission-log.vue | 59 ++++++++++--------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/pages/commission/components/commission-log.vue b/pages/commission/components/commission-log.vue index 125712e1..15b83853 100644 --- a/pages/commission/components/commission-log.vue +++ b/pages/commission/components/commission-log.vue @@ -14,38 +14,41 @@ class="scroll-box log-scroll" scroll-with-animation="true" > - - - - - - - + + + + + + + + + + {{ item.remark }} - {{ item.remark }} + {{ dayjs(item.create_time).fromNow() }} - {{ dayjs(item.create_time).fromNow() }} + Date: Mon, 16 Jan 2023 15:11:49 +0800 Subject: [PATCH 2/5] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E3=80=81=E4=BD=99=E9=A2=9D=E3=80=81=E4=BD=A3=E9=87=91=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E7=AD=9B=E9=80=89=E6=97=B6=E9=97=B4=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/wallet/commission.vue | 2 +- pages/user/wallet/money.vue | 2 +- pages/user/wallet/score.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/user/wallet/commission.vue b/pages/user/wallet/commission.vue index 43b2579c..3e78a1ce 100644 --- a/pages/user/wallet/commission.vue +++ b/pages/user/wallet/commission.vue @@ -218,7 +218,7 @@ function onChangeTime(e) { state.date[0] = e[0]; state.date[1] = e[e.length - 1]; - + state.pagination = pagination; getLogList(); } diff --git a/pages/user/wallet/money.vue b/pages/user/wallet/money.vue index 476a7f67..bfec2386 100644 --- a/pages/user/wallet/money.vue +++ b/pages/user/wallet/money.vue @@ -161,7 +161,7 @@ function onChangeTime(e) { state.date[0] = e[0]; state.date[1] = e[e.length - 1]; - + state.pagination = pagination; getLogList(); } diff --git a/pages/user/wallet/score.vue b/pages/user/wallet/score.vue index 38ddd3df..7c0dbab6 100644 --- a/pages/user/wallet/score.vue +++ b/pages/user/wallet/score.vue @@ -163,7 +163,7 @@ function onChangeTime(e) { state.date[0] = e[0]; state.date[1] = e[e.length - 1]; - + state.pagination = pagination; getLogList(); } From 5fa43dfb5bffd03fe9383421978a3d5df855cc27 Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Tue, 17 Jan 2023 15:31:19 +0800 Subject: [PATCH 3/5] =?UTF-8?q?fix:=20=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=88=A4=E6=96=AD=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/detail.vue | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/pages/order/detail.vue b/pages/order/detail.vue index f462baf8..8f2e1599 100644 --- a/pages/order/detail.vue +++ b/pages/order/detail.vue @@ -213,6 +213,20 @@ @tap="onComment(state.orderInfo.order_sn)" >评价晒单 + + @@ -224,6 +238,7 @@ import { computed, reactive } from 'vue'; const statusBarHeight = sheep.$platform.device.statusBarHeight * 2; + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/order/order_bg.png'); const state = reactive({ orderInfo: {}, }); @@ -298,6 +313,13 @@ } } + // 查看发票 + function onOrderInvoice(invoiceId) { + sheep.$router.go('/pages/order/invoice', { + invoiceId, + }); + } + // 评价 function onComment(orderSN) { uni.$once('SELECT_INVOICE', (e) => { @@ -337,7 +359,7 @@ .state-box { color: rgba(#fff, 0.9); width: 100%; - background: v-bind("sheep.$url.css('/static/img/shop/order/order_bg.png')") no-repeat, + background: v-bind(headerBg) no-repeat, linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); background-size: 750rpx 100%; box-sizing: border-box; From 100dc94f53683a9c4a31e9acccdf83cbb67fc993 Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Tue, 17 Jan 2023 15:34:16 +0800 Subject: [PATCH 4/5] =?UTF-8?q?fix:=E5=85=BC=E5=AE=B9HbuilderX=203.6.15?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/groupon/detail.vue | 3 +- pages/activity/groupon/list.vue | 3 +- pages/activity/seckill/list.vue | 3 +- pages/app/sign.vue | 4 ++- .../commission/components/commission-info.vue | 3 +- pages/commission/order.vue | 3 +- pages/commission/team.vue | 3 +- .../components/detail/detail-activity-tip.vue | 8 +++-- pages/goods/groupon.vue | 23 +++++++++---- pages/goods/score.vue | 14 ++++---- pages/goods/seckill.vue | 22 ++++++++----- pages/order/aftersale/detail.vue | 3 +- pages/order/invoice.vue | 3 +- pages/pay/recharge.vue | 4 +-- pages/pay/withdraw.vue | 4 +-- pages/user/wallet/commission.vue | 4 ++- pages/user/wallet/money.vue | 5 ++- sheep/components/s-empty/s-empty.vue | 4 +-- .../s-select-groupon-sku.vue | 3 +- sheep/ui/su-coupon/su-coupon.vue | 32 +++++++++---------- sheep/ui/su-popup/su-popup.vue | 3 +- 21 files changed, 96 insertions(+), 58 deletions(-) diff --git a/pages/activity/groupon/detail.vue b/pages/activity/groupon/detail.vue index 7c90c0c1..3f6cc77e 100644 --- a/pages/activity/groupon/detail.vue +++ b/pages/activity/groupon/detail.vue @@ -205,6 +205,7 @@ import { showShareModal } from '@/sheep/hooks/useModal'; import { isEmpty } from 'lodash'; + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/user/withdraw_bg.png'); const statusBarHeight = sheep.$platform.device.statusBarHeight * 2; const state = reactive({ data: {}, @@ -313,7 +314,7 @@ .recharge-box { position: relative; margin-bottom: 120rpx; - background: v-bind("sheep.$url.css('/static/img/shop/user/withdraw_bg.png')") center/750rpx 100% + background: v-bind(headerBg) center/750rpx 100% no-repeat, linear-gradient(115deg, #f44739 0%, #ff6600 100%); border-radius: 0 0 5% 5%; diff --git a/pages/activity/groupon/list.vue b/pages/activity/groupon/list.vue index 145ae90a..d0052a15 100644 --- a/pages/activity/groupon/list.vue +++ b/pages/activity/groupon/list.vue @@ -73,6 +73,7 @@ const statusBarHeight = sheep.$platform.device.statusBarHeight * 2; const pageHeight = (safeArea.height + safeAreaInsets.bottom) * 2 + statusBarHeight - sys_navBar - 350; + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/goods/groupon-header.png'); const state = reactive({ activityId: 0, @@ -147,7 +148,7 @@ width: 100%; height: 458rpx; margin-top: -88rpx; - background: v-bind("sheep.$url.css('/static/img/shop/goods/groupon-header.png')") no-repeat; + background: v-bind(headerBg) no-repeat; background-size: 100% 100%; } .list-content { diff --git a/pages/activity/seckill/list.vue b/pages/activity/seckill/list.vue index 854817ae..82ec97ad 100644 --- a/pages/activity/seckill/list.vue +++ b/pages/activity/seckill/list.vue @@ -73,6 +73,7 @@ const statusBarHeight = sheep.$platform.device.statusBarHeight * 2; const pageHeight = (safeArea.height + safeAreaInsets.bottom) * 2 + statusBarHeight - sys_navBar - 350; + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/goods/seckill-header.png'); const state = reactive({ activityId: 0, @@ -146,7 +147,7 @@ .page-bg { width: 100%; height: 458rpx; - background: v-bind("sheep.$url.css('/static/img/shop/goods/seckill-header.png')") no-repeat; + background: v-bind(headerBg) no-repeat; background-size: 100% 100%; } .list-content { diff --git a/pages/app/sign.vue b/pages/app/sign.vue index a2701cb7..20559713 100644 --- a/pages/app/sign.vue +++ b/pages/app/sign.vue @@ -158,6 +158,8 @@ import { onLoad, onReady } from '@dcloudio/uni-app'; import { computed, reactive } from 'vue'; + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/app/sign.png'); + const state = reactive({ data: { days: [], //日历 @@ -480,7 +482,7 @@ width: 520rpx; height: 344rpx; background-size: 100% 100%; - background-image: v-bind('sheep.$url.css("/static/img/shop/app/sign.png")'); + background-image: v-bind(headerBg); background-repeat: no-repeat; border-radius: 0 0 10rpx 10rpx; diff --git a/pages/commission/components/commission-info.vue b/pages/commission/components/commission-info.vue index fca50ef1..b1f78f91 100644 --- a/pages/commission/components/commission-info.vue +++ b/pages/commission/components/commission-info.vue @@ -35,6 +35,7 @@ const userInfo = computed(() => sheep.$store('user').userInfo); const agentInfo = computed(() => sheep.$store('user').agentInfo); + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/commission/background.png'); const state = reactive({ showMoney: false, @@ -48,7 +49,7 @@ height: 192rpx; margin: -88rpx 20rpx 0 20rpx; padding-top: 88rpx; - background: v-bind("sheep.$url.css('/static/img/shop/commission/background.png')") no-repeat; + background: v-bind(headerBg) no-repeat; background-size: 100% 100%; .head-img-box { diff --git a/pages/commission/order.vue b/pages/commission/order.vue index 40f02a80..cb6b5319 100644 --- a/pages/commission/order.vue +++ b/pages/commission/order.vue @@ -149,6 +149,7 @@ import { onPageScroll } from '@dcloudio/uni-app'; const statusBarHeight = sheep.$platform.device.statusBarHeight * 2; + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/user/withdraw_bg.png'); onPageScroll((e) => { if (e.scrollTop > 100) { state.scrollTop = false; @@ -256,7 +257,7 @@ box-sizing: border-box; padding: 0 20rpx 20rpx 20rpx; width: 750rpx; - background: v-bind("sheep.$url.css('/static/img/shop/user/withdraw_bg.png')") no-repeat, + background: v-bind(headerBg) no-repeat, linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); background-size: 750rpx 100%; // 团队信息总览 diff --git a/pages/commission/team.vue b/pages/commission/team.vue index c7748c13..99b8b8d4 100644 --- a/pages/commission/team.vue +++ b/pages/commission/team.vue @@ -98,6 +98,7 @@ const statusBarHeight = sheep.$platform.device.statusBarHeight * 2; const agentInfo = computed(() => sheep.$store('user').agentInfo); const userInfo = computed(() => sheep.$store('user').userInfo); + const headerBg = sheep.$url.css('/assets/addons/shopro/frontend_img/user/withdraw_bg.png'); onPageScroll((e) => { if (e.scrollTop > 100) { @@ -172,7 +173,7 @@ width: 750rpx; z-index: 3; position: relative; - background: v-bind("sheep.$url.css('/static/img/shop/user/withdraw_bg.png')") no-repeat, + background: v-bind(headerBg) no-repeat, linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)); background-size: 750rpx 100%; // 团队信息总览 diff --git a/pages/goods/components/detail/detail-activity-tip.vue b/pages/goods/components/detail/detail-activity-tip.vue index 5f0ca1ac..15b3072f 100644 --- a/pages/goods/components/detail/detail-activity-tip.vue +++ b/pages/goods/components/detail/detail-activity-tip.vue @@ -32,6 +32,10 @@