From f43d0df1a7dd0e2db9908630a6d9dfa7b3bfd029 Mon Sep 17 00:00:00 2001
From: panliang <1163816051@qq.com>
Date: Sun, 10 Dec 2023 13:31:48 +0800
Subject: [PATCH] rank
---
.env.production | 2 +-
src/components/rank.vue | 1 +
src/pages.json | 7 +++
src/pages/index/index.vue | 64 +++++++------------
src/pages/index/welcome.vue | 2 +-
src/pages/score/cate-rank.vue | 114 ++++++++++++++++++++++++++++++++++
src/pages/score/category.vue | 12 ++--
src/pages/score/detail.vue | 2 +-
src/pages/score/list.vue | 2 +-
src/pages/score/user-rank.vue | 42 ++++---------
src/pages/user/profile.vue | 17 +++--
src/pages/user/setting.vue | 3 +
src/utils/index.js | 12 ++++
13 files changed, 196 insertions(+), 84 deletions(-)
create mode 100644 src/pages/score/cate-rank.vue
diff --git a/.env.production b/.env.production
index 5fc1cfd..43f84d1 100644
--- a/.env.production
+++ b/.env.production
@@ -1,3 +1,3 @@
ENV = 'production'
-VUE_APP_BASE_API = 'http://local.party-rank.host'
\ No newline at end of file
+VUE_APP_BASE_API = 'http://party-rank.abcdefg.fun'
\ No newline at end of file
diff --git a/src/components/rank.vue b/src/components/rank.vue
index 61365be..322cfdf 100644
--- a/src/components/rank.vue
+++ b/src/components/rank.vue
@@ -42,6 +42,7 @@
border: 1px solid #e5e5e5;
border-left: none;
border-right: none;
+ padding: 15rpx 0;
}
.table-td {
display: flex;
diff --git a/src/pages.json b/src/pages.json
index bd7700e..921fa82 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -54,6 +54,13 @@
"navigationBarTitleText" : "排行榜"
}
},
+ {
+ "path" : "pages/score/cate-rank",
+ "style" :
+ {
+ "navigationBarTitleText" : "排行榜"
+ }
+ },
{
"path" : "pages/user/profile",
"style" :
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 5188ed8..f7e12fa 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -1,28 +1,16 @@
-
+
-
+
-
+
- 共性指标
-
-
-
-
-
- 进阶指标
-
-
-
-
-
- 书记信箱
+ {{ item.title }}
@@ -48,20 +36,17 @@
+
+
\ No newline at end of file
diff --git a/src/pages/score/category.vue b/src/pages/score/category.vue
index e75d55b..153c7ea 100644
--- a/src/pages/score/category.vue
+++ b/src/pages/score/category.vue
@@ -1,7 +1,7 @@
-
+
@@ -27,14 +27,14 @@
-
+