From 5b8b91356f25d7ac5d9083c938cd7c6cccb3ae07 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 5 Sep 2023 00:11:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BD=A3=EF=BC=9Apromoter-rank=20?= =?UTF-8?q?=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/member/brokerage.js | 5 + pages/users/promoter_rank/index.vue | 157 ++++++++++++++-------------- 2 files changed, 82 insertions(+), 80 deletions(-) diff --git a/api/member/brokerage.js b/api/member/brokerage.js index 1abbf1f2..bb056e08 100644 --- a/api/member/brokerage.js +++ b/api/member/brokerage.js @@ -5,6 +5,11 @@ export function getBrokerageUserSummary() { return request.get('app-api/member/brokerage-user/get-summary'); } +// 获得分销用户排行分页 +export function getBrokerageUserRankPage(data) { + return request.get('app-api/member/brokerage-user/rank-page', data); +} + // 获得分销提现分页记录 export function getBrokerageWithdrawPage(data) { return request.get('app-api/member/brokerage-withdraw/page', data); diff --git a/pages/users/promoter_rank/index.vue b/pages/users/promoter_rank/index.vue index 890608e1..9a91034f 100644 --- a/pages/users/promoter_rank/index.vue +++ b/pages/users/promoter_rank/index.vue @@ -4,75 +4,63 @@ - + {{ item }} + - + {{Two.nickname}} - {{Two.spreadCount}}人 + {{ Two.brokerageUserCount }}人 - + {{One.nickname}} - {{One.spreadCount}}人 + {{ One.brokerageUserCount }}人 - + {{Three.nickname}} - {{Three.spreadCount}}人 + {{ Three.brokerageUserCount }}人 + - {{index+4}} + {{ index + 4 }} {{item.nickname}} - {{item.spreadCount}}人 + {{ item.brokerageUserCount }}人 - - - -