From 50f97ef8fdd20f21ea9049e94a36d06d0cc84f56 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Mon, 25 Dec 2023 13:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E6=8A=BD=E6=88=90=E8=AE=B0=E5=BD=95=E5=88=97=E8=A1=A8=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=86=85=E5=AE=B9=E6=A0=B7=E5=BC=8F=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=EF=BC=9A=E5=88=86=E9=94=80=E5=95=86=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=86=85=E5=AE=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commissionRecord/index.vue | 27 +-- src/views/promoter/user/index.vue | 155 +++++++++--------- 2 files changed, 90 insertions(+), 92 deletions(-) diff --git a/src/views/marketing/platformCommission/commissionRecord/index.vue b/src/views/marketing/platformCommission/commissionRecord/index.vue index 4f9d431..4ba03ec 100644 --- a/src/views/marketing/platformCommission/commissionRecord/index.vue +++ b/src/views/marketing/platformCommission/commissionRecord/index.vue @@ -49,38 +49,38 @@ - 抽成金额:{{ scope.row.platform_commission_money || '0.00' }} - 抽成比例:{{ scope.row.platform_commission_rate || '0' }}% + 金额:{{ scope.row.platform_commission_money || '0.00' }} + 比例:{{ scope.row.platform_commission_rate || '0' }}% - 抽成金额:{{ scope.row.commission_platform_money || '0.00' }} - 抽成比例:{{ scope.row.commission_platform_rate || '0' }}% + 金额:{{ scope.row.commission_platform_money || '0.00' }} + 比例:{{ scope.row.commission_platform_rate || '0' }}% - 抽成金额:{{ scope.row.commission_partner_money || '0.00' }} - 抽成比例:{{ scope.row.commission_partner_rate || '0' }}% + 金额:{{ scope.row.commission_partner_money || '0.00' }} + 比例:{{ scope.row.commission_partner_rate || '0' }}% - 抽成金额:{{ scope.row.commission_merchants_money || '0.00' }} - 抽成比例:{{ scope.row.commission_merchants_rate || '0' }}% + 金额:{{ scope.row.commission_merchants_money || '0.00' }} + 比例:{{ scope.row.commission_merchants_rate || '0' }}% - 抽成金额:{{ scope.row.commission_promoter_money || '0.00' }} - 抽成比例:{{ scope.row.commission_promoter_rate || '0' }}% + 金额:{{ scope.row.commission_promoter_money || '0.00' }} + 比例:{{ scope.row.commission_promoter_rate || '0' }}% - 抽成金额:{{ scope.row.commission_integral_release_money || '0.00' }} - 抽成比例:{{ scope.row.commission_integral_release_rate || '0' }}% + 金额:{{ scope.row.commission_integral_release_money || '0.00' }} + 比例:{{ scope.row.commission_integral_release_rate || '0' }}% @@ -232,4 +232,7 @@ export default { } } } +.rate-num{ + margin-top: 10px!important; +} diff --git a/src/views/promoter/user/index.vue b/src/views/promoter/user/index.vue index 2520ae4..303a00a 100644 --- a/src/views/promoter/user/index.vue +++ b/src/views/promoter/user/index.vue @@ -29,95 +29,42 @@ - - - + + + - - + + + + + + {{ scope.row.nickname }} + Tel:{{ scope.row.phone }} + - + - 昵称:{{ scope.row.nickname }} - 电话:{{ scope.row.phone }} + 用户数量:{{scope.row.spread_count || 0}} + 订单数量:{{scope.row.spread_pay_count || 0}} + 订单金额:{{scope.row.spread_pay_price || 0}} - - - - {{scope.row.brokerage ? scope.row.brokerage.brokerage_name : ''}} + + + {{scope.row.brokerage ? scope.row.brokerage.brokerage_name : '-'}} - - - - - - - + + + + 已提现金额:{{scope.row.total_extract_price || 0}} + 未提现金额:{{scope.row.brokerage_price || 0}} + 提现次数:{{scope.row.total_extract_num || 0}} + + + 推广人 @@ -522,4 +469,52 @@ export default { .el-icon-arrow-down { font-size: 12px; } + .user-content{ + --user-content-height-: 80px; + + height: var(--user-content-height-); + width: 100%; + display: inline-flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: center; + align-items: center; + .user-avatar{ + height: var(--user-content-height-); + width: var(--user-content-height-); + display: inline-flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: center; + align-items: center; + img{ + height: 80%!important; + width: 80%!important; + border-radius: 50% !important; + } + } + .user-info{ + height: var(--user-content-height-); + width: calc(100% - var(--user-content-height-)) !important; + display: inline-flex; + flex-direction: column; + flex-wrap: nowrap; + justify-content: center; + align-items: flex-start; + .nickname{ + font-size: 15px; + font-weight: bold; + line-height: calc(var(--user-content-height- * 65%)) !important; + width: 100%; + text-align: left; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + .user-id{ + font-size: 13px; + line-height: calc(var(--user-content-height- * 35%)); + } + } + }