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 @@
+
+
+
+
+
+
+ {{ item.value }}
+ {{ item.title }}
+
+
+
+
+
+
+
+
+
+ 购物赠送
+ 已释放
+ 已失效
+ 冻结中
+
+
+ {{ item.create_time }}
+ 赠送豆:{{ (item.get_legumes - item.refund_get_legumes).toFixed(2) }}
+
+
+
+ +{{ item.get_integral }}
+
+
+
+
+
+
+
+
+
+
+
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