From fe4b7f6e016fa3095818fc7b90d8a8a7e1fcde41 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Thu, 4 Jan 2024 16:10:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E8=B1=86=E8=B1=86?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=98=8E=E7=BB=86=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/platformCommission.js | 15 ++ pages.json | 6 + .../integralRecord/index.vue | 233 ++++++++++++++++++ pages/user/index.vue | 3 +- 4 files changed, 256 insertions(+), 1 deletion(-) create mode 100644 api/platformCommission.js create mode 100644 pages/store/platformCommission/integralRecord/index.vue diff --git a/api/platformCommission.js b/api/platformCommission.js new file mode 100644 index 0000000..48ddadc --- /dev/null +++ b/api/platformCommission.js @@ -0,0 +1,15 @@ +import request from "@/utils/request.js"; +// 获取统计 +export function getLegumesStatistics(){ + return request.get('platformCommission/statistics'); +} +// 获取列表 +export function getLegumesLog(data) { + return request.get('platformCommission/record_list',data); +} + + + + + + diff --git a/pages.json b/pages.json index dd7897c..0effc20 100644 --- a/pages.json +++ b/pages.json @@ -588,6 +588,12 @@ "style": { "navigationBarTitleText": "店铺资质信息" } + }, + { + "path": "platformCommission/integralRecord/index", + "style": { + "navigationBarTitleText": "积分明细" + } } ] }, diff --git a/pages/store/platformCommission/integralRecord/index.vue b/pages/store/platformCommission/integralRecord/index.vue new file mode 100644 index 0000000..f2af69b --- /dev/null +++ b/pages/store/platformCommission/integralRecord/index.vue @@ -0,0 +1,233 @@ + + + + + diff --git a/pages/user/index.vue b/pages/user/index.vue index 21f6d57..18e2858 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -72,7 +72,7 @@ {{userInfo.total_visit_product || 0}} 浏览记录 - + {{userInfo.legumes_integral || 0}} 可用积分 @@ -574,6 +574,7 @@ }) }, goMenuPage(url) { + console.log(url) if (this.isLogin) { uni.navigateTo({ url