wui-components-v2 1.2.54 → 1.2.56

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.
@@ -1,11 +1,10 @@
1
1
  <script setup lang="ts">
2
2
  import { computed, ref } from 'vue'
3
- import { useDialog } from '@wot-ui/ui'
3
+ import { useDialog, useToast } from '@wot-ui/ui'
4
4
  import { useUser } from '../../composables/useUser'
5
5
  import { generateGradientColor } from '../../utils'
6
6
  import { useManualTheme } from '../../composables/useManualTheme'
7
7
  import { getUserConfig } from '../../api/login'
8
- import { useGlobalToast } from '../../composables/useGlobalToast'
9
8
  import { req } from '../../api/index'
10
9
  import WuiUpdateComponent from '../wui-update-component/wui-update-component.vue'
11
10
  import { onShow } from '@dcloudio/uni-app'
@@ -61,6 +60,16 @@ const props = defineProps({
61
60
  type: Boolean,
62
61
  default: false,
63
62
  },
63
+ // 是否显示"扫码识别"入口
64
+ showScan: {
65
+ type: Boolean,
66
+ default: false,
67
+ },
68
+ // 扫码识别页面路径
69
+ scanPath: {
70
+ type: String,
71
+ default: '/pages/scan-panel/index',
72
+ },
64
73
  // 是否显示传感器状态卡片
65
74
  showSensorStatus: {
66
75
  type: Boolean,
@@ -92,7 +101,9 @@ const cellGroupStyle = computed(() => ({
92
101
  borderRadius: isDark.value ? '10px' : '0',
93
102
  }))
94
103
  const dialog = useDialog()
95
- const toast = useGlobalToast()
104
+ // 使用 wot-ui 的 useToast:其内部通过 provide/inject 与页面上的 <wd-toast> 共享同一个 ref,
105
+ // 更新 ref 才会触发 <wd-toast> 显示。若使用 pinia 的 useGlobalToast,<wd-toast> 收不到变化,toast 不显示。
106
+ const toast = useToast()
96
107
 
97
108
  const storeUser = useUser().getUserInfo()
98
109
  const userInfo = ref({
@@ -154,8 +165,10 @@ onShow(() => {
154
165
  if (!props.sensorCode) {
155
166
  sensorCode.value = uni.getStorageSync('sensorCode') || uni.getStorageSync('userInfo')?.sensorCode || ''
156
167
  }
157
- // 进入页面时查询传感器在线状态
158
- getSensorInfo()
168
+ // 进入页面时查询传感器在线状态(仅云音/听音模式需要)
169
+ if (props.isYunyin) {
170
+ getSensorInfo()
171
+ }
159
172
  })
160
173
 
161
174
  // 从返回结果中提取在线状态(兼容 1/0、true/false、嵌套 data 等结构)
@@ -167,6 +180,8 @@ function resolveSensorStatus(res: any): number {
167
180
 
168
181
  // 获取传感器在线信息:组件内置调用 /data/sensorOnline 接口(req 自动拼接 /Device 前缀)
169
182
  async function getSensorInfo(cli?: string) {
183
+ // 非云音/听音模式不需要传感器在线状态,直接返回,避免多余请求
184
+ if (!props.isYunyin) return
170
185
  let code = sensorCode.value
171
186
  let newCode = code ? code.slice(3) : ''
172
187
  if (!newCode) return
@@ -217,10 +232,19 @@ function setting() {
217
232
  })
218
233
  }
219
234
  async function clearCache() {
220
- const res = await getUserConfig()
221
- if (res.status == 'success') {
222
- toast.success({ msg: '清除成功!' })
223
- uni.setStorageSync('userInfo', res.user)
235
+ try {
236
+ const res = await getUserConfig()
237
+ if (res.status === 'success') {
238
+ toast.success({ msg: '清除成功!' })
239
+ uni.setStorageSync('userInfo', res.user)
240
+ }
241
+ else {
242
+ toast.error({ msg: res.message || res.msg || '清除失败,请重试' })
243
+ }
244
+ }
245
+ catch (error: any) {
246
+ console.error('清除缓存失败:', error)
247
+ toast.error({ msg: error?.data?.message || '清除失败,请检查登录状态' })
224
248
  }
225
249
  }
226
250
 
@@ -250,6 +274,14 @@ function saveSensorConfig() {
250
274
  toast.success({ msg: '传感器配置保存成功' })
251
275
  showSensorConfig.value = false
252
276
  }
277
+
278
+ // ==================== 扫码识别 ====================
279
+ // 打开扫码识别页面
280
+ function openScanPanel() {
281
+ uni.navigateTo({
282
+ url: props.scanPath,
283
+ })
284
+ }
253
285
  </script>
254
286
 
255
287
  <template>
@@ -326,6 +358,15 @@ function saveSensorConfig() {
326
358
  :custom-style="cellStyle"
327
359
  @click="queryVersion"
328
360
  />
361
+ <wd-cell
362
+ v-if="showScan"
363
+ title="扫码识别"
364
+ icon="scan"
365
+ :is-link="true"
366
+ :clickable="true"
367
+ :custom-style="cellStyle"
368
+ @click="openScanPanel"
369
+ />
329
370
  <wd-cell
330
371
  v-if="showSensorConfig && isYunyin"
331
372
  title="修改传感器配置"
@@ -393,6 +434,9 @@ function saveSensorConfig() {
393
434
  </wd-popup>
394
435
 
395
436
  <wd-dialog />
437
+ <!-- 关键:useToast() 在组件内 provide 的 ref 只能被子级 <wd-toast> 消费。
438
+ 若此处不放 <wd-toast>,外部(如 wui-tabbar)的 <wd-toast> 与 useToast() 作用域隔离,toast 无法显示。 -->
439
+ <wd-toast />
396
440
  </view>
397
441
  </template>
398
442
 
package/index.ts CHANGED
@@ -27,6 +27,7 @@ import WuiUpdateComponent from './components/wui-update-component/wui-update-com
27
27
  import WuiScanBindingSensor from './components/wui-scan-binding-sensor/wui-scan-binding-sensor.vue'
28
28
  import WuiUser from './components/wui-user/wui-user.vue'
29
29
  import WuiAutoUpdateComponent from './components/wui-auto-update-component/wui-auto-update-component.vue'
30
+ import WuiScanPanel from './components/wui-scan-panel/wui-scan-panel.vue'
30
31
  import iData from './utils/idata-scan' // PAD扫描
31
32
  import wuiSearchHistoryBabbar from './components/wui-search-history-babbar/wui-search-history-babbar.vue'
32
33
  import wuienumeSelectControl from './components/wui-enume-select-control/wui-enume-select-control.vue'
@@ -46,6 +47,7 @@ const coms: Array<{ name: string }> = [
46
47
  WuiScanBindingSensor,
47
48
  WuiUser,
48
49
  WuiAutoUpdateComponent,
50
+ WuiScanPanel,
49
51
  Wuilogin1,
50
52
  WuiMenus1,
51
53
  wuiSearchHistoryBabbar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wui-components-v2",
3
- "version": "1.2.54",
3
+ "version": "1.2.56",
4
4
  "description": "wui 组件库",
5
5
  "author": "wgxshh",
6
6
  "license": "MIT",
@@ -1,498 +0,0 @@
1
- // /**
2
- // * 暗黑模式全局样式覆盖
3
- // * 用于强制覆盖 wot-design-uni 组件内部样式(:deep() 无法穿透的场景)
4
- // *
5
- // * 注意:此文件不能使用 scoped,否则无法穿透第三方组件
6
- // *
7
- // * @package wui-components-v2
8
- // *
9
- // * 使用方式:在项目 main.ts 中 import 此文件
10
- // * import 'wui-components-v2/styles/dark-mode'
11
- // */
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
- // .wd-cell__title {
32
- // color: #e8e8e8 !important;
33
- // }
34
-
35
- // .wd-cell__right {
36
- // color: #666666 !important;
37
- // }
38
-
39
- // .wd-cell__icon {
40
- // color: #666666 !important;
41
- // }
42
-
43
- // /* CellGroup */
44
- // .wd-cell-group {
45
- // background-color: #111111 !important;
46
- // }
47
-
48
- // .wd-cell {
49
- // background-color: #161616 !important;
50
- // border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
51
-
52
- // &:active {
53
- // background-color: #1b1b1e !important;
54
- // }
55
- // }
56
-
57
- // /* Switch 开关 */
58
- // .wd-switch__node {
59
- // background-color: #3d3d3d !important;
60
- // }
61
-
62
- // .wd-switch__node--checked {
63
- // background-color: var(--wot-color-primary, #2164f3) !important;
64
- // }
65
-
66
- // /* Input 输入框 */
67
- // .wd-input {
68
- // --wot-input-bg: #252530;
69
- // --wot-input-inner-color: #e8e8e8;
70
- // --wot-input-inner-placeholder-color: #fff;
71
- // }
72
-
73
- // /* 原生 input 元素 - 必须用 uni- 前缀类名才能在小程序中命中 */
74
- // .uni-input-input,
75
- // .wd-input__input,
76
- // .wd-input.is-compact .uni-input-input {
77
- // color: var(--wot-input-inner-color, #e8e8e8) !important;
78
- // caret-color: var(--wot-color-primary, #2164f3) !important;
79
- // background-color: transparent !important;
80
- // }
81
-
82
- // .uni-input-placeholder,
83
- // .wd-input__placeholder,
84
- // .wd-input.is-compact .uni-input-placeholder {
85
- // color: #fff !important;
86
- // }
87
-
88
- // /* InputNumber 数字输入框 */
89
- // .wd-input-number {
90
- // --wot-input-number-bg: #252530;
91
- // --wot-input-number-inner-color: #000000;
92
- // }
93
-
94
- // .wd-input-number .uni-input-input,
95
- // .wd-input-number__input {
96
- // color: var(--wot-input-number-inner-color, #000000) !important;
97
- // caret-color: var(--wot-color-primary, #2164f3) !important;
98
- // background-color: transparent !important;
99
- // }
100
-
101
- // .wd-input-number .uni-input-placeholder,
102
- // .wd-input-number__input::placeholder,
103
- // .wd-input-number__placeholder {
104
- // color: #fff !important;
105
- // }
106
-
107
- // /* Textarea 多行文本输入框 */
108
- // .wd-textarea {
109
- // --wot-textarea-bg: #252530;
110
- // --wot-textarea-inner-color: #e8e8e8;
111
- // --wot-textarea-inner-placeholder-color: #fff;
112
- // }
113
-
114
- // .wd-textarea__inner {
115
- // color: var(--wot-textarea-inner-color, #e8e8e8) !important;
116
- // caret-color: var(--wot-color-primary, #2164f3) !important;
117
- // background-color: transparent !important;
118
- // }
119
-
120
- // .wd-textarea__inner::placeholder,
121
- // .wd-textarea__placeholder {
122
- // color: #fff !important;
123
- // }
124
-
125
- // /* Form 表单 */
126
- // .wd-form {
127
- // background-color: transparent;
128
- // }
129
-
130
- // .wd-form-item {
131
- // background-color: transparent !important;
132
-
133
- // .wd-cell {
134
- // background-color: transparent !important;
135
- // }
136
- // }
137
-
138
- // .wd-form-item__label,
139
- // .wd-form-item__title {
140
- // color: var(--wot-dark-color2, #e8e8e8) !important;
141
- // }
142
-
143
- // .wd-form-item__body {
144
- // background-color: transparent;
145
- // }
146
-
147
- // /* Button 按钮 */
148
- // .wd-button--primary {
149
- // --wd-button-primary-bg-color: var(--wot-color-primary, #2164f3) !important;
150
- // }
151
-
152
- // /* Popup 弹窗 */
153
- // .wd-popup {
154
- // background-color: transparent !important;
155
- // }
156
-
157
- // .wd-popup__container {
158
- // background-color: #161616 !important;
159
- // }
160
-
161
- // .wd-popup__body {
162
- // background-color: #1b1b1e !important;
163
- // }
164
-
165
- // /* ActionSheet */
166
- // .wd-action-sheet {
167
- // background-color: #161616 !important;
168
- // }
169
-
170
- // .wd-action-sheet__title {
171
- // color: var(--wot-dark-color, #fff) !important;
172
- // }
173
-
174
- // .wd-action-sheet__item {
175
- // color: var(--wot-dark-color2, #e0e0e0) !important;
176
- // }
177
-
178
- // .wd-action-sheet__action {
179
- // background-color: #1b1b1e !important;
180
- // }
181
-
182
- // /* Checkbox 复选框 */
183
- // .wd-checkbox__label {
184
- // color: var(--wot-dark-color, #fff) !important;
185
- // }
186
-
187
- // /* SelectPicker 选择器弹窗 */
188
- // .wd-select-picker__wrapper {
189
- // background-color: #1b1b1e;
190
- // }
191
-
192
- // .wd-select-picker__popup {
193
- // background-color: #161616 !important;
194
- // }
195
-
196
- // .wd-select-picker__checkbox-label,
197
- // .wd-select-picker__radio-label {
198
- // color: var(--wot-dark-color2, #e8e8e8) !important;
199
- // }
200
-
201
- // .wd-select-picker__text-active {
202
- // color: var(--wot-color-primary, #2164f3) !important;
203
- // }
204
-
205
- // .wd-select-picker__footer {
206
- // background-color: #161616;
207
- // }
208
-
209
- // /* Calendar 日历选择器弹窗 */
210
- // .wd-calendar__wrapper {
211
- // background-color: #1b1b1e;
212
- // }
213
-
214
- // .wd-calendar__popup {
215
- // background-color: #161616 !important;
216
- // }
217
-
218
- // .wd-calendar__header {
219
- // color: var(--wot-dark-color, #fff);
220
- // }
221
-
222
- // /* Calendar 日历日期单元格暗黑适配(覆盖 wot-design-uni 内部变量)*/
223
- // .wd-calendar__view,
224
- // .wd-month-panel {
225
- // --wot-calendar-view-day-color: #e8e8e8; /* 日期数字 */
226
- // --wot-calendar-view-week-color: #999999; /* 星期头(日一二三四五六) */
227
- // --wot-calendar-view-panel-title-color: #ccc; /* 面板标题(2026年6月) */
228
- // --wot-calendar-view-control-icon-color: #aaa; /* 左右箭头图标 */
229
- // --wot-calendar-view-control-color-disabled: #444; /* 禁用箭头 */
230
- // --wot-calendar-view-color-disabled: #555555; /* 禁用/不可选日期 */
231
- // --wot-calendar-view-time-picker-color: #e8e8e8; /* 时间选择器文字 */
232
- // --wot-calendar-view-time-picker-bg: #252530; /* 时间选择器背景 */
233
- // --wot-calendar-view-range-color: #e8e8e8; /* 区间模式文字色 */
234
- // background-color: transparent !important;
235
- // }
236
-
237
- // .wd-calendar__tabs {
238
- // color: var(--wot-dark-color3, #999999) !important;
239
- // }
240
-
241
- // .wd-calendar__shortcuts {
242
- // border-bottom-color: rgba(255, 255, 255, 0.06);
243
- // }
244
-
245
- // .wd-calendar__view {
246
- // background-color: transparent;
247
- // color: var(--wot-dark-color2, #e8e8e8);
248
- // }
249
-
250
- // .wd-calendar__range-item.is-placeholder {
251
- // color: var(--wot-dark-color3, #666666) !important;
252
- // }
253
-
254
- // .wd-calendar__range-separator {
255
- // color: var(--wot-dark-color3, #666666) !important;
256
- // }
257
-
258
- // /* YearPanel 年份选择器 */
259
- // .wd-year-panel {
260
- // --wot-calendar-bg: #1b1b1e;
261
- // --wot-picker-view-bg: #1b1b1e;
262
- // background-color: #1b1b1e;
263
- // }
264
-
265
- // .wd-picker-view {
266
- // --wot-picker-view-bg: #1b1b1e;
267
- // --wot-picker-view-mask-start-color: rgba(0, 0, 0, 0.85);
268
- // --wot-picker-view-mask-end-color: rgba(0, 0, 0, 0.2);
269
- // --wot-picker-view-roller-bg: #2a2a30;
270
- // --wot-picker-view-column-item-color: #e8e8e8;
271
- // background-color: #1b1b1e;
272
- // }
273
-
274
- // /* picker-view 滚轮遮罩 - 暗黑模式下去掉白色渐变 */
275
- // .wd-picker-view__mask {
276
- // background-image:
277
- // linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2)),
278
- // linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2)) !important;
279
- // }
280
-
281
- // .wd-picker-view__roller {
282
- // background-color: #2a2a30 !important;
283
- // }
284
-
285
- // .wd-picker-view__column-item {
286
- // color: #e8e8e8 !important;
287
- // }
288
-
289
- // .wd-picker-view__column-item--active {
290
- // color: var(--wot-dark-color, #fff) !important;
291
- // }
292
-
293
- // .wd-year-panel__text {
294
- // color: var(--wot-dark-color2, #e8e8e8);
295
- // }
296
-
297
- // .wd-year-panel__item.is-active .wd-year-panel__text,
298
- // .wd-year-panel__item.is-active {
299
- // color: var(--wot-color-primary, #2164f3) !important;
300
- // }
301
-
302
- // /* DateTimePicker 时间选择器弹窗 */
303
- // .wd-datetime-picker__wrapper {
304
- // background-color: #1b1b1e;
305
- // color: var(--wot-dark-color2, #e8e8e8);
306
- // }
307
-
308
- // .wd-datetime-picker__popup {
309
- // background-color: #161616 !important;
310
- // }
311
-
312
- // &::after {
313
- // background-color: transparent !important;
314
- // }
315
-
316
- // /* Toast / Notify */
317
- // .wd-toast {
318
- // color: #fff !important;
319
- // }
320
-
321
- // /* Picker */
322
- // .wd-picker__title,
323
- // .wd-picker__toolbar {
324
- // color: var(--wot-dark-color2, #e0e0) !important;
325
- // }
326
-
327
- // /* Dialog */
328
- // .wd-dialog {
329
- // color: var(--wot-dark-color2, #e0e0e0) !important;
330
- // }
331
-
332
- // .wd-dialog__header {
333
- // color: var(--wot-dark-color, #fff) !important;
334
- // }
335
-
336
- // /* Loading */
337
- // .wd-loading-text {
338
- // color: var(--wot-dark-color3, #a0a0a0) !important;
339
- // }
340
-
341
- // /* Tag 标签 */
342
- // .wd-tag {
343
- // color: #fff !important;
344
- // }
345
-
346
- // /* Collapse 折叠面板 */
347
- // .wd-collapse {
348
- // background-color: transparent !important;
349
- // }
350
-
351
- // .wd-collapse-item__title {
352
- // color: var(--wot-dark-color2, #e0e0e0) !important;
353
- // }
354
-
355
- // /* Tabbar tab栏 */
356
- // .wd-tabbar {
357
- // background-color: #111111 !important;
358
- // border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
359
- // }
360
-
361
- // /* 未选中:白色 */
362
- // .wd-tabbar-item {
363
- // color: #ffffff;
364
- // }
365
- // .wd-tabbar-item__body .is-inactive {
366
- // color: #ffffff !important;
367
- // }
368
-
369
- // /* 选中态:蓝色(同权重,后定义覆盖前) */
370
- // .wd-tabbar-item--active {
371
- // color: var(--wot-color-primary, #2164f3) !important;
372
- // }
373
- // .wd-tabbar-item--active .wd-icon,
374
- // .wd-tabbar-item--active .wd-tabbar-item__icon {
375
- // color: var(--wot-color-primary, #2164f3) !important;
376
- // }
377
- // .wd-tabbar-item--active .wd-tabbar-item__body-title {
378
- // color: var(--wot-color-primary, #2164f3) !important;
379
- // }
380
-
381
- // /* Navbar 导航栏 */
382
- // .wd-navbar {
383
- // background-color: #1b1b1e !important;
384
- // }
385
-
386
- // /* Cell 右侧箭头图标 */
387
- // .wd-cell__arrow {
388
- // color: #555555 !important;
389
- // }
390
-
391
- // /* Cell 左侧图标 */
392
- // .wd-cell__left-icon {
393
- // color: #e0e0e0 !important;
394
- // }
395
-
396
- // /* Card 卡片 - 菜单卡片暗黑背景 */
397
- // .wd-card {
398
- // background: linear-gradient(180deg, #1e1e23 0%, #19191e 100%) !important;
399
- // box-shadow:
400
- // 0 8rpx 32rpx rgba(0, 0, 0, 0.25),
401
- // 0 2rpx 8rpx rgba(0, 0, 0, 0.15) !important;
402
- // border-color: rgba(255, 255, 255, 0.06) !important;
403
- // }
404
-
405
- // .wd-card__title {
406
- // color: #f9fafb !important;
407
- // }
408
-
409
- // /* Grid 网格 */
410
- // .wd-grid-item__text,
411
- // .wd-grid-item__content text {
412
- // color: #e5e7eb !important;
413
- // }
414
-
415
- // /* Grid 图标区域 - 去掉白色背景 */
416
- // .wd-grid-item__wrapper,
417
- // .wd-grid-item__content {
418
- // background-color: transparent !important;
419
- // }
420
-
421
- // .wd-grid-item {
422
- // background-color: transparent !important;
423
- // }
424
-
425
- // /* 快速访问区域(section-menus) */
426
- // .recent-section {
427
- // background-color: #1e1e23 !important;
428
- // box-shadow:
429
- // 0 4px 16px rgba(0, 0, 0, 0.2),
430
- // inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
431
- // border: 1px solid rgba(255, 255, 255, 0.06) !important;
432
- // }
433
-
434
- // .recent-label {
435
- // color: #d1d5db !important;
436
- // }
437
-
438
- // /* 非TabBar区域内的普通图标(排除tabbar避免干扰选中态) */
439
- // .wd-cell .wd-icon,
440
- // .wd-navbar .wd-icon,
441
- // .wd-button .wd-icon {
442
- // color: #e0e0e0 !important;
443
-
444
- // svg,
445
- // path {
446
- // fill: currentColor !important;
447
- // color: currentColor !important;
448
- // }
449
- // }
450
-
451
- // /* Search 搜索栏 */
452
- // .wd-search,
453
- // .wd-search.is-light,
454
- // .wd-search.is-plain {
455
- // background: transparent !important;
456
- // --wot-search-input-bg: #252530 !important;
457
- // --wot-search-cover-bg: #252530 !important;
458
- // --wot-search-placeholder-color: #666666 !important;
459
- // --wot-search-cancel-color: var(--wot-color-primary, #2164f3) !important;
460
- // --wot-search-icon-color: #888888 !important;
461
-
462
- // .wd-search__block {
463
- // background-color: #252530 !important;
464
- // }
465
-
466
- // .wd-search__cover {
467
- // background-color: #252530 !important;
468
- // }
469
- // }
470
-
471
- // /* Rate 评分星级 - 暗黑模式下恢复星星选中效果 */
472
- // .wd-rate {
473
- // --wot-rate-color: #555555;
474
- // --wot-rate-active-color: #f5a623;
475
- // }
476
-
477
- // /* 恢复 wd-rate 星级颜色:放弃 background-clip:text(小程序不支持),改用原生 color 控制 SVG fill */
478
- // .wd-rate .wd-rate__item-star {
479
- // background: none !important;
480
- // -webkit-background-clip: initial !important;
481
- // background-clip: initial !important;
482
- // color: var(--wot-rate-color, #555555) !important;
483
-
484
- // svg,
485
- // path {
486
- // fill: currentColor !important;
487
- // }
488
-
489
- // &.wd-rate__item-star--active {
490
- // color: var(--wot-rate-active-color, #f5a623) !important;
491
-
492
- // svg,
493
- // path {
494
- // fill: currentColor !important;
495
- // }
496
- // }
497
- // }
498
- // }