Pārlūkot izejas kodu

refactor: 统一项目UI风格,调整暗色主题为亮色主题

1.  替换全局暗色背景为白色,调整文字颜色为深色系适配亮色模式
2.  统一图表tooltip和坐标轴样式,补充缺失的图表配置
3.  调整部门选择器、个人档案等组件的样式适配新主题
4.  为DailySeizureChart新增自定义标题props,适配多页面使用场景
huoyi 1 nedēļu atpakaļ
vecāks
revīzija
a51cee23a3

+ 4 - 0
src/pages/components/AreaDistribution.vue

@@ -46,6 +46,10 @@ export default {
46 46
       const option = {
47 47
         responsive: true,
48 48
         maintainAspectRatio: false,
49
+        tooltip: {
50
+          trigger: 'axis',
51
+          axisPointer: { type: 'shadow' }
52
+        },
49 53
         grid: {
50 54
           left: '15%',
51 55
           right: '5%',

+ 2 - 2
src/pages/components/AttendanceStatus.vue

@@ -39,13 +39,13 @@ export default {
39 39
   .attendance-number {
40 40
     font-size: 48rpx;
41 41
     font-weight: bold;
42
-    color: rgba(255, 255, 255, 0.95);
42
+    color: black;
43 43
   }
44 44
   
45 45
   .attendance-label {
46 46
     margin-top: 8rpx;
47 47
     font-size: 20rpx;
48
-    color: rgba(255, 255, 255, 0.5);
48
+    color: black;
49 49
     line-height: 1.4;
50 50
   }
51 51
 }

+ 16 - 4
src/pages/components/DailySeizureChart.vue

@@ -5,7 +5,7 @@
5 5
       <div class="chart-container" ref="totalChart"></div>
6 6
     </div>
7 7
     <div class="chart-section">
8
-      <div class="sub-title">部门对比</div>
8
+      <div class="sub-title">{{title}}</div>
9 9
       <div class="chart-container" ref="deptChart"></div>
10 10
     </div>
11 11
   </div>
@@ -17,6 +17,10 @@ import * as echarts from 'echarts'
17 17
 export default {
18 18
   name: 'DailySeizureChart',
19 19
   props: {
20
+    title: {
21
+      type: String,
22
+      default: '部门对比'
23
+    },
20 24
     chartsData: {
21 25
       type: Object,
22 26
       default: () => ({
@@ -73,6 +77,10 @@ export default {
73 77
       const option = {
74 78
         responsive: true,
75 79
         maintainAspectRatio: false,
80
+        tooltip: {
81
+          trigger: 'axis',
82
+          axisPointer: { type: 'shadow' }
83
+        },
76 84
         grid: {
77 85
           left: '10%',
78 86
           right: '5%',
@@ -152,10 +160,14 @@ export default {
152 160
       const option = {
153 161
         responsive: true,
154 162
         maintainAspectRatio: false,
163
+        tooltip: {
164
+          trigger: 'axis',
165
+          axisPointer: { type: 'shadow' }
166
+        },
155 167
         legend: {
156 168
           data: (this.chartsData.dept.deptData || []).map(d => d.name),
157 169
           textStyle: {
158
-            color: 'rgba(255, 255, 255, 0.5)',
170
+            color: '#333',
159 171
             fontSize: 9
160 172
           },
161 173
           top: 0
@@ -175,7 +187,7 @@ export default {
175 187
             }
176 188
           },
177 189
           axisLabel: {
178
-            color: 'rgba(255, 255, 255, 0.5)',
190
+            color: '#333',
179 191
             fontSize: 10
180 192
           }
181 193
         },
@@ -193,7 +205,7 @@ export default {
193 205
             }
194 206
           },
195 207
           axisLabel: {
196
-            color: 'rgba(255, 255, 255, 0.5)',
208
+            color: '#333',
197 209
             fontSize: 10
198 210
           }
199 211
         },

+ 6 - 6
src/pages/components/DeptSelector.vue

@@ -99,7 +99,7 @@ export default {
99 99
 
100 100
 <style lang="scss" scoped>
101 101
 .dept-picker {
102
-    background: #1E1B4B;
102
+    background: #fff;
103 103
     display: flex;
104 104
     flex-direction: column;
105 105
     border-radius: 16rpx 16rpx 0 0;
@@ -109,7 +109,7 @@ export default {
109 109
 
110 110
 .picker-header {
111 111
     padding: 24rpx 32rpx;
112
-    border-bottom: 1rpx solid rgba(255, 255, 255, 0.1);
112
+    border-bottom: 1rpx solid #eee;
113 113
     display: flex;
114 114
     justify-content: center;
115 115
     flex-shrink: 0;
@@ -118,7 +118,7 @@ export default {
118 118
 .picker-title {
119 119
     font-size: 32rpx;
120 120
     font-weight: 600;
121
-    color: #fff;
121
+    color: #333;
122 122
 }
123 123
 
124 124
 .search-box {
@@ -138,12 +138,12 @@ export default {
138 138
     align-items: center;
139 139
     justify-content: space-between;
140 140
     padding: 24rpx 0;
141
-    border-bottom: 1rpx solid rgba(255, 255, 255, 0.08);
141
+    border-bottom: 1rpx solid #f0f0f0;
142 142
 }
143 143
 
144 144
 .dept-item-name {
145 145
     font-size: 28rpx;
146
-    color: rgba(255, 255, 255, 0.9);
146
+    color: #333;
147 147
 }
148 148
 
149 149
 .empty-state,
@@ -152,7 +152,7 @@ export default {
152 152
     display: flex;
153 153
     justify-content: center;
154 154
     align-items: center;
155
-    color: rgba(255, 255, 255, 0.4);
155
+    color: #999;
156 156
     font-size: 24rpx;
157 157
 }
158 158
 </style>

+ 2 - 2
src/pages/components/DutyInfo.vue

@@ -38,12 +38,12 @@ export default {
38 38
   
39 39
   .duty-label {
40 40
     font-size: 24rpx;
41
-    color: rgba(255, 255, 255, 0.5);
41
+    color: black;
42 42
   }
43 43
   
44 44
   .duty-value {
45 45
     font-size: 24rpx;
46
-    color: rgba(255, 255, 255, 0.9);
46
+    color: black;
47 47
   }
48 48
 }
49 49
 </style>

+ 1 - 3
src/pages/components/InterceptionDistribution.vue

@@ -105,9 +105,7 @@ export default {
105 105
                 ],
106 106
                 tooltip: {
107 107
                     trigger: 'axis',
108
-                    backgroundColor: 'rgba(13,80,122,0.95)',
109
-                    borderColor: '#70CFE7',
110
-                    textStyle: { color: '#fff' }
108
+                   axisPointer: { type: 'shadow' }
111 109
                 }
112 110
             }
113 111
             this.chart.setOption(option)

+ 4 - 0
src/pages/components/ItemDistribution.vue

@@ -53,6 +53,10 @@ export default {
53 53
       const option = {
54 54
         responsive: true,
55 55
         maintainAspectRatio: false,
56
+        tooltip: {
57
+          trigger: 'item',
58
+          formatter: '{b}: {c} ({d}%)'
59
+        },
56 60
         series: [{
57 61
           type: 'pie',
58 62
           radius: ['50%', '70%'],

+ 14 - 2
src/pages/components/MemberBasicDistribution.vue

@@ -71,6 +71,10 @@ export default {
71 71
       const option = {
72 72
         responsive: true,
73 73
         maintainAspectRatio: false,
74
+        tooltip: {
75
+          trigger: 'item',
76
+          formatter: '{b}: {c} ({d}%)'
77
+        },
74 78
         series: [{
75 79
           type: 'pie',
76 80
           radius: ['40%', '60%'],
@@ -100,6 +104,10 @@ export default {
100 104
       const option = {
101 105
         responsive: true,
102 106
         maintainAspectRatio: false,
107
+        tooltip: {
108
+          trigger: 'item',
109
+          formatter: '{b}: {c} ({d}%)'
110
+        },
103 111
         series: [{
104 112
           type: 'pie',
105 113
           radius: ['40%', '60%'],
@@ -115,7 +123,7 @@ export default {
115 123
           },
116 124
           label: {
117 125
             show: true,
118
-            color: 'rgba(255, 255, 255, 0.7)',
126
+            color: '#333',
119 127
             fontSize: 10,
120 128
             formatter: '{b}\n{d}%'
121 129
           }
@@ -129,6 +137,10 @@ export default {
129 137
       const option = {
130 138
         responsive: true,
131 139
         maintainAspectRatio: false,
140
+        tooltip: {
141
+          trigger: 'item',
142
+          formatter: '{b}: {c} ({d}%)'
143
+        },
132 144
         series: [{
133 145
           type: 'pie',
134 146
           radius: ['40%', '60%'],
@@ -144,7 +156,7 @@ export default {
144 156
           },
145 157
           label: {
146 158
             show: true,
147
-            color: 'rgba(255, 255, 255, 0.7)',
159
+            color: '#333',
148 160
             fontSize: 10,
149 161
             formatter: '{b}\n{d}%'
150 162
           }

+ 21 - 9
src/pages/components/MemberPositionDistribution.vue

@@ -69,6 +69,10 @@ export default {
69 69
       const option = {
70 70
         responsive: true,
71 71
         maintainAspectRatio: false,
72
+        tooltip: {
73
+          trigger: 'axis',
74
+          axisPointer: { type: 'shadow' }
75
+        },
72 76
         grid: {
73 77
           left: '10%',
74 78
           right: '5%',
@@ -134,6 +138,10 @@ export default {
134 138
       const option = {
135 139
         responsive: true,
136 140
         maintainAspectRatio: false,
141
+        tooltip: {
142
+          trigger: 'axis',
143
+          axisPointer: { type: 'shadow' }
144
+        },
137 145
         grid: {
138 146
           left: '10%',
139 147
           right: '5%',
@@ -199,6 +207,10 @@ export default {
199 207
       const option = {
200 208
         responsive: true,
201 209
         maintainAspectRatio: false,
210
+        tooltip: {
211
+          trigger: 'axis',
212
+          axisPointer: { type: 'shadow' }
213
+        },
202 214
         grid: {
203 215
           left: '10%',
204 216
           right: '5%',
@@ -244,15 +256,15 @@ export default {
244 256
           xAxisIndex: 0,
245 257
           height: 20,
246 258
           bottom: 0,
247
-          borderColor: 'rgba(255, 255, 255, 0.1)',
248
-          backgroundColor: 'rgba(45, 42, 85, 0.8)',
249
-          fillerColor: 'rgba(167, 139, 250, 0.3)',
250
-          handleStyle: {
251
-            color: '#A78BFA'
252
-          },
253
-          labelStyle: {
254
-            color: 'rgba(255, 255, 255, 0.5)'
255
-          }
259
+          // borderColor: 'gray',
260
+          // backgroundColor: 'gray',
261
+          // fillerColor: 'gray',
262
+          // handleStyle: {
263
+          //   color: '#A78BFA'
264
+          // },
265
+          // labelStyle: {
266
+          //   color: 'rgba(255, 255, 255, 0.5)'
267
+          // }
256 268
         }],
257 269
         series: [{
258 270
           type: 'bar',

+ 1 - 3
src/pages/components/PassengerChart.vue

@@ -82,9 +82,7 @@ export default {
82 82
       const option = {
83 83
         tooltip: {
84 84
           trigger: 'axis',
85
-          backgroundColor: 'rgba(30, 27, 75, 0.95)',
86
-          borderColor: '#A78BFA',
87
-          textStyle: { color: '#666' }
85
+   axisPointer: { type: 'shadow' }
88 86
         },
89 87
         legend: {
90 88
           data: [...areaNames, '人流总数'],

+ 4 - 8
src/pages/components/ProfileRadar.vue

@@ -117,17 +117,17 @@ export default {
117 117
                     splitNumber: 5,
118 118
                     axisLine: {
119 119
                         lineStyle: {
120
-                            color: 'rgba(255, 255, 255, 0.2)'
120
+                            color: 'gray'
121 121
                         }
122 122
                     },
123 123
                     splitLine: {
124 124
                         lineStyle: {
125
-                            color: 'rgba(255, 255, 255, 0.1)'
125
+                            color: 'gray'
126 126
                         }
127 127
                     },
128 128
                     splitArea: { show: false },
129 129
                     axisName: {
130
-                        color: 'rgba(255, 255, 255, 0.6)',
130
+                        color: '#333',
131 131
                         fontSize: 10
132 132
                     }
133 133
                 },
@@ -158,11 +158,7 @@ export default {
158 158
                 ],
159 159
                 tooltip: {
160 160
                     trigger: 'item',
161
-                    backgroundColor: 'rgba(13, 80, 122, 0.95)',
162
-                    borderColor: '#70CFE7',
163
-                    textStyle: {
164
-                        color: '#fff'
165
-                    }
161
+                   axisPointer: { type: 'shadow' }
166 162
                 }
167 163
             }
168 164
             this.chart.setOption(option)

+ 14 - 2
src/pages/components/SecurityTestCharts.vue

@@ -79,6 +79,10 @@ export default {
79 79
       const option = {
80 80
         responsive: true,
81 81
         maintainAspectRatio: false,
82
+        tooltip: {
83
+          trigger: 'item',
84
+          formatter: '{b}: {c} ({d}%)'
85
+        },
82 86
         series: [{
83 87
           type: 'pie',
84 88
           radius: ['50%', '70%'],
@@ -108,6 +112,10 @@ export default {
108 112
       const option = {
109 113
         responsive: true,
110 114
         maintainAspectRatio: false,
115
+        tooltip: {
116
+          trigger: 'item',
117
+          formatter: '{b}: {c} ({d}%)'
118
+        },
111 119
         series: [{
112 120
           type: 'pie',
113 121
           radius: ['50%', '70%'],
@@ -123,7 +131,7 @@ export default {
123 131
           },
124 132
           label: {
125 133
             show: true,
126
-            color: 'rgba(255, 255, 255, 0.7)',
134
+            color: '#333',
127 135
             fontSize: 10,
128 136
             formatter: '{b}\n{d}%'
129 137
           }
@@ -137,6 +145,10 @@ export default {
137 145
       const option = {
138 146
         responsive: true,
139 147
         maintainAspectRatio: false,
148
+        tooltip: {
149
+          trigger: 'item',
150
+          formatter: '{b}: {c} ({d}%)'
151
+        },
140 152
         series: [{
141 153
           type: 'pie',
142 154
           radius: ['50%', '70%'],
@@ -152,7 +164,7 @@ export default {
152 164
           },
153 165
           label: {
154 166
             show: true,
155
-            color: 'rgba(255, 255, 255, 0.7)',
167
+            color: '#333',
156 168
             fontSize: 10,
157 169
             formatter: '{b}\n{d}%'
158 170
           }

+ 1 - 3
src/pages/components/SeizedNumAll.vue

@@ -106,9 +106,7 @@ export default {
106 106
                 ],
107 107
                 tooltip: {
108 108
                     trigger: 'axis',
109
-                    backgroundColor: 'rgba(13,80,122,0.95)',
110
-                    borderColor: '#70CFE7',
111
-                    textStyle: { color: '#fff' }
109
+                    axisPointer: { type: 'shadow' }
112 110
                 }
113 111
             }
114 112
             this.chart.setOption(option)

+ 6 - 2
src/pages/components/SeizureInfo.vue

@@ -97,7 +97,7 @@ export default {
97 97
             top: '38%',
98 98
             style: {
99 99
               text: String(this.chartsData.total),
100
-              fill: 'rgba(255, 255, 255, 0.9)',
100
+              fill: '#333',
101 101
               fontSize: 14,
102 102
               fontWeight: 'bold',
103 103
               textAlign: 'center'
@@ -110,7 +110,7 @@ export default {
110 110
             top: '58%',
111 111
             style: {
112 112
               text: '查获总数',
113
-              fill: 'rgba(255, 255, 255, 0.5)',
113
+              fill: '#333',
114 114
               fontSize: 15,
115 115
               textAlign: 'center'
116 116
             },
@@ -126,6 +126,10 @@ export default {
126 126
       const option = {
127 127
         responsive: true,
128 128
         maintainAspectRatio: false,
129
+        tooltip: {
130
+          trigger: 'axis',
131
+          axisPointer: { type: 'shadow' }
132
+        },
129 133
         grid: {
130 134
           left: '15%',
131 135
           right: '5%',

+ 1 - 3
src/pages/components/SupervisionDistribution.vue

@@ -103,9 +103,7 @@ export default {
103 103
                 ],
104 104
                 tooltip: {
105 105
                     trigger: 'axis',
106
-                    backgroundColor: 'rgba(13,80,122,0.95)',
107
-                    borderColor: '#70CFE7',
108
-                    textStyle: { color: '#fff' }
106
+                    axisPointer: { type: 'shadow' }
109 107
                 }
110 108
             }
111 109
             this.chart.setOption(option)

+ 4 - 0
src/pages/components/UnsafeItemsChart.vue

@@ -57,6 +57,10 @@ export default {
57 57
       const option = {
58 58
         responsive: true,
59 59
         maintainAspectRatio: false,
60
+        tooltip: {
61
+          trigger: 'item',
62
+          formatter: '{b}: {c} ({d}%)'
63
+        },
60 64
         series: [{
61 65
           type: 'pie',
62 66
           radius: ['50%', '70%'],

+ 4 - 0
src/pages/components/UnsafePositionChart.vue

@@ -52,6 +52,10 @@ export default {
52 52
       const option = {
53 53
         responsive: true,
54 54
         maintainAspectRatio: false,
55
+        tooltip: {
56
+          trigger: 'axis',
57
+          axisPointer: { type: 'shadow' }
58
+        },
55 59
         grid: {
56 60
           left: '15%',
57 61
           right: '5%',

+ 4 - 0
src/pages/components/UnsafeTypesChart.vue

@@ -57,6 +57,10 @@ export default {
57 57
       const option = {
58 58
         responsive: true,
59 59
         maintainAspectRatio: false,
60
+        tooltip: {
61
+          trigger: 'item',
62
+          formatter: '{b}: {c} ({d}%)'
63
+        },
60 64
         series: [{
61 65
           type: 'pie',
62 66
           radius: ['50%', '70%'],

+ 9 - 8
src/pages/deptProfile/index.vue

@@ -94,7 +94,7 @@
94 94
                 </SectionTitle>
95 95
 
96 96
                 <SectionTitle title="每日查获数量">
97
-                    <DailySeizureChart :chartsData="dailySeizureData" />
97
+                    <DailySeizureChart :chartsData="dailySeizureData" :title="'班组对比'"/>
98 98
                 </SectionTitle>
99 99
 
100 100
                 <SectionTitle title="查获工作区域分布">
@@ -764,7 +764,7 @@ export default {
764 764
     z-index: 100;
765 765
     background: #fff;
766 766
     backdrop-filter: blur(10px);
767
-    box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.2);
767
+    box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
768 768
 }
769 769
 
770 770
 .header-title {
@@ -776,7 +776,7 @@ export default {
776 776
     .title-main {
777 777
         font-size: 36rpx;
778 778
         font-weight: bold;
779
-        color: #fff;
779
+        color: #333;
780 780
     }
781 781
 }
782 782
 
@@ -787,7 +787,7 @@ export default {
787 787
 
788 788
     .current-time {
789 789
         font-size: 24rpx;
790
-        color: rgba(255, 255, 255, 0.6);
790
+        color: #999;
791 791
     }
792 792
 }
793 793
 
@@ -859,14 +859,14 @@ export default {
859 859
 
860 860
 .tab-item {
861 861
     font-size: 28rpx;
862
-    color: rgba(255, 255, 255, 0.5);
862
+    color: #999;
863 863
     padding-bottom: 8rpx;
864 864
     border-bottom: 2rpx solid transparent;
865 865
     transition: all 0.3s;
866 866
 
867 867
     &.active {
868
-        color: #fff;
869
-        border-bottom-color: #fff;
868
+        color: #333;
869
+        border-bottom-color: #333;
870 870
     }
871 871
 }
872 872
 
@@ -874,5 +874,6 @@ export default {
874 874
     padding: 32rpx;
875 875
     display: flex;
876 876
     flex-direction: column;
877
+    background-color: #fff;
877 878
 }
878
-</style>
879
+</style>

+ 47 - 47
src/pages/employeeProfile/index.vue

@@ -632,7 +632,7 @@ export default {
632 632
                             rich: {
633 633
                                 value: {
634 634
                                     fontSize: 14,
635
-                                    color: '#fff',
635
+                                    color: '#333',
636 636
                                     lineHeight: 35,
637 637
 
638 638
                                 }
@@ -663,16 +663,16 @@ export default {
663 663
                     radius: '60%',
664 664
                     splitNumber: 8,
665 665
                     axisLine: {
666
-                        lineStyle: { color: 'rgba(255,255,255,0.3)' }
666
+                        lineStyle: { color: 'rgba(0,0,0,0.15)' }
667 667
                     },
668 668
                     splitLine: {
669 669
                         lineStyle: {
670
-                            color: ['rgba(255,255,255,0.2)', 'rgba(255,255,255,0.2)', 'rgba(255,255,255,0.2)', 'rgba(255,255,255,0.2)', 'rgba(255,255,255,0.2)', 'rgba(255,255,255,0.2)', '#fe4322', '#8EC742', 'rgba(255,255,255,0.2)']
670
+                            color: ['rgba(0,0,0,0.1)', 'rgba(0,0,0,0.1)', 'rgba(0,0,0,0.1)', 'rgba(0,0,0,0.1)', 'rgba(0,0,0,0.1)', 'rgba(0,0,0,0.1)', '#fe4322', '#8EC742', 'rgba(0,0,0,0.1)']
671 671
                         }
672 672
                     },
673 673
                     splitArea: { show: false },
674 674
                     axisName: {
675
-                        color: '#fff',
675
+                        color: '#333',
676 676
                         fontSize: 12
677 677
                     }
678 678
                 },
@@ -684,7 +684,7 @@ export default {
684 684
                         areaStyle: { color: 'rgba(77, 200, 254, 0.2)' },
685 685
                         lineStyle: { color: '#4DC8FE', width: 2 },
686 686
                         itemStyle: {
687
-                            color: '#fff',
687
+                            color: '#333',
688 688
                             borderWidth: 1,
689 689
                             borderColor: '#00C8DA'
690 690
                         },
@@ -736,7 +736,7 @@ export default {
736 736
 
737 737
     .current-time {
738 738
         font-size: 24rpx;
739
-        color: rgba(255, 255, 255, 0.6);
739
+        color: #999;
740 740
     }
741 741
 }
742 742
 
@@ -826,7 +826,7 @@ export default {
826 826
 }
827 827
 
828 828
 .employee-picker {
829
-    background: #0d0d0d;
829
+    background: #fff;
830 830
     display: flex;
831 831
     flex-direction: column;
832 832
     border-radius: 16rpx 16rpx 0 0;
@@ -836,7 +836,7 @@ export default {
836 836
 
837 837
 .picker-header {
838 838
     padding: 24rpx 32rpx;
839
-    border-bottom: 1rpx solid rgba(255, 255, 255, 0.1);
839
+    border-bottom: 1rpx solid #eee;
840 840
     display: flex;
841 841
     justify-content: center;
842 842
     flex-shrink: 0;
@@ -845,7 +845,7 @@ export default {
845 845
 .picker-title {
846 846
     font-size: 32rpx;
847 847
     font-weight: 600;
848
-    color: #fff;
848
+    color: #333;
849 849
 }
850 850
 
851 851
 .search-box {
@@ -865,12 +865,12 @@ export default {
865 865
     align-items: center;
866 866
     justify-content: space-between;
867 867
     padding: 24rpx 0;
868
-    border-bottom: 1rpx solid rgba(255, 255, 255, 0.08);
868
+    border-bottom: 1rpx solid #f0f0f0;
869 869
 }
870 870
 
871 871
 .employee-item-name {
872 872
     font-size: 28rpx;
873
-    color: rgba(255, 255, 255, 0.9);
873
+    color: #333;
874 874
 }
875 875
 
876 876
 .tab-nav {
@@ -882,14 +882,14 @@ export default {
882 882
 
883 883
 .tab-item {
884 884
     font-size: 28rpx;
885
-    color: rgba(255, 255, 255, 0.5);
885
+    color: #999;
886 886
     padding-bottom: 8rpx;
887 887
     border-bottom: 2rpx solid transparent;
888 888
     transition: all 0.3s;
889 889
 
890 890
      &.active {
891
-        color: #fff;
892
-        border-bottom-color: #fff;
891
+        color: #333;
892
+        border-bottom-color: #333;
893 893
     }
894 894
 }
895 895
 
@@ -913,7 +913,7 @@ export default {
913 913
 
914 914
     .empty-text {
915 915
         font-size: 28rpx;
916
-        color: rgba(255, 255, 255, 0.5);
916
+        color: #999;
917 917
     }
918 918
 }
919 919
 
@@ -924,14 +924,14 @@ export default {
924 924
         gap: 32rpx;
925 925
         margin-bottom: 32rpx;
926 926
         padding-bottom: 24rpx;
927
-        border-bottom: 1rpx solid rgba(255, 255, 255, 0.1);
927
+        border-bottom: 1rpx solid #e0e0e0;
928 928
     }
929 929
 
930 930
     .avatar-area {
931 931
         width: 120rpx;
932 932
         height: 120rpx;
933 933
         border-radius: 50%;
934
-        background: #222;
934
+        background: #f0f0f0;
935 935
         display: flex;
936 936
         align-items: center;
937 937
         justify-content: center;
@@ -947,7 +947,7 @@ export default {
947 947
         .avatar-placeholder {
948 948
             font-size: 48rpx;
949 949
             font-weight: bold;
950
-            color: #aaa;
950
+            color: #999;
951 951
         }
952 952
     }
953 953
 
@@ -957,13 +957,13 @@ export default {
957 957
 
958 958
         .name-label {
959 959
             font-size: 26rpx;
960
-            color: rgba(255, 255, 255, 0.5);
960
+            color: #999;
961 961
         }
962 962
 
963 963
         .name-value {
964 964
             font-size: 36rpx;
965 965
             font-weight: bold;
966
-            color: #fff;
966
+            color: #333;
967 967
         }
968 968
     }
969 969
 }
@@ -977,21 +977,21 @@ export default {
977 977
     .info-item {
978 978
         .info-label {
979 979
             font-size: 22rpx;
980
-            color: rgba(255, 255, 255, 0.5);
980
+            color: #999;
981 981
             margin-bottom: 4rpx;
982 982
         }
983 983
 
984 984
         .info-value {
985 985
             font-size: 26rpx;
986
-            color: #fff;
986
+            color: #333;
987 987
 
988 988
             .tag {
989 989
                 display: inline-block;
990 990
                 padding: 4rpx 16rpx;
991 991
                 margin-left: 2rpx;
992
-                background: rgba(255, 255, 255, 0.15);
992
+                background: #f0f0f0;
993 993
                 border-radius: 8rpx;
994
-                color: #fff;
994
+                color: #333;
995 995
                 font-size: 22rpx;
996 996
             }
997 997
         }
@@ -1004,7 +1004,7 @@ export default {
1004 1004
     justify-content: center;
1005 1005
     gap: 48rpx;
1006 1006
     padding-top: 24rpx;
1007
-    border-top: 1rpx solid rgba(255, 255, 255, 0.1);
1007
+    border-top: 1rpx solid #e0e0e0;
1008 1008
 
1009 1009
     .score-circle {
1010 1010
         width: 280rpx;
@@ -1019,13 +1019,13 @@ export default {
1019 1019
 
1020 1020
             .score-label {
1021 1021
                 font-size: 26rpx;
1022
-                color: rgba(255, 255, 255, 0.5);
1022
+                color: #999;
1023 1023
             }
1024 1024
 
1025 1025
             .score-val {
1026 1026
                 font-size: 32rpx;
1027 1027
                 font-weight: bold;
1028
-                color: #fff;
1028
+                color: #333;
1029 1029
             }
1030 1030
         }
1031 1031
     }
@@ -1033,7 +1033,7 @@ export default {
1033 1033
 
1034 1034
 .work-history {
1035 1035
     font-size: 26rpx;
1036
-    color: rgba(255, 255, 255, 0.8);
1036
+    color: #555;
1037 1037
     line-height: 1.8;
1038 1038
 }
1039 1039
 
@@ -1047,7 +1047,7 @@ export default {
1047 1047
         justify-content: space-between;
1048 1048
         align-items: center;
1049 1049
         padding: 16rpx;
1050
-        background: rgba(255, 255, 255, 0.05);
1050
+        background: #f5f5f5;
1051 1051
         border-radius: 12rpx;
1052 1052
 
1053 1053
         .honor-name {
@@ -1055,7 +1055,7 @@ export default {
1055 1055
             align-items: center;
1056 1056
             gap: 12rpx;
1057 1057
             font-size: 26rpx;
1058
-            color: #fff;
1058
+            color: #333;
1059 1059
             flex: 1;
1060 1060
 
1061 1061
             .honor-dot {
@@ -1076,7 +1076,7 @@ export default {
1076 1076
 
1077 1077
     .no-data {
1078 1078
         font-size: 26rpx;
1079
-        color: rgba(255, 255, 255, 0.5);
1079
+        color: #999;
1080 1080
         text-align: center;
1081 1081
         padding: 24rpx 0;
1082 1082
     }
@@ -1095,14 +1095,14 @@ export default {
1095 1095
     .supp-item {
1096 1096
         .supp-label {
1097 1097
             font-size: 22rpx;
1098
-            color: #8675AE;
1098
+            color: #666;
1099 1099
             margin-bottom: 4rpx;
1100 1100
             display: block;
1101 1101
         }
1102 1102
 
1103 1103
         .supp-value {
1104 1104
             font-size: 26rpx;
1105
-            color: #fff;
1105
+            color: #333;
1106 1106
         }
1107 1107
     }
1108 1108
 }
@@ -1114,7 +1114,7 @@ export default {
1114 1114
 
1115 1115
     .warning-tip {
1116 1116
         font-size: 26rpx;
1117
-        color: rgba(255, 255, 255, 0.7);
1117
+        color: #666;
1118 1118
     }
1119 1119
 }
1120 1120
 
@@ -1135,9 +1135,9 @@ export default {
1135 1135
 .warning-panel {
1136 1136
     width: 100%;
1137 1137
     max-height: 80vh;
1138
-    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
1138
+    background: #fff;
1139 1139
     border-radius: 24rpx;
1140
-    border: 1rpx solid rgba(167, 139, 250, 0.3);
1140
+    border: 1rpx solid #e0e0e0;
1141 1141
     overflow: hidden;
1142 1142
     display: flex;
1143 1143
     flex-direction: column;
@@ -1148,12 +1148,12 @@ export default {
1148 1148
     justify-content: space-between;
1149 1149
     align-items: center;
1150 1150
     padding: 32rpx;
1151
-    border-bottom: 1rpx solid rgba(255, 255, 255, 0.1);
1151
+    border-bottom: 1rpx solid #eee;
1152 1152
 
1153 1153
     .warning-title {
1154 1154
         font-size: 32rpx;
1155 1155
         font-weight: bold;
1156
-        color: #A78BFA;
1156
+        color: #333;
1157 1157
     }
1158 1158
 
1159 1159
     .warning-close {
@@ -1163,9 +1163,9 @@ export default {
1163 1163
         align-items: center;
1164 1164
         justify-content: center;
1165 1165
         font-size: 32rpx;
1166
-        color: rgba(255, 255, 255, 0.6);
1166
+        color: #999;
1167 1167
         border-radius: 50%;
1168
-        background: rgba(255, 255, 255, 0.1);
1168
+        background: #f0f0f0;
1169 1169
     }
1170 1170
 }
1171 1171
 
@@ -1176,7 +1176,7 @@ export default {
1176 1176
 
1177 1177
 .warning-desc {
1178 1178
     font-size: 24rpx;
1179
-    color: rgba(255, 255, 255, 0.6);
1179
+    color: #666;
1180 1180
     margin-bottom: 32rpx;
1181 1181
 }
1182 1182
 
@@ -1188,12 +1188,12 @@ export default {
1188 1188
         justify-content: space-between;
1189 1189
         align-items: center;
1190 1190
         padding: 24rpx;
1191
-        background: rgba(255, 255, 255, 0.05);
1191
+        background: #f5f5f5;
1192 1192
         border-radius: 16rpx;
1193 1193
 
1194 1194
         .warning-score-label {
1195 1195
             font-size: 28rpx;
1196
-            color: #fff;
1196
+            color: #333;
1197 1197
         }
1198 1198
 
1199 1199
         .warning-score-value {
@@ -1216,7 +1216,7 @@ export default {
1216 1216
 .warning-detail {
1217 1217
     .warning-detail-title {
1218 1218
         font-size: 28rpx;
1219
-        color: #A78BFA;
1219
+        color: #333;
1220 1220
         margin-bottom: 20rpx;
1221 1221
         font-weight: 500;
1222 1222
     }
@@ -1226,7 +1226,7 @@ export default {
1226 1226
         justify-content: space-between;
1227 1227
         align-items: center;
1228 1228
         padding: 16rpx 0;
1229
-        border-bottom: 1rpx solid rgba(255, 255, 255, 0.05);
1229
+        border-bottom: 1rpx solid #f0f0f0;
1230 1230
 
1231 1231
         .detail-left {
1232 1232
             display: flex;
@@ -1235,12 +1235,12 @@ export default {
1235 1235
 
1236 1236
             .detail-dim {
1237 1237
                 font-size: 22rpx;
1238
-                color: rgba(255, 255, 255, 0.5);
1238
+                color: #999;
1239 1239
             }
1240 1240
 
1241 1241
             .detail-name {
1242 1242
                 font-size: 26rpx;
1243
-                color: #fff;
1243
+                color: #333;
1244 1244
             }
1245 1245
         }
1246 1246
 

+ 11 - 10
src/pages/groupProfile/index.vue

@@ -94,7 +94,7 @@
94 94
                 </SectionTitle>
95 95
 
96 96
                 <SectionTitle title="每日查获数量">
97
-                    <DailySeizureChart :chartsData="dailySeizureData" />
97
+                    <DailySeizureChart :chartsData="dailySeizureData" :title="'个人对比'"/>
98 98
                 </SectionTitle>
99 99
 
100 100
                 <SectionTitle title="查获工作区域分布">
@@ -761,7 +761,7 @@ export default {
761 761
 
762 762
 .dept-profile-page {
763 763
     min-height: 100vh;
764
-    background: #0d0d0d;
764
+    background: #fff;
765 765
     padding-bottom: 40rpx;
766 766
 }
767 767
 
@@ -769,9 +769,9 @@ export default {
769 769
     position: sticky;
770 770
     top: 0;
771 771
     z-index: 100;
772
-    background: rgba(13, 13, 13, 0.9);
772
+    background: #fff;
773 773
     backdrop-filter: blur(10px);
774
-    box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.2);
774
+    box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
775 775
 }
776 776
 
777 777
 .header-title {
@@ -783,7 +783,7 @@ export default {
783 783
     .title-main {
784 784
         font-size: 36rpx;
785 785
         font-weight: bold;
786
-        color: #fff;
786
+        color: #333;
787 787
     }
788 788
 }
789 789
 
@@ -794,7 +794,7 @@ export default {
794 794
 
795 795
     .current-time {
796 796
         font-size: 24rpx;
797
-        color: rgba(255, 255, 255, 0.6);
797
+        color: #999;
798 798
     }
799 799
 }
800 800
 
@@ -866,14 +866,14 @@ export default {
866 866
 
867 867
 .tab-item {
868 868
     font-size: 28rpx;
869
-    color: rgba(255, 255, 255, 0.5);
869
+    color: #999;
870 870
     padding-bottom: 8rpx;
871 871
     border-bottom: 2rpx solid transparent;
872 872
     transition: all 0.3s;
873 873
 
874
-     &.active {
875
-        color: #fff;
876
-        border-bottom-color: #fff;
874
+    &.active {
875
+        color: #333;
876
+        border-bottom-color: #333;
877 877
     }
878 878
 }
879 879
 
@@ -881,5 +881,6 @@ export default {
881 881
     padding: 32rpx;
882 882
     display: flex;
883 883
     flex-direction: column;
884
+    background-color: #fff;
884 885
 }
885 886
 </style>

+ 11 - 15
src/pages/stationProfile/index.vue

@@ -588,7 +588,7 @@ export default {
588 588
 <style lang="scss" scoped>
589 589
 .station-profile-page {
590 590
     min-height: 100vh;
591
-    background: #0d0d0d;
591
+    background: #fff;
592 592
     padding-bottom: 40rpx;
593 593
 }
594 594
 
@@ -596,9 +596,9 @@ export default {
596 596
     position: sticky;
597 597
     top: 0;
598 598
     z-index: 100;
599
-    background: rgba(13, 13, 13, 0.9);
599
+    background: #fff;
600 600
     backdrop-filter: blur(10px);
601
-    box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.2);
601
+    box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
602 602
 }
603 603
 
604 604
 .header-title {
@@ -610,7 +610,7 @@ export default {
610 610
     .title-main {
611 611
         font-size: 36rpx;
612 612
         font-weight: bold;
613
-        color: #fff;
613
+        color: #333;
614 614
     }
615 615
 }
616 616
 
@@ -621,12 +621,7 @@ export default {
621 621
 
622 622
     .current-time {
623 623
         font-size: 24rpx;
624
-        color: rgba(255, 255, 255, 0.6);
625
-    }
626
-
627
-    .menu-icon {
628
-        display: flex;
629
-        align-items: center;
624
+        color: #999;
630 625
     }
631 626
 }
632 627
 
@@ -698,14 +693,14 @@ export default {
698 693
 
699 694
 .tab-item {
700 695
     font-size: 28rpx;
701
-    color: rgba(255, 255, 255, 0.5);
696
+    color: #999;
702 697
     padding-bottom: 8rpx;
703 698
     border-bottom: 2rpx solid transparent;
704 699
     transition: all 0.3s;
705 700
 
706
-     &.active {
707
-        color: #fff;
708
-        border-bottom-color: #fff;
701
+    &.active {
702
+        color: #333;
703
+        border-bottom-color: #333;
709 704
     }
710 705
 }
711 706
 
@@ -713,9 +708,10 @@ export default {
713 708
     padding: 32rpx;
714 709
     display: flex;
715 710
     flex-direction: column;
716
-    /* gap: 32rpx; */
711
+    background-color: #fff;
717 712
 }
718 713
 
714
+
719 715
 .two-col-grid {
720 716
     display: grid;
721 717
     grid-template-columns: repeat(2, 1fr);

+ 1 - 1
src/pages/teamProfile/index.vue

@@ -94,7 +94,7 @@
94 94
                 </SectionTitle>
95 95
 
96 96
                 <SectionTitle title="每日查获数量">
97
-                    <DailySeizureChart :chartsData="dailySeizureData" />
97
+                    <DailySeizureChart :chartsData="dailySeizureData" :title="'小组对比'"/>
98 98
                 </SectionTitle>
99 99
 
100 100
                 <SectionTitle title="查获工作区域分布">