From 12839eee8d3cd52d72aa47fbe76e5edc2628476d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 8 Jul 2022 11:12:13 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=A7=92=E6=9D=80?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E5=8F=AF=E8=83=BD=E5=9C=A8=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/pages/Index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buyer/src/pages/Index.vue b/buyer/src/pages/Index.vue index 7c1244c4..59241c85 100644 --- a/buyer/src/pages/Index.vue +++ b/buyer/src/pages/Index.vue @@ -52,7 +52,7 @@ export default { methods: { getIndexData () { // 获取首页装修数据 - indexData({ clientType: 'PC' }).then((res) => { + indexData({ clientType: 'PC' }).then(async (res) => { if (res.success) { let dataJson = JSON.parse(res.result.pageData); // 秒杀活动不是装修的数据,需要调用接口判断是否有秒杀商品 @@ -65,7 +65,7 @@ export default { this.carouselLarge = true this.carouselOpacity = true } else if (type === 'seckill') { - let seckill = this.getListByDay() + let seckill = await this.getListByDay() dataJson.list[i].options.list = seckill } } From 7874931b1fd46d96b521e4e198d1a8e35cbe2d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 8 Jul 2022 11:48:12 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9win=E4=B8=8A=E5=95=86?= =?UTF-8?q?=E5=93=81=E8=AF=A6=E6=83=85=E5=B1=95=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/components/goodsDetail/ShowGoodsDetail.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue index dd8f7ce2..c0ad6099 100644 --- a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue +++ b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue @@ -225,7 +225,6 @@ export default { width: 1200px; margin: 15px auto; display: flex; - overflow: scroll; overflow-x: hidden; flex-direction: row; @@ -310,6 +309,9 @@ export default { .item-intro-img { width: 100%; min-height: 300px; + /deep/ img{ + margin:0 auto; + } } .item-intro-img img{ max-width: 1000px; From f3ef286aa72768092a89b317c452cd090f336eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 8 Jul 2022 14:48:23 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=94=80?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/distribution/distributionOrder.vue | 26 +++------- .../views/distribution/distributionOrder.vue | 50 +++++-------------- 2 files changed, 19 insertions(+), 57 deletions(-) diff --git a/manager/src/views/distribution/distributionOrder.vue b/manager/src/views/distribution/distributionOrder.vue index 058d6620..7e6fe9ab 100644 --- a/manager/src/views/distribution/distributionOrder.vue +++ b/manager/src/views/distribution/distributionOrder.vue @@ -102,19 +102,7 @@ slot: 'goodsMsg', minWidth: 150 }, - { - title: "退款金额", - key: "returnMoney", - minWidth:80, - sortable: false, - render: (h, params) => { - if(params.row.sellBackRebate == null){ - return h("div", this.$options.filters.unitPrice(0, '¥')); - }else{ - return h("div", this.$options.filters.unitPrice(params.row.sellBackRebate, '¥')); - } - } - }, + { title: "分销商", key: "distributionName", @@ -134,7 +122,7 @@ }, { title: "佣金金额", - key: "rebateGrade", + key: "rebate", minWidth:80, sortable: false, render: (h, params) => { @@ -237,11 +225,11 @@ }, filterStatusColor (status) { // 状态tag标签颜色 const arr = [ - {status: 'WAIT_BILL', color: 'magenta'}, - {status: 'WAIT_CASH', color: 'warning'}, - {status: 'COMPLETE_CASH', color: 'success'}, - {status: 'CANCEL', color: 'default'}, - {status: 'REFUND', color: 'error'}, + {status: 'WAIT_BILL', color: 'blue'}, + {status: 'WAIT_CASH', color: 'orange'}, + {status: 'COMPLETE_CASH', color: 'green'}, + {status: 'CANCEL', color: 'red'}, + {status: 'REFUND', color: 'magenta'}, ] for (let i=0;i { - if (params.row.orderPrice == null) { - return h("div", this.$options.filters.unitPrice(0, "¥")); - } else { - return h( - "div", - this.$options.filters.unitPrice(params.row.orderPrice, "¥") - ); - } - }, - }, - { - title: "退款金额", - key: "returnMoney", - width: 130, - sortable: false, - render: (h, params) => { - if (params.row.orderPrice == null) { - return h("div", this.$options.filters.unitPrice(0, "¥")); - } else { - return h( - "div", - this.$options.filters.unitPrice(params.row.returnMoney, "¥") - ); - } - }, - }, + { title: "商品名称", key: "goodsName", @@ -94,27 +63,32 @@ export default { sortable: false, render: (h, params) => { if (params.row.distributionOrderStatus == "COMPLETE_CASH") { - return h("div", "提现完成"); + return h("Tag", { props: { color: "green" } },"提现完成"); } else if (params.row.distributionOrderStatus == "WAIT_BILL") { - return h("div", "待结算"); + return h("Tag", { props: { color: "blue" } } ,"待结算"); } else if (params.row.distributionOrderStatus == "WAIT_CASH") { - return h("div", "待提现"); + return h("Tag", { props: { color: "orange" } }, "待提现"); + } else if (params.row.distributionOrderStatus == "CANCEL") { + return h("Tag", { props: { color: "red" } }, "订单已取消"); + }else if (params.row.distributionOrderStatus == "REFUND") { + return h("Tag", { props: { color: "magenta" } }, "退款"); } + }, }, { title: "佣金金额", - key: "rebateGrade", + key: "rebate", width: 120, sortable: false, render: (h, params) => { - if (params.row.rebateGrade == null) { + if (params.row.rebate == null) { return h("div", this.$options.filters.unitPrice(0, "¥")); } else { return h( "div", - this.$options.filters.unitPrice(params.row.rebateGrade, "¥") + this.$options.filters.unitPrice(params.row.rebate, "¥") ); } }, From 954cd1cda94d18a105dc68d9115cd97d6fce52e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 8 Jul 2022 18:52:03 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=94=80?= =?UTF-8?q?=E4=B8=AD=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/home/memberCenter/Distribution.vue | 660 +++++++++++------- .../views/distribution/distributionOrder.vue | 6 + 2 files changed, 403 insertions(+), 263 deletions(-) diff --git a/buyer/src/pages/home/memberCenter/Distribution.vue b/buyer/src/pages/home/memberCenter/Distribution.vue index 279b28a3..60c6fa55 100644 --- a/buyer/src/pages/home/memberCenter/Distribution.vue +++ b/buyer/src/pages/home/memberCenter/Distribution.vue @@ -1,190 +1,293 @@ - diff --git a/seller/src/views/distribution/distributionOrder.vue b/seller/src/views/distribution/distributionOrder.vue index 6a531536..694358d9 100644 --- a/seller/src/views/distribution/distributionOrder.vue +++ b/seller/src/views/distribution/distributionOrder.vue @@ -99,6 +99,12 @@ export default { width: 180, sortable: false, }, + { + title: "解冻日期(T+1)", + key: "settleCycle", + width: 180, + sortable: false, + }, ], data: [], // 表单数据 total: 0, // 表单数据总数 From 34788d800eeb3db8e261ee4941b8b2190bacf471 Mon Sep 17 00:00:00 2001 From: Chopper711 <1814994716@qq.com> Date: Wed, 13 Jul 2022 01:15:42 +0000 Subject: [PATCH 5/7] =?UTF-8?q?=E8=B6=B3=E8=BF=B9=E6=9C=AA=E8=83=BD?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/pages/home/userCenter/MyTracks.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buyer/src/pages/home/userCenter/MyTracks.vue b/buyer/src/pages/home/userCenter/MyTracks.vue index b3cbb97c..48ee74ea 100644 --- a/buyer/src/pages/home/userCenter/MyTracks.vue +++ b/buyer/src/pages/home/userCenter/MyTracks.vue @@ -112,7 +112,7 @@ export default { tracksList(this.params).then((res) => { this.spinShow = false; if (res.success && res.result) { - this.list = res.result; + this.list = res.result.records; } else { this.list = []; } From eeadfc1db97b50a98677c79252897f397f3f70d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Wed, 13 Jul 2022 09:37:59 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E5=85=AC=E5=91=8A=E6=A8=AA=E7=BA=B5=E5=90=91=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E6=88=91=E7=9A=84=E8=B6=B3=E8=BF=B9=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E7=A7=92=E6=9D=80=E6=B4=BB=E5=8A=A8=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../indexDecorate/modelList/Seckill.vue | 2 +- buyer/src/pages/home/userCenter/MyTracks.vue | 4 +- .../views/lili-floor-renovation/wap/config.js | 1 + .../lili-floor-renovation/wap/decorate.vue | 45 ++++++++++++++++--- 4 files changed, 42 insertions(+), 10 deletions(-) diff --git a/buyer/src/components/indexDecorate/modelList/Seckill.vue b/buyer/src/components/indexDecorate/modelList/Seckill.vue index ea6c5da8..6b1be0bd 100644 --- a/buyer/src/components/indexDecorate/modelList/Seckill.vue +++ b/buyer/src/components/indexDecorate/modelList/Seckill.vue @@ -1,5 +1,5 @@