wui-components-v2 1.1.69 → 1.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/core/index.ts +74 -74
- package/api/menu.ts +45 -45
- package/api/page.ts +114 -114
- package/api/sys.ts +12 -12
- package/components/add-address-page/add-address-page.vue +77 -77
- package/components/custom-date-picker/custom-date-picker.vue +106 -106
- package/components/custom-select-picker/custom-select-picker.vue +95 -95
- package/components/demo-block/demo-block.vue +63 -63
- package/components/detail-popup/detail-popup.vue +99 -99
- package/components/evaluation-page/evaluation-page.vue +196 -196
- package/components/fold-card/fold-card.vue +171 -171
- package/components/form-control/form-control.vue +661 -661
- package/components/global-message/global-message.vue +68 -68
- package/components/label-value/label-value.vue +144 -144
- package/components/list-top-buttons/list-top-buttons.vue +19 -19
- package/components/login-form/login-form.vue +126 -126
- package/components/mulselect-picker/mulselect-picker.vue +86 -86
- package/components/product-card/product-card.vue +201 -201
- package/components/search/search.vue +128 -128
- package/components/user-choose/user-choose.vue +1 -1
- package/components/wui-enume-select-control/wui-enume-select-control.vue +92 -92
- package/components/wui-list/wui-list.vue +235 -235
- package/components/wui-menus/wui-menus.vue +247 -247
- package/components/wui-menus1/components/navbar.vue +43 -43
- package/components/wui-menus1/wui-menus.vue +564 -564
- package/components/wui-notify-info/wui-notify-info.vue +280 -280
- package/components/wui-search-history-babbar/wui-search-history-babbar.vue +204 -204
- package/components/wui-select-list/wui-select-list.vue +310 -310
- package/components/wui-select-popup/wui-select-popup.vue +612 -612
- package/components/wui-system-settings/wui-system-settings.vue +144 -144
- package/components/wui-tabbar/wui-tabbar.vue +106 -106
- package/components/wui-tree-page/components/tree-item.vue +238 -238
- package/components/wui-user/wui-user.vue +202 -202
- package/composables/useCompanyFieldFilter.ts +91 -91
- package/composables/useEnumes.ts +2 -2
- package/composables/useMenus.ts +193 -193
- package/index.ts +83 -83
- package/package.json +1 -1
- package/static/iconfont/iconfont.css +63 -63
- package/store/language.ts +151 -151
- package/styles/dark-mode.css +523 -523
- package/styles/dark-mode.min.css +1 -1
- package/type.ts +2 -2
- package/utils/control-tree.ts +2 -2
- package/utils/control-type-supportor.ts +148 -148
package/styles/dark-mode.css
CHANGED
|
@@ -1,523 +1,523 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
/**
|
|
3
|
-
* 暗黑模式全局样式覆盖
|
|
4
|
-
* 用于强制覆盖 wot-design-uni 组件内部样式(:deep() 无法穿透的场景)
|
|
5
|
-
*
|
|
6
|
-
* 注意:此文件不能使用 scoped,否则无法穿透第三方组件
|
|
7
|
-
*
|
|
8
|
-
* @package wui-components-v2
|
|
9
|
-
*
|
|
10
|
-
* 使用方式:在项目 main.ts 中 import 此文件
|
|
11
|
-
* import 'wui-components-v2/styles/dark-mode'
|
|
12
|
-
*/
|
|
13
|
-
/* ====== CSS 变量定义(修正命名不匹配问题)====== */
|
|
14
|
-
/* wot-design-uni 的 kebabCase 转换会把 darkBackground2 → --wot-dark-background-2 */
|
|
15
|
-
/* 但项目中模板引用的是 --wot-dark-background2,需手动补齐 */
|
|
16
|
-
:root,
|
|
17
|
-
.wot-theme-dark {
|
|
18
|
-
--wot-dark-background: #1b1b1e;
|
|
19
|
-
--wot-dark-background2: #161616;
|
|
20
|
-
--wot-dark-background3: #1e1e1e;
|
|
21
|
-
--wot-dark-background4: #262626;
|
|
22
|
-
--wot-dark-background5: #333333;
|
|
23
|
-
--wot-dark-color: #ffffff;
|
|
24
|
-
--wot-dark-color2: #e8e8e8;
|
|
25
|
-
--wot-dark-color3: #999999;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* ====== 暗黑模式下 wot-design-uni 组件内部文字颜色覆盖 ====== */
|
|
29
|
-
.wot-theme-dark {
|
|
30
|
-
/* Cell 组件 */
|
|
31
|
-
/* CellGroup */
|
|
32
|
-
/* Switch 开关 */
|
|
33
|
-
/* Input 输入框 */
|
|
34
|
-
/* 原生 input 元素 - 必须用 uni- 前缀类名才能在小程序中命中 */
|
|
35
|
-
/* InputNumber 数字输入框 */
|
|
36
|
-
/* Textarea 多行文本输入框 */
|
|
37
|
-
/* Form 表单 */
|
|
38
|
-
/* Button 按钮 */
|
|
39
|
-
/* Popup 弹窗 */
|
|
40
|
-
/* ActionSheet */
|
|
41
|
-
/* Checkbox 复选框 */
|
|
42
|
-
/* SelectPicker 选择器弹窗 */
|
|
43
|
-
/* Calendar 日历选择器弹窗 */
|
|
44
|
-
/* Calendar 日历日期单元格暗黑适配(覆盖 wot-design-uni 内部变量)*/
|
|
45
|
-
/* YearPanel 年份选择器 */
|
|
46
|
-
/* picker-view 滚轮遮罩 - 暗黑模式下去掉白色渐变 */
|
|
47
|
-
/* DateTimePicker 时间选择器弹窗 */
|
|
48
|
-
/* Toast / Notify */
|
|
49
|
-
/* Picker */
|
|
50
|
-
/* Dialog */
|
|
51
|
-
/* Loading */
|
|
52
|
-
/* Tag 标签 */
|
|
53
|
-
/* Collapse 折叠面板 */
|
|
54
|
-
/* Tabbar tab栏 */
|
|
55
|
-
/* 未选中:白色 */
|
|
56
|
-
/* 选中态:蓝色(同权重,后定义覆盖前) */
|
|
57
|
-
/* Navbar 导航栏 */
|
|
58
|
-
/* Cell 右侧箭头图标 */
|
|
59
|
-
/* Cell 左侧图标 */
|
|
60
|
-
/* Card 卡片 - 菜单卡片暗黑背景 */
|
|
61
|
-
/* Grid 网格 */
|
|
62
|
-
/* Grid 图标区域 - 去掉白色背景 */
|
|
63
|
-
/* 快速访问区域(section-menus) */
|
|
64
|
-
/* 非TabBar区域内的普通图标(排除tabbar避免干扰选中态) */
|
|
65
|
-
/* Search 搜索栏 */
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.wot-theme-dark .wd-cell__title {
|
|
69
|
-
color: #e8e8e8 !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.wot-theme-dark .wd-cell__right {
|
|
73
|
-
color: #666666 !important;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.wot-theme-dark .wd-cell__icon {
|
|
77
|
-
color: #666666 !important;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.wot-theme-dark .wd-cell-group {
|
|
81
|
-
background-color: #111111 !important;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.wot-theme-dark .wd-cell {
|
|
85
|
-
background-color: #161616 !important;
|
|
86
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.wot-theme-dark .wd-cell:active {
|
|
90
|
-
background-color: #1b1b1e !important;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.wot-theme-dark .wd-switch__node {
|
|
94
|
-
background-color: #3d3d3d !important;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.wot-theme-dark .wd-switch__node--checked {
|
|
98
|
-
background-color: var(--wot-color-primary, #2164f3) !important;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.wot-theme-dark .wd-input {
|
|
102
|
-
--wot-input-bg: #252530;
|
|
103
|
-
--wot-input-inner-color: #e8e8e8;
|
|
104
|
-
--wot-input-inner-placeholder-color: #fff;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.wot-theme-dark .uni-input-input,
|
|
108
|
-
.wot-theme-dark .wd-input__input,
|
|
109
|
-
.wot-theme-dark .wd-input.is-compact .uni-input-input {
|
|
110
|
-
color: var(--wot-input-inner-color, #e8e8e8) !important;
|
|
111
|
-
caret-color: var(--wot-color-primary, #2164f3) !important;
|
|
112
|
-
background-color: transparent !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.wot-theme-dark .uni-input-placeholder,
|
|
116
|
-
.wot-theme-dark .wd-input__placeholder,
|
|
117
|
-
.wot-theme-dark .wd-input.is-compact .uni-input-placeholder {
|
|
118
|
-
color: #fff !important;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.wot-theme-dark .wd-input-number {
|
|
122
|
-
--wot-input-number-bg: #252530;
|
|
123
|
-
--wot-input-number-inner-color: #000000;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.wot-theme-dark .wd-input-number .uni-input-input,
|
|
127
|
-
.wot-theme-dark .wd-input-number__input {
|
|
128
|
-
color: var(--wot-input-number-inner-color, #000000) !important;
|
|
129
|
-
caret-color: var(--wot-color-primary, #2164f3) !important;
|
|
130
|
-
background-color: transparent !important;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.wot-theme-dark .wd-input-number .uni-input-placeholder,
|
|
134
|
-
.wot-theme-dark .wd-input-number__input::placeholder,
|
|
135
|
-
.wot-theme-dark .wd-input-number__placeholder {
|
|
136
|
-
color: #fff !important;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.wot-theme-dark .wd-textarea {
|
|
140
|
-
--wot-textarea-bg: #252530;
|
|
141
|
-
--wot-textarea-inner-color: #e8e8e8;
|
|
142
|
-
--wot-textarea-inner-placeholder-color: #fff;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.wot-theme-dark .wd-textarea__inner {
|
|
146
|
-
color: var(--wot-textarea-inner-color, #e8e8e8) !important;
|
|
147
|
-
caret-color: var(--wot-color-primary, #2164f3) !important;
|
|
148
|
-
background-color: transparent !important;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.wot-theme-dark .wd-textarea__inner::placeholder,
|
|
152
|
-
.wot-theme-dark .wd-textarea__placeholder {
|
|
153
|
-
color: #fff !important;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.wot-theme-dark .wd-form {
|
|
157
|
-
background-color: transparent;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.wot-theme-dark .wd-form-item {
|
|
161
|
-
background-color: transparent !important;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.wot-theme-dark .wd-form-item .wd-cell {
|
|
165
|
-
background-color: transparent !important;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.wot-theme-dark .wd-form-item__label,
|
|
169
|
-
.wot-theme-dark .wd-form-item__title {
|
|
170
|
-
color: var(--wot-dark-color2, #e8e8e8) !important;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.wot-theme-dark .wd-form-item__body {
|
|
174
|
-
background-color: transparent;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.wot-theme-dark .wd-button--primary {
|
|
178
|
-
--wd-button-primary-bg-color: var(--wot-color-primary, #2164f3) !important;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.wot-theme-dark .wd-popup {
|
|
182
|
-
background-color: #1b1b1e !important;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.wot-theme-dark .wd-popup__container {
|
|
186
|
-
background-color: #161616 !important;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.wot-theme-dark .wd-popup__body {
|
|
190
|
-
background-color: #1b1b1e !important;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.wot-theme-dark .wd-action-sheet {
|
|
194
|
-
background-color: #161616 !important;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.wot-theme-dark .wd-action-sheet__title {
|
|
198
|
-
color: var(--wot-dark-color, #fff) !important;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.wot-theme-dark .wd-action-sheet__item {
|
|
202
|
-
color: var(--wot-dark-color2, #e0e0e0) !important;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.wot-theme-dark .wd-action-sheet__action {
|
|
206
|
-
background-color: #1b1b1e !important;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.wot-theme-dark .wd-checkbox__label {
|
|
210
|
-
color: var(--wot-dark-color, #fff) !important;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.wot-theme-dark .wd-select-picker__wrapper {
|
|
214
|
-
background-color: #1b1b1e;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.wot-theme-dark .wd-select-picker__popup {
|
|
218
|
-
background-color: #161616 !important;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.wot-theme-dark .wd-select-picker__checkbox-label,
|
|
222
|
-
.wot-theme-dark .wd-select-picker__radio-label {
|
|
223
|
-
color: var(--wot-dark-color2, #e8e8e8) !important;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.wot-theme-dark .wd-select-picker__text-active {
|
|
227
|
-
color: var(--wot-color-primary, #2164f3) !important;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.wot-theme-dark .wd-select-picker__footer {
|
|
231
|
-
background-color: #161616;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.wot-theme-dark .wd-calendar__wrapper {
|
|
235
|
-
background-color: #1b1b1e;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.wot-theme-dark .wd-calendar__popup {
|
|
239
|
-
background-color: #161616 !important;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.wot-theme-dark .wd-calendar__header {
|
|
243
|
-
color: var(--wot-dark-color, #fff);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.wot-theme-dark .wd-calendar__view,
|
|
247
|
-
.wot-theme-dark .wd-month-panel {
|
|
248
|
-
--wot-calendar-view-day-color: #e8e8e8;
|
|
249
|
-
/* 日期数字 */
|
|
250
|
-
--wot-calendar-view-week-color: #999999;
|
|
251
|
-
/* 星期头(日一二三四五六) */
|
|
252
|
-
--wot-calendar-view-panel-title-color: #ccc;
|
|
253
|
-
/* 面板标题(2026年6月) */
|
|
254
|
-
--wot-calendar-view-control-icon-color: #aaa;
|
|
255
|
-
/* 左右箭头图标 */
|
|
256
|
-
--wot-calendar-view-control-color-disabled: #444;
|
|
257
|
-
/* 禁用箭头 */
|
|
258
|
-
--wot-calendar-view-color-disabled: #555555;
|
|
259
|
-
/* 禁用/不可选日期 */
|
|
260
|
-
--wot-calendar-view-time-picker-color: #e8e8e8;
|
|
261
|
-
/* 时间选择器文字 */
|
|
262
|
-
--wot-calendar-view-time-picker-bg: #252530;
|
|
263
|
-
/* 时间选择器背景 */
|
|
264
|
-
--wot-calendar-view-range-color: #e8e8e8;
|
|
265
|
-
/* 区间模式文字色 */
|
|
266
|
-
background-color: transparent !important;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.wot-theme-dark .wd-calendar__tabs {
|
|
270
|
-
color: var(--wot-dark-color3, #999999) !important;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.wot-theme-dark .wd-calendar__shortcuts {
|
|
274
|
-
border-bottom-color: rgba(255, 255, 255, 0.06);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.wot-theme-dark .wd-calendar__view {
|
|
278
|
-
background-color: transparent;
|
|
279
|
-
color: var(--wot-dark-color2, #e8e8e8);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.wot-theme-dark .wd-calendar__range-item.is-placeholder {
|
|
283
|
-
color: var(--wot-dark-color3, #666666) !important;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.wot-theme-dark .wd-calendar__range-separator {
|
|
287
|
-
color: var(--wot-dark-color3, #666666) !important;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.wot-theme-dark .wd-year-panel {
|
|
291
|
-
--wot-calendar-bg: #1b1b1e;
|
|
292
|
-
--wot-picker-view-bg: #1b1b1e;
|
|
293
|
-
background-color: #1b1b1e;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.wot-theme-dark .wd-picker-view {
|
|
297
|
-
--wot-picker-view-bg: #1b1b1e;
|
|
298
|
-
--wot-picker-view-mask-start-color: rgba(0, 0, 0, 0.85);
|
|
299
|
-
--wot-picker-view-mask-end-color: rgba(0, 0, 0, 0.2);
|
|
300
|
-
--wot-picker-view-roller-bg: #2a2a30;
|
|
301
|
-
--wot-picker-view-column-item-color: #e8e8e8;
|
|
302
|
-
background-color: #1b1b1e;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.wot-theme-dark .wd-picker-view__mask {
|
|
306
|
-
background-image:
|
|
307
|
-
linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2)),
|
|
308
|
-
linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2)) !important;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.wot-theme-dark .wd-picker-view__roller {
|
|
312
|
-
background-color: #2a2a30 !important;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.wot-theme-dark .wd-picker-view__column-item {
|
|
316
|
-
color: #e8e8e8 !important;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.wot-theme-dark .wd-picker-view__column-item--active {
|
|
320
|
-
color: var(--wot-dark-color, #fff) !important;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.wot-theme-dark .wd-year-panel__text {
|
|
324
|
-
color: var(--wot-dark-color2, #e8e8e8);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.wot-theme-dark .wd-year-panel__item.is-active .wd-year-panel__text,
|
|
328
|
-
.wot-theme-dark .wd-year-panel__item.is-active {
|
|
329
|
-
color: var(--wot-color-primary, #2164f3) !important;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.wot-theme-dark .wd-datetime-picker__wrapper {
|
|
333
|
-
background-color: #1b1b1e;
|
|
334
|
-
color: var(--wot-dark-color2, #e8e8e8);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.wot-theme-dark .wd-datetime-picker__popup {
|
|
338
|
-
background-color: #161616 !important;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.wot-theme-dark::after {
|
|
342
|
-
background-color: transparent !important;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.wot-theme-dark .wd-toast {
|
|
346
|
-
color: #fff !important;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.wot-theme-dark .wd-picker__title,
|
|
350
|
-
.wot-theme-dark .wd-picker__toolbar {
|
|
351
|
-
color: var(--wot-dark-color2, #e0e0) !important;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.wot-theme-dark .wd-dialog {
|
|
355
|
-
color: var(--wot-dark-color2, #e0e0e0) !important;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.wot-theme-dark .wd-dialog__header {
|
|
359
|
-
color: var(--wot-dark-color, #fff) !important;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.wot-theme-dark .wd-loading-text {
|
|
363
|
-
color: var(--wot-dark-color3, #a0a0a0) !important;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.wot-theme-dark .wd-tag {
|
|
367
|
-
color: #fff !important;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.wot-theme-dark .wd-collapse {
|
|
371
|
-
background-color: transparent !important;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.wot-theme-dark .wd-collapse-item__title {
|
|
375
|
-
color: var(--wot-dark-color2, #e0e0e0) !important;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.wot-theme-dark .wd-tabbar {
|
|
379
|
-
background-color: #111111 !important;
|
|
380
|
-
border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.wot-theme-dark .wd-tabbar-item {
|
|
384
|
-
color: #ffffff;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.wot-theme-dark .wd-tabbar-item__body .is-inactive {
|
|
388
|
-
color: #ffffff !important;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.wot-theme-dark .wd-tabbar-item--active {
|
|
392
|
-
color: var(--wot-color-primary, #2164f3) !important;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.wot-theme-dark .wd-tabbar-item--active .wd-icon,
|
|
396
|
-
.wot-theme-dark .wd-tabbar-item--active .wd-tabbar-item__icon {
|
|
397
|
-
color: var(--wot-color-primary, #2164f3) !important;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
.wot-theme-dark .wd-tabbar-item--active .wd-tabbar-item__body-title {
|
|
401
|
-
color: var(--wot-color-primary, #2164f3) !important;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.wot-theme-dark .wd-navbar {
|
|
405
|
-
background-color: #1b1b1e !important;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.wot-theme-dark .wd-cell__arrow {
|
|
409
|
-
color: #555555 !important;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.wot-theme-dark .wd-cell__left-icon {
|
|
413
|
-
color: #e0e0e0 !important;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
.wot-theme-dark .wd-card {
|
|
417
|
-
background: linear-gradient(180deg, #1e1e23 0%, #19191e 100%) !important;
|
|
418
|
-
box-shadow:
|
|
419
|
-
0 8rpx 32rpx rgba(0, 0, 0, 0.25),
|
|
420
|
-
0 2rpx 8rpx rgba(0, 0, 0, 0.15) !important;
|
|
421
|
-
border-color: rgba(255, 255, 255, 0.06) !important;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.wot-theme-dark .wd-card__title {
|
|
425
|
-
color: #f9fafb !important;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.wot-theme-dark .wd-grid-item__text,
|
|
429
|
-
.wot-theme-dark .wd-grid-item__content text {
|
|
430
|
-
color: #e5e7eb !important;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.wot-theme-dark .wd-grid-item__wrapper,
|
|
434
|
-
.wot-theme-dark .wd-grid-item__content {
|
|
435
|
-
background-color: transparent !important;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
.wot-theme-dark .wd-grid-item {
|
|
439
|
-
background-color: transparent !important;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
.wot-theme-dark .recent-section {
|
|
443
|
-
background-color: #1e1e23 !important;
|
|
444
|
-
box-shadow:
|
|
445
|
-
0 4px 16px rgba(0, 0, 0, 0.2),
|
|
446
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
|
|
447
|
-
border: 1px solid rgba(255, 255, 255, 0.06) !important;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.wot-theme-dark .recent-label {
|
|
451
|
-
color: #d1d5db !important;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
/* 非TabBar区域内的普通图标(排除tabbar避免干扰选中态) */
|
|
455
|
-
.wot-theme-dark .wd-cell .wd-icon,
|
|
456
|
-
.wot-theme-dark .wd-navbar .wd-icon,
|
|
457
|
-
.wot-theme-dark .wd-button .wd-icon {
|
|
458
|
-
color: #e0e0e0 !important;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.wot-theme-dark .wd-cell .wd-icon svg,
|
|
462
|
-
.wot-theme-dark .wd-cell .wd-icon path,
|
|
463
|
-
.wot-theme-dark .wd-navbar .wd-icon svg,
|
|
464
|
-
.wot-theme-dark .wd-navbar .wd-icon path,
|
|
465
|
-
.wot-theme-dark .wd-button .wd-icon svg,
|
|
466
|
-
.wot-theme-dark .wd-button .wd-icon path {
|
|
467
|
-
fill: currentColor !important;
|
|
468
|
-
color: currentColor !important;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
.wot-theme-dark .wd-search,
|
|
472
|
-
.wot-theme-dark .wd-search.is-light,
|
|
473
|
-
.wot-theme-dark .wd-search.is-plain {
|
|
474
|
-
background: transparent !important;
|
|
475
|
-
--wot-search-input-bg: #252530 !important;
|
|
476
|
-
--wot-search-cover-bg: #252530 !important;
|
|
477
|
-
--wot-search-placeholder-color: #666666 !important;
|
|
478
|
-
--wot-search-cancel-color: var(--wot-color-primary, #2164f3) !important;
|
|
479
|
-
--wot-search-icon-color: #888888 !important;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.wot-theme-dark .wd-search .wd-search__block,
|
|
483
|
-
.wot-theme-dark .wd-search.is-light .wd-search__block,
|
|
484
|
-
.wot-theme-dark .wd-search.is-plain .wd-search__block {
|
|
485
|
-
background-color: #252530 !important;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
.wot-theme-dark .wd-search .wd-search__cover,
|
|
489
|
-
.wot-theme-dark .wd-search.is-light .wd-search__cover,
|
|
490
|
-
.wot-theme-dark .wd-search.is-plain .wd-search__cover {
|
|
491
|
-
background-color: #252530 !important;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
/* Rate 评分星级 - 暗黑模式下恢复星星选中效果 */
|
|
495
|
-
.wot-theme-dark .wd-rate {
|
|
496
|
-
--wot-rate-color: #555555;
|
|
497
|
-
--wot-rate-active-color: #f5a623;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
/* 恢复 wd-rate 星级颜色:放弃 background-clip:text(小程序不支持),改用原生 color 控制 SVG fill */
|
|
501
|
-
.wot-theme-dark .wd-rate .wd-rate__item-star {
|
|
502
|
-
background: none !important;
|
|
503
|
-
-webkit-background-clip: initial !important;
|
|
504
|
-
background-clip: initial !important;
|
|
505
|
-
color: var(--wot-rate-color, #555555) !important;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.wot-theme-dark .wd-rate .wd-rate__item-star svg,
|
|
509
|
-
.wot-theme-dark .wd-rate .wd-rate__item-star path {
|
|
510
|
-
fill: currentColor !important;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.wot-theme-dark .wd-rate .wd-rate__item-star--active,
|
|
514
|
-
.wot-theme-dark .wd-rate .wd-rate .wd-rate__item-star.wd-rate__item-star--active {
|
|
515
|
-
color: var(--wot-rate-active-color, #f5a623) !important;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.wot-theme-dark .wd-rate .wd-rate__item-star--active svg,
|
|
519
|
-
.wot-theme-dark .wd-rate .wd-rate__item-star--active path,
|
|
520
|
-
.wot-theme-dark .wd-rate .wd-rate .wd-rate__item-star.wd-rate__item-star--active svg,
|
|
521
|
-
.wot-theme-dark .wd-rate .wd-rate .wd-rate__item-star.wd-rate__item-star--active path {
|
|
522
|
-
fill: currentColor !important;
|
|
523
|
-
}
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/**
|
|
3
|
+
* 暗黑模式全局样式覆盖
|
|
4
|
+
* 用于强制覆盖 wot-design-uni 组件内部样式(:deep() 无法穿透的场景)
|
|
5
|
+
*
|
|
6
|
+
* 注意:此文件不能使用 scoped,否则无法穿透第三方组件
|
|
7
|
+
*
|
|
8
|
+
* @package wui-components-v2
|
|
9
|
+
*
|
|
10
|
+
* 使用方式:在项目 main.ts 中 import 此文件
|
|
11
|
+
* import 'wui-components-v2/styles/dark-mode'
|
|
12
|
+
*/
|
|
13
|
+
/* ====== CSS 变量定义(修正命名不匹配问题)====== */
|
|
14
|
+
/* wot-design-uni 的 kebabCase 转换会把 darkBackground2 → --wot-dark-background-2 */
|
|
15
|
+
/* 但项目中模板引用的是 --wot-dark-background2,需手动补齐 */
|
|
16
|
+
:root,
|
|
17
|
+
.wot-theme-dark {
|
|
18
|
+
--wot-dark-background: #1b1b1e;
|
|
19
|
+
--wot-dark-background2: #161616;
|
|
20
|
+
--wot-dark-background3: #1e1e1e;
|
|
21
|
+
--wot-dark-background4: #262626;
|
|
22
|
+
--wot-dark-background5: #333333;
|
|
23
|
+
--wot-dark-color: #ffffff;
|
|
24
|
+
--wot-dark-color2: #e8e8e8;
|
|
25
|
+
--wot-dark-color3: #999999;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* ====== 暗黑模式下 wot-design-uni 组件内部文字颜色覆盖 ====== */
|
|
29
|
+
.wot-theme-dark {
|
|
30
|
+
/* Cell 组件 */
|
|
31
|
+
/* CellGroup */
|
|
32
|
+
/* Switch 开关 */
|
|
33
|
+
/* Input 输入框 */
|
|
34
|
+
/* 原生 input 元素 - 必须用 uni- 前缀类名才能在小程序中命中 */
|
|
35
|
+
/* InputNumber 数字输入框 */
|
|
36
|
+
/* Textarea 多行文本输入框 */
|
|
37
|
+
/* Form 表单 */
|
|
38
|
+
/* Button 按钮 */
|
|
39
|
+
/* Popup 弹窗 */
|
|
40
|
+
/* ActionSheet */
|
|
41
|
+
/* Checkbox 复选框 */
|
|
42
|
+
/* SelectPicker 选择器弹窗 */
|
|
43
|
+
/* Calendar 日历选择器弹窗 */
|
|
44
|
+
/* Calendar 日历日期单元格暗黑适配(覆盖 wot-design-uni 内部变量)*/
|
|
45
|
+
/* YearPanel 年份选择器 */
|
|
46
|
+
/* picker-view 滚轮遮罩 - 暗黑模式下去掉白色渐变 */
|
|
47
|
+
/* DateTimePicker 时间选择器弹窗 */
|
|
48
|
+
/* Toast / Notify */
|
|
49
|
+
/* Picker */
|
|
50
|
+
/* Dialog */
|
|
51
|
+
/* Loading */
|
|
52
|
+
/* Tag 标签 */
|
|
53
|
+
/* Collapse 折叠面板 */
|
|
54
|
+
/* Tabbar tab栏 */
|
|
55
|
+
/* 未选中:白色 */
|
|
56
|
+
/* 选中态:蓝色(同权重,后定义覆盖前) */
|
|
57
|
+
/* Navbar 导航栏 */
|
|
58
|
+
/* Cell 右侧箭头图标 */
|
|
59
|
+
/* Cell 左侧图标 */
|
|
60
|
+
/* Card 卡片 - 菜单卡片暗黑背景 */
|
|
61
|
+
/* Grid 网格 */
|
|
62
|
+
/* Grid 图标区域 - 去掉白色背景 */
|
|
63
|
+
/* 快速访问区域(section-menus) */
|
|
64
|
+
/* 非TabBar区域内的普通图标(排除tabbar避免干扰选中态) */
|
|
65
|
+
/* Search 搜索栏 */
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.wot-theme-dark .wd-cell__title {
|
|
69
|
+
color: #e8e8e8 !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.wot-theme-dark .wd-cell__right {
|
|
73
|
+
color: #666666 !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.wot-theme-dark .wd-cell__icon {
|
|
77
|
+
color: #666666 !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.wot-theme-dark .wd-cell-group {
|
|
81
|
+
background-color: #111111 !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.wot-theme-dark .wd-cell {
|
|
85
|
+
background-color: #161616 !important;
|
|
86
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.wot-theme-dark .wd-cell:active {
|
|
90
|
+
background-color: #1b1b1e !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.wot-theme-dark .wd-switch__node {
|
|
94
|
+
background-color: #3d3d3d !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.wot-theme-dark .wd-switch__node--checked {
|
|
98
|
+
background-color: var(--wot-color-primary, #2164f3) !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.wot-theme-dark .wd-input {
|
|
102
|
+
--wot-input-bg: #252530;
|
|
103
|
+
--wot-input-inner-color: #e8e8e8;
|
|
104
|
+
--wot-input-inner-placeholder-color: #fff;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.wot-theme-dark .uni-input-input,
|
|
108
|
+
.wot-theme-dark .wd-input__input,
|
|
109
|
+
.wot-theme-dark .wd-input.is-compact .uni-input-input {
|
|
110
|
+
color: var(--wot-input-inner-color, #e8e8e8) !important;
|
|
111
|
+
caret-color: var(--wot-color-primary, #2164f3) !important;
|
|
112
|
+
background-color: transparent !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.wot-theme-dark .uni-input-placeholder,
|
|
116
|
+
.wot-theme-dark .wd-input__placeholder,
|
|
117
|
+
.wot-theme-dark .wd-input.is-compact .uni-input-placeholder {
|
|
118
|
+
color: #fff !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.wot-theme-dark .wd-input-number {
|
|
122
|
+
--wot-input-number-bg: #252530;
|
|
123
|
+
--wot-input-number-inner-color: #000000;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.wot-theme-dark .wd-input-number .uni-input-input,
|
|
127
|
+
.wot-theme-dark .wd-input-number__input {
|
|
128
|
+
color: var(--wot-input-number-inner-color, #000000) !important;
|
|
129
|
+
caret-color: var(--wot-color-primary, #2164f3) !important;
|
|
130
|
+
background-color: transparent !important;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.wot-theme-dark .wd-input-number .uni-input-placeholder,
|
|
134
|
+
.wot-theme-dark .wd-input-number__input::placeholder,
|
|
135
|
+
.wot-theme-dark .wd-input-number__placeholder {
|
|
136
|
+
color: #fff !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.wot-theme-dark .wd-textarea {
|
|
140
|
+
--wot-textarea-bg: #252530;
|
|
141
|
+
--wot-textarea-inner-color: #e8e8e8;
|
|
142
|
+
--wot-textarea-inner-placeholder-color: #fff;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.wot-theme-dark .wd-textarea__inner {
|
|
146
|
+
color: var(--wot-textarea-inner-color, #e8e8e8) !important;
|
|
147
|
+
caret-color: var(--wot-color-primary, #2164f3) !important;
|
|
148
|
+
background-color: transparent !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.wot-theme-dark .wd-textarea__inner::placeholder,
|
|
152
|
+
.wot-theme-dark .wd-textarea__placeholder {
|
|
153
|
+
color: #fff !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.wot-theme-dark .wd-form {
|
|
157
|
+
background-color: transparent;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.wot-theme-dark .wd-form-item {
|
|
161
|
+
background-color: transparent !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.wot-theme-dark .wd-form-item .wd-cell {
|
|
165
|
+
background-color: transparent !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.wot-theme-dark .wd-form-item__label,
|
|
169
|
+
.wot-theme-dark .wd-form-item__title {
|
|
170
|
+
color: var(--wot-dark-color2, #e8e8e8) !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.wot-theme-dark .wd-form-item__body {
|
|
174
|
+
background-color: transparent;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.wot-theme-dark .wd-button--primary {
|
|
178
|
+
--wd-button-primary-bg-color: var(--wot-color-primary, #2164f3) !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.wot-theme-dark .wd-popup {
|
|
182
|
+
background-color: #1b1b1e !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.wot-theme-dark .wd-popup__container {
|
|
186
|
+
background-color: #161616 !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.wot-theme-dark .wd-popup__body {
|
|
190
|
+
background-color: #1b1b1e !important;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.wot-theme-dark .wd-action-sheet {
|
|
194
|
+
background-color: #161616 !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.wot-theme-dark .wd-action-sheet__title {
|
|
198
|
+
color: var(--wot-dark-color, #fff) !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.wot-theme-dark .wd-action-sheet__item {
|
|
202
|
+
color: var(--wot-dark-color2, #e0e0e0) !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.wot-theme-dark .wd-action-sheet__action {
|
|
206
|
+
background-color: #1b1b1e !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.wot-theme-dark .wd-checkbox__label {
|
|
210
|
+
color: var(--wot-dark-color, #fff) !important;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.wot-theme-dark .wd-select-picker__wrapper {
|
|
214
|
+
background-color: #1b1b1e;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.wot-theme-dark .wd-select-picker__popup {
|
|
218
|
+
background-color: #161616 !important;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.wot-theme-dark .wd-select-picker__checkbox-label,
|
|
222
|
+
.wot-theme-dark .wd-select-picker__radio-label {
|
|
223
|
+
color: var(--wot-dark-color2, #e8e8e8) !important;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.wot-theme-dark .wd-select-picker__text-active {
|
|
227
|
+
color: var(--wot-color-primary, #2164f3) !important;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.wot-theme-dark .wd-select-picker__footer {
|
|
231
|
+
background-color: #161616;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.wot-theme-dark .wd-calendar__wrapper {
|
|
235
|
+
background-color: #1b1b1e;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.wot-theme-dark .wd-calendar__popup {
|
|
239
|
+
background-color: #161616 !important;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.wot-theme-dark .wd-calendar__header {
|
|
243
|
+
color: var(--wot-dark-color, #fff);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.wot-theme-dark .wd-calendar__view,
|
|
247
|
+
.wot-theme-dark .wd-month-panel {
|
|
248
|
+
--wot-calendar-view-day-color: #e8e8e8;
|
|
249
|
+
/* 日期数字 */
|
|
250
|
+
--wot-calendar-view-week-color: #999999;
|
|
251
|
+
/* 星期头(日一二三四五六) */
|
|
252
|
+
--wot-calendar-view-panel-title-color: #ccc;
|
|
253
|
+
/* 面板标题(2026年6月) */
|
|
254
|
+
--wot-calendar-view-control-icon-color: #aaa;
|
|
255
|
+
/* 左右箭头图标 */
|
|
256
|
+
--wot-calendar-view-control-color-disabled: #444;
|
|
257
|
+
/* 禁用箭头 */
|
|
258
|
+
--wot-calendar-view-color-disabled: #555555;
|
|
259
|
+
/* 禁用/不可选日期 */
|
|
260
|
+
--wot-calendar-view-time-picker-color: #e8e8e8;
|
|
261
|
+
/* 时间选择器文字 */
|
|
262
|
+
--wot-calendar-view-time-picker-bg: #252530;
|
|
263
|
+
/* 时间选择器背景 */
|
|
264
|
+
--wot-calendar-view-range-color: #e8e8e8;
|
|
265
|
+
/* 区间模式文字色 */
|
|
266
|
+
background-color: transparent !important;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.wot-theme-dark .wd-calendar__tabs {
|
|
270
|
+
color: var(--wot-dark-color3, #999999) !important;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.wot-theme-dark .wd-calendar__shortcuts {
|
|
274
|
+
border-bottom-color: rgba(255, 255, 255, 0.06);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.wot-theme-dark .wd-calendar__view {
|
|
278
|
+
background-color: transparent;
|
|
279
|
+
color: var(--wot-dark-color2, #e8e8e8);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.wot-theme-dark .wd-calendar__range-item.is-placeholder {
|
|
283
|
+
color: var(--wot-dark-color3, #666666) !important;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.wot-theme-dark .wd-calendar__range-separator {
|
|
287
|
+
color: var(--wot-dark-color3, #666666) !important;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.wot-theme-dark .wd-year-panel {
|
|
291
|
+
--wot-calendar-bg: #1b1b1e;
|
|
292
|
+
--wot-picker-view-bg: #1b1b1e;
|
|
293
|
+
background-color: #1b1b1e;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.wot-theme-dark .wd-picker-view {
|
|
297
|
+
--wot-picker-view-bg: #1b1b1e;
|
|
298
|
+
--wot-picker-view-mask-start-color: rgba(0, 0, 0, 0.85);
|
|
299
|
+
--wot-picker-view-mask-end-color: rgba(0, 0, 0, 0.2);
|
|
300
|
+
--wot-picker-view-roller-bg: #2a2a30;
|
|
301
|
+
--wot-picker-view-column-item-color: #e8e8e8;
|
|
302
|
+
background-color: #1b1b1e;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.wot-theme-dark .wd-picker-view__mask {
|
|
306
|
+
background-image:
|
|
307
|
+
linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2)),
|
|
308
|
+
linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2)) !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.wot-theme-dark .wd-picker-view__roller {
|
|
312
|
+
background-color: #2a2a30 !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.wot-theme-dark .wd-picker-view__column-item {
|
|
316
|
+
color: #e8e8e8 !important;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.wot-theme-dark .wd-picker-view__column-item--active {
|
|
320
|
+
color: var(--wot-dark-color, #fff) !important;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.wot-theme-dark .wd-year-panel__text {
|
|
324
|
+
color: var(--wot-dark-color2, #e8e8e8);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.wot-theme-dark .wd-year-panel__item.is-active .wd-year-panel__text,
|
|
328
|
+
.wot-theme-dark .wd-year-panel__item.is-active {
|
|
329
|
+
color: var(--wot-color-primary, #2164f3) !important;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.wot-theme-dark .wd-datetime-picker__wrapper {
|
|
333
|
+
background-color: #1b1b1e;
|
|
334
|
+
color: var(--wot-dark-color2, #e8e8e8);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.wot-theme-dark .wd-datetime-picker__popup {
|
|
338
|
+
background-color: #161616 !important;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.wot-theme-dark::after {
|
|
342
|
+
background-color: transparent !important;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.wot-theme-dark .wd-toast {
|
|
346
|
+
color: #fff !important;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.wot-theme-dark .wd-picker__title,
|
|
350
|
+
.wot-theme-dark .wd-picker__toolbar {
|
|
351
|
+
color: var(--wot-dark-color2, #e0e0) !important;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.wot-theme-dark .wd-dialog {
|
|
355
|
+
color: var(--wot-dark-color2, #e0e0e0) !important;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.wot-theme-dark .wd-dialog__header {
|
|
359
|
+
color: var(--wot-dark-color, #fff) !important;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.wot-theme-dark .wd-loading-text {
|
|
363
|
+
color: var(--wot-dark-color3, #a0a0a0) !important;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.wot-theme-dark .wd-tag {
|
|
367
|
+
color: #fff !important;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.wot-theme-dark .wd-collapse {
|
|
371
|
+
background-color: transparent !important;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.wot-theme-dark .wd-collapse-item__title {
|
|
375
|
+
color: var(--wot-dark-color2, #e0e0e0) !important;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.wot-theme-dark .wd-tabbar {
|
|
379
|
+
background-color: #111111 !important;
|
|
380
|
+
border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.wot-theme-dark .wd-tabbar-item {
|
|
384
|
+
color: #ffffff;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.wot-theme-dark .wd-tabbar-item__body .is-inactive {
|
|
388
|
+
color: #ffffff !important;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.wot-theme-dark .wd-tabbar-item--active {
|
|
392
|
+
color: var(--wot-color-primary, #2164f3) !important;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.wot-theme-dark .wd-tabbar-item--active .wd-icon,
|
|
396
|
+
.wot-theme-dark .wd-tabbar-item--active .wd-tabbar-item__icon {
|
|
397
|
+
color: var(--wot-color-primary, #2164f3) !important;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.wot-theme-dark .wd-tabbar-item--active .wd-tabbar-item__body-title {
|
|
401
|
+
color: var(--wot-color-primary, #2164f3) !important;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.wot-theme-dark .wd-navbar {
|
|
405
|
+
background-color: #1b1b1e !important;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.wot-theme-dark .wd-cell__arrow {
|
|
409
|
+
color: #555555 !important;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.wot-theme-dark .wd-cell__left-icon {
|
|
413
|
+
color: #e0e0e0 !important;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.wot-theme-dark .wd-card {
|
|
417
|
+
background: linear-gradient(180deg, #1e1e23 0%, #19191e 100%) !important;
|
|
418
|
+
box-shadow:
|
|
419
|
+
0 8rpx 32rpx rgba(0, 0, 0, 0.25),
|
|
420
|
+
0 2rpx 8rpx rgba(0, 0, 0, 0.15) !important;
|
|
421
|
+
border-color: rgba(255, 255, 255, 0.06) !important;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.wot-theme-dark .wd-card__title {
|
|
425
|
+
color: #f9fafb !important;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.wot-theme-dark .wd-grid-item__text,
|
|
429
|
+
.wot-theme-dark .wd-grid-item__content text {
|
|
430
|
+
color: #e5e7eb !important;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.wot-theme-dark .wd-grid-item__wrapper,
|
|
434
|
+
.wot-theme-dark .wd-grid-item__content {
|
|
435
|
+
background-color: transparent !important;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.wot-theme-dark .wd-grid-item {
|
|
439
|
+
background-color: transparent !important;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.wot-theme-dark .recent-section {
|
|
443
|
+
background-color: #1e1e23 !important;
|
|
444
|
+
box-shadow:
|
|
445
|
+
0 4px 16px rgba(0, 0, 0, 0.2),
|
|
446
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
|
|
447
|
+
border: 1px solid rgba(255, 255, 255, 0.06) !important;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.wot-theme-dark .recent-label {
|
|
451
|
+
color: #d1d5db !important;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* 非TabBar区域内的普通图标(排除tabbar避免干扰选中态) */
|
|
455
|
+
.wot-theme-dark .wd-cell .wd-icon,
|
|
456
|
+
.wot-theme-dark .wd-navbar .wd-icon,
|
|
457
|
+
.wot-theme-dark .wd-button .wd-icon {
|
|
458
|
+
color: #e0e0e0 !important;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.wot-theme-dark .wd-cell .wd-icon svg,
|
|
462
|
+
.wot-theme-dark .wd-cell .wd-icon path,
|
|
463
|
+
.wot-theme-dark .wd-navbar .wd-icon svg,
|
|
464
|
+
.wot-theme-dark .wd-navbar .wd-icon path,
|
|
465
|
+
.wot-theme-dark .wd-button .wd-icon svg,
|
|
466
|
+
.wot-theme-dark .wd-button .wd-icon path {
|
|
467
|
+
fill: currentColor !important;
|
|
468
|
+
color: currentColor !important;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.wot-theme-dark .wd-search,
|
|
472
|
+
.wot-theme-dark .wd-search.is-light,
|
|
473
|
+
.wot-theme-dark .wd-search.is-plain {
|
|
474
|
+
background: transparent !important;
|
|
475
|
+
--wot-search-input-bg: #252530 !important;
|
|
476
|
+
--wot-search-cover-bg: #252530 !important;
|
|
477
|
+
--wot-search-placeholder-color: #666666 !important;
|
|
478
|
+
--wot-search-cancel-color: var(--wot-color-primary, #2164f3) !important;
|
|
479
|
+
--wot-search-icon-color: #888888 !important;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.wot-theme-dark .wd-search .wd-search__block,
|
|
483
|
+
.wot-theme-dark .wd-search.is-light .wd-search__block,
|
|
484
|
+
.wot-theme-dark .wd-search.is-plain .wd-search__block {
|
|
485
|
+
background-color: #252530 !important;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.wot-theme-dark .wd-search .wd-search__cover,
|
|
489
|
+
.wot-theme-dark .wd-search.is-light .wd-search__cover,
|
|
490
|
+
.wot-theme-dark .wd-search.is-plain .wd-search__cover {
|
|
491
|
+
background-color: #252530 !important;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/* Rate 评分星级 - 暗黑模式下恢复星星选中效果 */
|
|
495
|
+
.wot-theme-dark .wd-rate {
|
|
496
|
+
--wot-rate-color: #555555;
|
|
497
|
+
--wot-rate-active-color: #f5a623;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* 恢复 wd-rate 星级颜色:放弃 background-clip:text(小程序不支持),改用原生 color 控制 SVG fill */
|
|
501
|
+
.wot-theme-dark .wd-rate .wd-rate__item-star {
|
|
502
|
+
background: none !important;
|
|
503
|
+
-webkit-background-clip: initial !important;
|
|
504
|
+
background-clip: initial !important;
|
|
505
|
+
color: var(--wot-rate-color, #555555) !important;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.wot-theme-dark .wd-rate .wd-rate__item-star svg,
|
|
509
|
+
.wot-theme-dark .wd-rate .wd-rate__item-star path {
|
|
510
|
+
fill: currentColor !important;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.wot-theme-dark .wd-rate .wd-rate__item-star--active,
|
|
514
|
+
.wot-theme-dark .wd-rate .wd-rate .wd-rate__item-star.wd-rate__item-star--active {
|
|
515
|
+
color: var(--wot-rate-active-color, #f5a623) !important;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.wot-theme-dark .wd-rate .wd-rate__item-star--active svg,
|
|
519
|
+
.wot-theme-dark .wd-rate .wd-rate__item-star--active path,
|
|
520
|
+
.wot-theme-dark .wd-rate .wd-rate .wd-rate__item-star.wd-rate__item-star--active svg,
|
|
521
|
+
.wot-theme-dark .wd-rate .wd-rate .wd-rate__item-star.wd-rate__item-star--active path {
|
|
522
|
+
fill: currentColor !important;
|
|
523
|
+
}
|