From 3315f46a507d2e42e3dfdb1f144e9e40efed6257 Mon Sep 17 00:00:00 2001 From: wangzeyan <258785420@qq.com> Date: Sun, 22 Jun 2025 14:58:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=AD=E6=B3=95=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 8 + pages/market/data/index.vue | 21 ++ pages/market/data/statistics.vue | 340 ++++++++++++++++++++++++++ pages/market/reimbursement/detail.vue | 2 +- pages/market/reimbursement/list.vue | 2 +- 5 files changed, 371 insertions(+), 2 deletions(-) create mode 100644 pages/market/data/statistics.vue diff --git a/pages.json b/pages.json index 5ef9784..604cf58 100644 --- a/pages.json +++ b/pages.json @@ -618,6 +618,14 @@ "navigationBarBackgroundColor": "#292929", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/market/data/statistics", + "style": { + "navigationBarTitleText": "市场数据统计", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } } diff --git a/pages/market/data/index.vue b/pages/market/data/index.vue index 0d79bbd..35a5299 100644 --- a/pages/market/data/index.vue +++ b/pages/market/data/index.vue @@ -4,6 +4,9 @@ 数据 + + 统计表格 + @@ -334,6 +337,13 @@ export default { this.init() }, methods: { + // 跳转到统计页面 + goToStatistics() { + uni.navigateTo({ + url: '/pages/market/data/statistics' + }); + }, + async init(){ await this.getUserInfo() await this.getPerformance() @@ -604,6 +614,7 @@ export default { justify-content: center; align-items: center; background: #292929; + position: relative; .title{ padding: 40rpx 0rpx; @@ -615,6 +626,16 @@ export default { font-size: 30rpx; color: #fff; } + + .statistics-btn { + position: absolute; + right: 20rpx; + background-color: #29D3B4; + padding: 10rpx 20rpx; + border-radius: 30rpx; + font-size: 24rpx; + color: #fff; + } } diff --git a/pages/market/data/statistics.vue b/pages/market/data/statistics.vue new file mode 100644 index 0000000..b37b0e9 --- /dev/null +++ b/pages/market/data/statistics.vue @@ -0,0 +1,340 @@ + + + + + + \ No newline at end of file diff --git a/pages/market/reimbursement/detail.vue b/pages/market/reimbursement/detail.vue index dcd28b7..62f14af 100644 --- a/pages/market/reimbursement/detail.vue +++ b/pages/market/reimbursement/detail.vue @@ -22,7 +22,7 @@ 状态 - {{ statusMap[detail.status] || detail.status }} + {{ statusMap[detail.status] || detail.status }} 创建时间 diff --git a/pages/market/reimbursement/list.vue b/pages/market/reimbursement/list.vue index bec241c..bfc9628 100644 --- a/pages/market/reimbursement/list.vue +++ b/pages/market/reimbursement/list.vue @@ -32,7 +32,7 @@ 状态: - {{ statusMap[item.status] || item.status }} + {{ statusMap[item.status] || item.status }} 创建时间: