From 14f10de7144e4c95999b40d1b86c8c47af37f92e Mon Sep 17 00:00:00 2001
From: yuepenglong <1547476325@qq.com>
Date: Thu, 27 Mar 2025 15:32:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E9=80=89=E4=B8=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages.json | 8 +-
src/pages/myElection/index.vue | 312 ++++++++++++++++++++++++++++++++-
2 files changed, 313 insertions(+), 7 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index c982b41..43a2c1e 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -34,7 +34,7 @@
"style": {
"navigationBarTitleText": "我的选举",
"navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
+ "enablePullDownRefresh": true
}
},
{
@@ -65,16 +65,16 @@
}
],
"globalStyle": {
- "navigationBarTextStyle": "black",
+ "navigationBarTextStyle": "white",
"navigationBarTitleText": "uni-app",
- "navigationBarBackgroundColor": "#F8F8F8",
+ "navigationBarBackgroundColor": "#2563EB",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#9CA3AF",
"selectedColor": "#2563EB",
"borderStyle": "white",
- "backgroundColor": "#F9FAFB",
+ "backgroundColor": "#FFFFFF",
"list": [
{
"pagePath": "pages/votingElection/index",
diff --git a/src/pages/myElection/index.vue b/src/pages/myElection/index.vue
index 9fa6173..5a7b9ad 100644
--- a/src/pages/myElection/index.vue
+++ b/src/pages/myElection/index.vue
@@ -1,7 +1,313 @@
- 我的选举
+
+
+
+
+ {{ item.title }}
+
+ {{item.type}}
+
+
+
+
+
+
+
+
+
+
+ {{ candidate.name }}
+ {{ candidate.college }}
+
+
+
+ 我的选择:
+ {{ choiceText(candidate.choice) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+ /* 优化候选人项间距 */
+ .candidate-item:last-child {
+ border-bottom: none;
+ }
+
\ No newline at end of file