@tplc/wot 0.0.1

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.
Files changed (328) hide show
  1. package/components/common/AbortablePromise.ts +36 -0
  2. package/components/common/abstracts/_config.scss +7 -0
  3. package/components/common/abstracts/_function.scss +76 -0
  4. package/components/common/abstracts/_mixin.scss +339 -0
  5. package/components/common/abstracts/variable.scss +1346 -0
  6. package/components/common/base64.ts +30 -0
  7. package/components/common/canvasHelper.ts +49 -0
  8. package/components/common/clickoutside.ts +34 -0
  9. package/components/common/dayjs.ts +157 -0
  10. package/components/common/event.ts +8 -0
  11. package/components/common/props.ts +51 -0
  12. package/components/common/util.ts +751 -0
  13. package/components/composables/useCell.ts +13 -0
  14. package/components/composables/useChildren.ts +122 -0
  15. package/components/composables/useCountDown.ts +138 -0
  16. package/components/composables/useLockScroll.ts +39 -0
  17. package/components/composables/useParent.ts +41 -0
  18. package/components/composables/usePopover.ts +193 -0
  19. package/components/composables/useQueue.ts +52 -0
  20. package/components/composables/useRaf.ts +37 -0
  21. package/components/composables/useTouch.ts +44 -0
  22. package/components/composables/useTranslate.ts +22 -0
  23. package/components/wd-action-sheet/index.scss +204 -0
  24. package/components/wd-action-sheet/types.ts +128 -0
  25. package/components/wd-action-sheet/wd-action-sheet.vue +174 -0
  26. package/components/wd-backtop/index.scss +25 -0
  27. package/components/wd-backtop/types.ts +37 -0
  28. package/components/wd-backtop/wd-backtop.vue +48 -0
  29. package/components/wd-badge/index.scss +59 -0
  30. package/components/wd-badge/types.ts +53 -0
  31. package/components/wd-badge/wd-badge.vue +69 -0
  32. package/components/wd-button/index.scss +340 -0
  33. package/components/wd-button/types.ts +112 -0
  34. package/components/wd-button/wd-button.vue +176 -0
  35. package/components/wd-calendar/index.scss +244 -0
  36. package/components/wd-calendar/types.ts +235 -0
  37. package/components/wd-calendar/wd-calendar.vue +456 -0
  38. package/components/wd-calendar-view/index.scss +9 -0
  39. package/components/wd-calendar-view/month/index.scss +151 -0
  40. package/components/wd-calendar-view/month/month.vue +391 -0
  41. package/components/wd-calendar-view/month/types.ts +19 -0
  42. package/components/wd-calendar-view/monthPanel/index.scss +89 -0
  43. package/components/wd-calendar-view/monthPanel/month-panel.vue +388 -0
  44. package/components/wd-calendar-view/monthPanel/types.ts +48 -0
  45. package/components/wd-calendar-view/types.ts +134 -0
  46. package/components/wd-calendar-view/utils.ts +451 -0
  47. package/components/wd-calendar-view/wd-calendar-view.vue +111 -0
  48. package/components/wd-calendar-view/year/index.scss +148 -0
  49. package/components/wd-calendar-view/year/types.ts +19 -0
  50. package/components/wd-calendar-view/year/year.vue +220 -0
  51. package/components/wd-calendar-view/yearPanel/index.scss +24 -0
  52. package/components/wd-calendar-view/yearPanel/types.ts +38 -0
  53. package/components/wd-calendar-view/yearPanel/year-panel.vue +140 -0
  54. package/components/wd-card/index.scss +70 -0
  55. package/components/wd-card/types.ts +30 -0
  56. package/components/wd-card/wd-card.vue +40 -0
  57. package/components/wd-cell/index.scss +189 -0
  58. package/components/wd-cell/types.ts +96 -0
  59. package/components/wd-cell/wd-cell.vue +135 -0
  60. package/components/wd-cell-group/index.scss +55 -0
  61. package/components/wd-cell-group/types.ts +41 -0
  62. package/components/wd-cell-group/wd-cell-group.vue +45 -0
  63. package/components/wd-checkbox/index.scss +285 -0
  64. package/components/wd-checkbox/types.ts +68 -0
  65. package/components/wd-checkbox/wd-checkbox.vue +185 -0
  66. package/components/wd-checkbox-group/index.scss +20 -0
  67. package/components/wd-checkbox-group/types.ts +59 -0
  68. package/components/wd-checkbox-group/wd-checkbox-group.vue +103 -0
  69. package/components/wd-circle/index.scss +18 -0
  70. package/components/wd-circle/types.ts +54 -0
  71. package/components/wd-circle/wd-circle.vue +318 -0
  72. package/components/wd-col/index.scss +19 -0
  73. package/components/wd-col/types.ts +15 -0
  74. package/components/wd-col/wd-col.vue +91 -0
  75. package/components/wd-col-picker/index.scss +241 -0
  76. package/components/wd-col-picker/types.ts +170 -0
  77. package/components/wd-col-picker/wd-col-picker.vue +550 -0
  78. package/components/wd-collapse/index.scss +55 -0
  79. package/components/wd-collapse/types.ts +63 -0
  80. package/components/wd-collapse/wd-collapse.vue +160 -0
  81. package/components/wd-collapse-item/index.scss +79 -0
  82. package/components/wd-collapse-item/types.ts +36 -0
  83. package/components/wd-collapse-item/wd-collapse-item.vue +182 -0
  84. package/components/wd-config-provider/types.ts +1023 -0
  85. package/components/wd-config-provider/wd-config-provider.vue +82 -0
  86. package/components/wd-count-down/index.scss +14 -0
  87. package/components/wd-count-down/types.ts +41 -0
  88. package/components/wd-count-down/utils.ts +52 -0
  89. package/components/wd-count-down/wd-count-down.vue +60 -0
  90. package/components/wd-count-to/index.scss +6 -0
  91. package/components/wd-count-to/types.ts +110 -0
  92. package/components/wd-count-to/wd-count-to.vue +134 -0
  93. package/components/wd-curtain/index.scss +80 -0
  94. package/components/wd-curtain/types.ts +45 -0
  95. package/components/wd-curtain/wd-curtain.vue +174 -0
  96. package/components/wd-datetime-picker/index.scss +243 -0
  97. package/components/wd-datetime-picker/types.ts +225 -0
  98. package/components/wd-datetime-picker/wd-datetime-picker.vue +827 -0
  99. package/components/wd-datetime-picker-view/index.scss +0 -0
  100. package/components/wd-datetime-picker-view/types.ts +137 -0
  101. package/components/wd-datetime-picker-view/wd-datetime-picker-view.vue +514 -0
  102. package/components/wd-divider/index.scss +32 -0
  103. package/components/wd-divider/types.ts +12 -0
  104. package/components/wd-divider/wd-divider.vue +29 -0
  105. package/components/wd-drop-menu/index.scss +89 -0
  106. package/components/wd-drop-menu/types.ts +38 -0
  107. package/components/wd-drop-menu/wd-drop-menu.vue +128 -0
  108. package/components/wd-drop-menu-item/index.scss +66 -0
  109. package/components/wd-drop-menu-item/types.ts +78 -0
  110. package/components/wd-drop-menu-item/wd-drop-menu-item.vue +230 -0
  111. package/components/wd-fab/index.scss +115 -0
  112. package/components/wd-fab/types.ts +61 -0
  113. package/components/wd-fab/wd-fab.vue +257 -0
  114. package/components/wd-form/index.scss +10 -0
  115. package/components/wd-form/types.ts +93 -0
  116. package/components/wd-form/wd-form.vue +185 -0
  117. package/components/wd-form-item/index.scss +17 -0
  118. package/components/wd-form-item/types.ts +22 -0
  119. package/components/wd-form-item/wd-form-item.vue +65 -0
  120. package/components/wd-gap/index.scss +9 -0
  121. package/components/wd-gap/types.ts +23 -0
  122. package/components/wd-gap/wd-gap.vue +39 -0
  123. package/components/wd-grid/index.scss +9 -0
  124. package/components/wd-grid/types.ts +54 -0
  125. package/components/wd-grid/wd-grid.vue +107 -0
  126. package/components/wd-grid-item/index.scss +137 -0
  127. package/components/wd-grid-item/types.ts +74 -0
  128. package/components/wd-grid-item/wd-grid-item.vue +181 -0
  129. package/components/wd-icon/index.scss +1222 -0
  130. package/components/wd-icon/types.ts +21 -0
  131. package/components/wd-icon/wd-icon.vue +53 -0
  132. package/components/wd-icon/wd-icons.ttf +0 -0
  133. package/components/wd-img/index.scss +19 -0
  134. package/components/wd-img/types.ts +53 -0
  135. package/components/wd-img/wd-img.vue +76 -0
  136. package/components/wd-img-cropper/index.scss +227 -0
  137. package/components/wd-img-cropper/types.ts +87 -0
  138. package/components/wd-img-cropper/wd-img-cropper.vue +659 -0
  139. package/components/wd-index-anchor/index.scss +34 -0
  140. package/components/wd-index-anchor/type.ts +9 -0
  141. package/components/wd-index-anchor/wd-index-anchor.vue +57 -0
  142. package/components/wd-index-bar/index.scss +39 -0
  143. package/components/wd-index-bar/type.ts +28 -0
  144. package/components/wd-index-bar/wd-index-bar.vue +158 -0
  145. package/components/wd-input/index.scss +326 -0
  146. package/components/wd-input/types.ts +182 -0
  147. package/components/wd-input/wd-input.vue +327 -0
  148. package/components/wd-input-number/index.scss +132 -0
  149. package/components/wd-input-number/types.ts +78 -0
  150. package/components/wd-input-number/wd-input-number.vue +221 -0
  151. package/components/wd-loading/index.scss +34 -0
  152. package/components/wd-loading/types.ts +31 -0
  153. package/components/wd-loading/wd-loading.vue +90 -0
  154. package/components/wd-loadmore/index.scss +39 -0
  155. package/components/wd-loadmore/types.ts +24 -0
  156. package/components/wd-loadmore/wd-loadmore.vue +53 -0
  157. package/components/wd-message-box/index.scss +121 -0
  158. package/components/wd-message-box/index.ts +95 -0
  159. package/components/wd-message-box/types.ts +116 -0
  160. package/components/wd-message-box/wd-message-box.vue +326 -0
  161. package/components/wd-navbar/index.scss +103 -0
  162. package/components/wd-navbar/types.ts +52 -0
  163. package/components/wd-navbar/wd-navbar.vue +142 -0
  164. package/components/wd-navbar-capsule/index.scss +65 -0
  165. package/components/wd-navbar-capsule/types.ts +0 -0
  166. package/components/wd-navbar-capsule/wd-navbar-capsule.vue +31 -0
  167. package/components/wd-notice-bar/index.scss +86 -0
  168. package/components/wd-notice-bar/types.ts +56 -0
  169. package/components/wd-notice-bar/wd-notice-bar.vue +223 -0
  170. package/components/wd-notify/index.scss +34 -0
  171. package/components/wd-notify/index.ts +59 -0
  172. package/components/wd-notify/types.ts +62 -0
  173. package/components/wd-notify/wd-notify.vue +83 -0
  174. package/components/wd-number-keyboard/index.scss +78 -0
  175. package/components/wd-number-keyboard/key/index.scss +79 -0
  176. package/components/wd-number-keyboard/key/index.vue +76 -0
  177. package/components/wd-number-keyboard/key/types.ts +11 -0
  178. package/components/wd-number-keyboard/types.ts +79 -0
  179. package/components/wd-number-keyboard/wd-number-keyboard.vue +173 -0
  180. package/components/wd-overlay/index.scss +17 -0
  181. package/components/wd-overlay/types.ts +25 -0
  182. package/components/wd-overlay/wd-overlay.vue +46 -0
  183. package/components/wd-pagination/index.scss +57 -0
  184. package/components/wd-pagination/types.ts +41 -0
  185. package/components/wd-pagination/wd-pagination.vue +121 -0
  186. package/components/wd-password-input/index.scss +123 -0
  187. package/components/wd-password-input/types.ts +48 -0
  188. package/components/wd-password-input/wd-password-input.vue +58 -0
  189. package/components/wd-picker/index.scss +216 -0
  190. package/components/wd-picker/types.ts +186 -0
  191. package/components/wd-picker/wd-picker.vue +409 -0
  192. package/components/wd-picker-view/index.scss +91 -0
  193. package/components/wd-picker-view/types.ts +162 -0
  194. package/components/wd-picker-view/wd-picker-view.vue +361 -0
  195. package/components/wd-popover/index.scss +123 -0
  196. package/components/wd-popover/types.ts +69 -0
  197. package/components/wd-popover/wd-popover.vue +216 -0
  198. package/components/wd-popup/index.scss +112 -0
  199. package/components/wd-popup/types.ts +68 -0
  200. package/components/wd-popup/wd-popup.vue +227 -0
  201. package/components/wd-progress/index.scss +62 -0
  202. package/components/wd-progress/types.ts +40 -0
  203. package/components/wd-progress/wd-progress.vue +201 -0
  204. package/components/wd-radio/index.scss +300 -0
  205. package/components/wd-radio/types.ts +42 -0
  206. package/components/wd-radio/wd-radio.vue +136 -0
  207. package/components/wd-radio-group/index.scss +23 -0
  208. package/components/wd-radio-group/types.ts +36 -0
  209. package/components/wd-radio-group/wd-radio-group.vue +54 -0
  210. package/components/wd-rate/index.scss +24 -0
  211. package/components/wd-rate/types.ts +91 -0
  212. package/components/wd-rate/wd-rate.vue +131 -0
  213. package/components/wd-resize/index.scss +26 -0
  214. package/components/wd-resize/types.ts +6 -0
  215. package/components/wd-resize/wd-resize.vue +155 -0
  216. package/components/wd-row/index.scss +10 -0
  217. package/components/wd-row/types.ts +16 -0
  218. package/components/wd-row/wd-row.vue +63 -0
  219. package/components/wd-search/index.scss +148 -0
  220. package/components/wd-search/types.ts +83 -0
  221. package/components/wd-search/wd-search.vue +237 -0
  222. package/components/wd-segmented/index.scss +97 -0
  223. package/components/wd-segmented/types.ts +68 -0
  224. package/components/wd-segmented/wd-segmented.vue +143 -0
  225. package/components/wd-select-picker/index.scss +177 -0
  226. package/components/wd-select-picker/types.ts +116 -0
  227. package/components/wd-select-picker/wd-select-picker.vue +486 -0
  228. package/components/wd-sidebar/index.scss +25 -0
  229. package/components/wd-sidebar/types.ts +28 -0
  230. package/components/wd-sidebar/wd-sidebar.vue +41 -0
  231. package/components/wd-sidebar-item/index.scss +93 -0
  232. package/components/wd-sidebar-item/types.ts +31 -0
  233. package/components/wd-sidebar-item/wd-sidebar-item.vue +114 -0
  234. package/components/wd-skeleton/index.scss +101 -0
  235. package/components/wd-skeleton/index.ts +1 -0
  236. package/components/wd-skeleton/types.ts +69 -0
  237. package/components/wd-skeleton/wd-skeleton.vue +135 -0
  238. package/components/wd-slider/index.scss +91 -0
  239. package/components/wd-slider/types.ts +104 -0
  240. package/components/wd-slider/wd-slider.vue +377 -0
  241. package/components/wd-sort-button/index.scss +86 -0
  242. package/components/wd-sort-button/types.ts +43 -0
  243. package/components/wd-sort-button/wd-sort-button.vue +76 -0
  244. package/components/wd-status-tip/index.scss +37 -0
  245. package/components/wd-status-tip/types.ts +59 -0
  246. package/components/wd-status-tip/wd-status-tip.vue +94 -0
  247. package/components/wd-step/index.scss +236 -0
  248. package/components/wd-step/types.ts +33 -0
  249. package/components/wd-step/wd-step.vue +151 -0
  250. package/components/wd-steps/index.scss +10 -0
  251. package/components/wd-steps/types.ts +59 -0
  252. package/components/wd-steps/wd-steps.vue +37 -0
  253. package/components/wd-sticky/index.scss +9 -0
  254. package/components/wd-sticky/types.ts +13 -0
  255. package/components/wd-sticky/wd-sticky.vue +190 -0
  256. package/components/wd-sticky-box/index.scss +6 -0
  257. package/components/wd-sticky-box/types.ts +20 -0
  258. package/components/wd-sticky-box/wd-sticky-box.vue +154 -0
  259. package/components/wd-swipe-action/index.scss +22 -0
  260. package/components/wd-swipe-action/types.ts +43 -0
  261. package/components/wd-swipe-action/wd-swipe-action.vue +307 -0
  262. package/components/wd-swiper/index.scss +23 -0
  263. package/components/wd-swiper/types.ts +189 -0
  264. package/components/wd-swiper/wd-swiper.vue +202 -0
  265. package/components/wd-swiper-nav/index.scss +153 -0
  266. package/components/wd-swiper-nav/types.ts +42 -0
  267. package/components/wd-swiper-nav/wd-swiper-nav.vue +37 -0
  268. package/components/wd-switch/index.scss +58 -0
  269. package/components/wd-switch/types.ts +56 -0
  270. package/components/wd-switch/wd-switch.vue +83 -0
  271. package/components/wd-tab/index.scss +8 -0
  272. package/components/wd-tab/types.ts +20 -0
  273. package/components/wd-tab/wd-tab.vue +100 -0
  274. package/components/wd-tabbar/index.scss +57 -0
  275. package/components/wd-tabbar/types.ts +88 -0
  276. package/components/wd-tabbar/wd-tabbar.vue +104 -0
  277. package/components/wd-tabbar-item/index.scss +52 -0
  278. package/components/wd-tabbar-item/types.ts +51 -0
  279. package/components/wd-tabbar-item/wd-tabbar-item.vue +101 -0
  280. package/components/wd-table/index.scss +132 -0
  281. package/components/wd-table/types.ts +69 -0
  282. package/components/wd-table/wd-table.vue +255 -0
  283. package/components/wd-table-col/index.scss +44 -0
  284. package/components/wd-table-col/types.ts +54 -0
  285. package/components/wd-table-col/wd-table-col.vue +149 -0
  286. package/components/wd-tabs/index.scss +280 -0
  287. package/components/wd-tabs/types.ts +71 -0
  288. package/components/wd-tabs/wd-tabs.vue +528 -0
  289. package/components/wd-tag/index.scss +115 -0
  290. package/components/wd-tag/types.ts +81 -0
  291. package/components/wd-tag/wd-tag.vue +154 -0
  292. package/components/wd-text/index.scss +34 -0
  293. package/components/wd-text/types.ts +98 -0
  294. package/components/wd-text/wd-text.vue +138 -0
  295. package/components/wd-textarea/index.scss +343 -0
  296. package/components/wd-textarea/types.ts +298 -0
  297. package/components/wd-textarea/wd-textarea.vue +303 -0
  298. package/components/wd-toast/index.scss +66 -0
  299. package/components/wd-toast/index.ts +109 -0
  300. package/components/wd-toast/types.ts +76 -0
  301. package/components/wd-toast/wd-toast.vue +212 -0
  302. package/components/wd-tooltip/index.scss +61 -0
  303. package/components/wd-tooltip/types.ts +102 -0
  304. package/components/wd-tooltip/wd-tooltip.vue +167 -0
  305. package/components/wd-transition/index.scss +91 -0
  306. package/components/wd-transition/types.ts +89 -0
  307. package/components/wd-transition/wd-transition.vue +221 -0
  308. package/components/wd-upload/index.scss +173 -0
  309. package/components/wd-upload/types.ts +378 -0
  310. package/components/wd-upload/utils.ts +152 -0
  311. package/components/wd-upload/wd-upload.vue +737 -0
  312. package/components/wd-video-preview/index.scss +34 -0
  313. package/components/wd-video-preview/types.ts +32 -0
  314. package/components/wd-video-preview/wd-video-preview.vue +76 -0
  315. package/components/wd-watermark/index.scss +18 -0
  316. package/components/wd-watermark/types.ts +82 -0
  317. package/components/wd-watermark/wd-watermark.vue +592 -0
  318. package/components/wot-design-uni/wot-design-uni.vue +14 -0
  319. package/global.d.ts +108 -0
  320. package/index.ts +30 -0
  321. package/locale/index.ts +41 -0
  322. package/locale/lang/en-US.ts +128 -0
  323. package/locale/lang/th-TH.ts +127 -0
  324. package/locale/lang/vi-VN.ts +89 -0
  325. package/locale/lang/zh-CN.ts +127 -0
  326. package/locale/lang/zh-HK.ts +84 -0
  327. package/locale/lang/zh-TW.ts +84 -0
  328. package/package.json +20 -0
@@ -0,0 +1,1346 @@
1
+ @import './function';
2
+ /**
3
+ * UI规范基础变量
4
+ */
5
+ /*----------------------------------------- Theme color. start ----------------------------------------*/
6
+ /* 主题颜色 */
7
+ $-color-theme: var(--wot-color-theme, $default-theme) !default; // 主题色
8
+ $-color-white: var(--wot-color-white, rgb(255, 255, 255)) !default; // 用于mix的白色
9
+ $-color-black: var(--wot-color-black, rgb(0, 0, 0)) !default; // 用于mix的黑色
10
+ /* 辅助色 */
11
+ $-color-success: var(--wot-color-success, #34d19d) !default; // 成功色
12
+ $-color-warning: var(--wot-color-warning, #f0883a) !default; // 警告色
13
+ $-color-danger: var(--wot-color-danger, #fa4350) !default; // 危险出错色
14
+ $-color-purple: var(--wot-color-purple, #8268de) !default; // 紫色
15
+ $-color-yellow: var(--wot-color-yellow, #f0cd1d) !default; // 黄色
16
+ $-color-blue: var(--wot-color-blue, #2bb3ed) !default; // 蓝色
17
+ $-color-info: var(--wot-color-info, #909399) !default;
18
+
19
+ $-color-gray-1: var(--wot-color-gray-1, #f7f8fa) !default;
20
+ $-color-gray-2: var(--wot-color-gray-2, #f2f3f5) !default;
21
+ $-color-gray-3: var(--wot-color-gray-3, #ebedf0) !default;
22
+ $-color-gray-4: var(--wot-color-gray-4, #dcdee0) !default;
23
+ $-color-gray-5: var(--wot-color-gray-5, #c8c9cc) !default;
24
+ $-color-gray-6: var(--wot-color-gray-6, #969799) !default;
25
+ $-color-gray-7: var(--wot-color-gray-7, #646566) !default;
26
+ $-color-gray-8: var(--wot-color-gray-8, #323233) !default;
27
+
28
+ $-font-gray-1: var(--wot-font-gray-1, rgba(0, 0, 0, 0.9));
29
+ $-font-gray-2: var(--wot-font-gray-2, rgba(0, 0, 0, 0.6));
30
+ $-font-gray-3: var(--wot-font-gray-3, rgba(0, 0, 0, 0.4));
31
+ $-font-gray-4: var(--wot-font-gray-4, rgba(0, 0, 0, 0.26));
32
+
33
+ $-font-white-1: var(--wot-font-white-1, rgba(255, 255, 255, 1));
34
+ $-font-white-2: var(--wot-font-white-2, rgba(255, 255, 255, 0.55));
35
+ $-font-white-3: var(--wot-font-white-3, rgba(255, 255, 255, 0.35));
36
+ $-font-white-4: var(--wot-font-white-4, rgba(255, 255, 255, 0.22));
37
+ /* 文字颜色(默认浅色背景下 */
38
+ $-color-title: var(--wot-color-title, $-color-black) !default; // 模块标题/重要正文 000
39
+ $-color-content: var(--wot-color-content, #262626) !default; // 普通正文 262626
40
+ $-color-secondary: var(--wot-color-secondary, #595959) !default; // 次要信息,注释/补充/正文 595959
41
+ $-color-aid: var(
42
+ --wot-color-aid,
43
+ #8c8c8c
44
+ ) !default; // 辅助文字字号,弱化信息,引导性/不可点文字 8c8c8c
45
+ $-color-tip: var(--wot-color-tip, #bfbfbf) !default; // 失效、默认提示文字 bfbfbf
46
+ $-color-border: var(--wot-color-border, #d9d9d9) !default; // 控件边框线 d9d9d9
47
+ $-color-border-light: var(--wot-color-border-light, #e8e8e8) !default; // 分割线颜色 e8e8e8
48
+ $-color-bg: var(--wot-color-bg, #f5f5f5) !default; // 背景色、禁用填充色 f5f5f5
49
+ /* 暗黑模式 */
50
+ $-dark-background: var(--wot-dark-background, #131313) !default;
51
+ $-dark-background2: var(--wot-dark-background2, #1b1b1b) !default;
52
+ $-dark-background3: var(--wot-dark-background3, #141414) !default;
53
+ $-dark-background4: var(--wot-dark-background4, #323233) !default;
54
+ $-dark-background5: var(--wot-dark-background5, #646566) !default;
55
+ $-dark-background6: var(--wot-dark-background6, #380e08) !default;
56
+ $-dark-background7: var(--wot-dark-background7, #707070) !default;
57
+ $-dark-color: var(--wot-dark-color, $-color-white) !default;
58
+ $-dark-color2: var(--wot-dark-color2, #f2270c) !default;
59
+ $-dark-color3: var(--wot-dark-color3, rgba(232, 230, 227, 0.8)) !default;
60
+ $-dark-color-gray: var(--wot-dark-color-gray, $-color-secondary) !default;
61
+ $-dark-border-color: var(--wot-dark-border-color, #3a3a3c) !default;
62
+ /* 图形颜色 */
63
+ $-color-icon: var(--wot-color-icon, #d9d9d9) !default; // icon颜色
64
+ $-color-icon-active: var(--wot-color-icon-active, #eee) !default; // icon颜色hover
65
+ $-color-icon-disabled: var(--wot-color-icon-disabled, #a7a7a7) !default; // icon颜色disabled
66
+ /*----------------------------------------- Theme color. end -------------------------------------------*/
67
+ /*-------------------------------- Theme color application size. start --------------------------------*/
68
+ /* 文字字号 */
69
+ $-fs-big: var(--wot-fs-big, 24px) !default; // 大型标题
70
+ $-fs-important: var(--wot-fs-important, 19px) !default; // 重要数据
71
+ $-fs-title: var(--wot-fs-title, 16px) !default; // 标题字号/重要正文字号
72
+ $-fs-content: var(--wot-fs-content, 14px) !default; // 普通正文
73
+ $-fs-secondary: var(--wot-fs-secondary, 12px) !default; // 次要信息,注释/补充/正文
74
+ $-fs-aid: var(--wot-fs-aid, 10px) !default; // 辅助文字字号,弱化信息,引导性/不可点文字
75
+ /* 文字字重 */
76
+ $-fw-medium: var(--wot-fw-medium, 500) !default; // PingFangSC-Medium
77
+ $-fw-semibold: var(--wot-fw-semibold, 600) !default; // PingFangSC-Semibold
78
+ /* 尺寸 */
79
+ $-size-side-padding: var(--wot-size-side-padding, 15px) !default; // 屏幕两边留白
80
+ /*-------------------------------- Theme color application size. end --------------------------------*/
81
+ /* action-sheet */
82
+ $-action-sheet-weight: var(--wot-action-sheet-weight, 500) !default; // 面板字重
83
+ $-action-sheet-radius: var(--wot-action-sheet-radius, 16px) !default; // 面板圆角大小
84
+ $-action-sheet-loading-size: var(--wot-action-sheet-loading-size, 20px) !default; // loading动画尺寸
85
+ $-action-sheet-action-height: var(--wot-action-sheet-action-height, 48px) !default; // 单条菜单高度
86
+ $-action-sheet-color: var(--wot-action-sheet-color, rgba(0, 0, 0, 0.85)) !default; // 选项名称颜色
87
+ $-action-sheet-fs: var(--wot-action-sheet-fs, $-fs-title) !default; // 选项名称字号
88
+ $-action-sheet-active-color: var(
89
+ --wot-action-sheet-active-color,
90
+ $-color-bg
91
+ ) !default; // 点击高亮颜色
92
+ $-action-sheet-subname-fs: var(
93
+ --wot-action-sheet-subname-fs,
94
+ $-fs-secondary
95
+ ) !default; // 描述信息字号
96
+ $-action-sheet-subname-color: var(
97
+ --wot-action-sheet-subname-color,
98
+ rgba(0, 0, 0, 0.45)
99
+ ) !default; // 描述信息颜色
100
+ $-action-sheet-disabled-color: var(
101
+ --wot-action-sheet-disabled-color,
102
+ rgba(0, 0, 0, 0.25)
103
+ ) !default; // 禁用颜色
104
+ $-action-sheet-bg: var(
105
+ --wot-action-sheet-bg,
106
+ $-color-white
107
+ ) !default; // 菜单容器颜色(取消按钮上方的颜色)
108
+ $-action-sheet-title-height: var(--wot-action-sheet-title-height, 64px) !default; // 标题高度
109
+ $-action-sheet-title-fs: var(--wot-action-sheet-title-fs, $-fs-title) !default; // 标题字号
110
+ $-action-sheet-close-fs: var(--wot-action-sheet-close-fs, $-fs-title) !default; // 关闭按钮大小
111
+ $-action-sheet-close-color: var(
112
+ --wot-action-sheet-close-color,
113
+ rgba(0, 0, 0, 0.65)
114
+ ) !default; // 关闭按钮颜色
115
+ $-action-sheet-close-top: var(
116
+ --wot-action-sheet-close-top,
117
+ 25px
118
+ ) !default; // 关闭按钮距离标题顶部距离
119
+ $-action-sheet-close-right: var(
120
+ --wot-action-sheet-close-right,
121
+ 15px
122
+ ) !default; // 关闭按钮距离标题右侧距离
123
+ $-action-sheet-cancel-color: var(--wot-action-sheet-cancel-color, #131415) !default; // 取消按钮颜色
124
+ $-action-sheet-cancel-height: var(--wot-action-sheet-cancel-height, 44px) !default; // 取消按钮高度
125
+ $-action-sheet-cancel-bg: var(
126
+ --wot-action-sheet-cancel-bg,
127
+ rgba(240, 240, 240, 1)
128
+ ) !default; // 取消按钮背景色
129
+ $-action-sheet-cancel-radius: var(
130
+ --wot-action-sheet-cancel-radius,
131
+ 22px
132
+ ) !default; // 取消按钮圆角大小
133
+ $-action-sheet-panel-padding: var(
134
+ --wot-action-sheet-panel-padding,
135
+ 12px 0 11px
136
+ ) !default; // 自定义面板内边距大小
137
+ $-action-sheet-panel-img-fs: var(
138
+ --wot-action-sheet-panel-img-fs,
139
+ 40px
140
+ ) !default; // 自定义面板图片大小
141
+ $-action-sheet-panel-img-radius: var(
142
+ --wot-action-sheet-panel-img-radius,
143
+ 4px
144
+ ) !default; // 自定义面板图片圆角大小
145
+ /* badge */
146
+ $-badge-bg: var(--wot-badge-bg, $-color-danger) !default; // 背景填充颜色
147
+ $-badge-color: var(--wot-badge-color, #fff) !default; // 文字颜色
148
+ $-badge-fs: var(--wot-badge-fs, 12px) !default; // 文字字号
149
+ $-badge-padding: var(--wot-badge-padding, 0 5px) !default; // padding
150
+ $-badge-height: var(--wot-badge-height, 16px) !default; // 高度
151
+ $-badge-primary: var(--wot-badge-primary, $-color-theme) !default;
152
+ $-badge-success: var(--wot-badge-success, $-color-success) !default;
153
+ $-badge-warning: var(--wot-badge-warning, $-color-warning) !default;
154
+ $-badge-danger: var(--wot-badge-danger, $-color-danger) !default;
155
+ $-badge-info: var(--wot-badge-info, $-color-info) !default;
156
+ $-badge-dot-size: var(--wot-badge-dot-size, 6px) !default; // dot 类型大小
157
+ $-badge-border: var(--wot-badge-border, 2px solid $-badge-color) !default; // 边框样式
158
+ /* button */
159
+ $-button-disabled-opacity: var(--wot-button-disabled-opacity, 0.6) !default; // button禁用透明度
160
+
161
+ $-button-small-height: var(--wot-button-small-height, 28px) !default; // 小型按钮高度
162
+ $-button-small-padding: var(--wot-button-small-padding, 0 12px) !default; // 小型按钮padding
163
+ $-button-small-fs: var(--wot-button-small-fs, $-fs-secondary) !default; // 小型按钮字号
164
+ $-button-small-radius: var(--wot-button-small-radius, 2px) !default; // 小型按钮圆角大小
165
+ $-button-small-loading: var(--wot-button-small-loading, 14px) !default; // 小型按钮loading图标大小
166
+
167
+ $-button-medium-height: var(--wot-button-medium-height, 36px) !default; // 中型按钮高度
168
+ $-button-medium-padding: var(--wot-button-medium-padding, 0 16px) !default; // 中型按钮padding
169
+ $-button-medium-fs: var(--wot-button-medium-fs, $-fs-content) !default; // 中型按钮字号
170
+ $-button-medium-radius: var(--wot-button-medium-radius, 4px) !default; // 中型按钮圆角大小
171
+ $-button-medium-loading: var(--wot-button-medium-loading, 18px) !default; // 中型按钮loading图标大小
172
+ $-button-medium-box-shadow-size: var(
173
+ --wot-button-medium-box-shadow-size,
174
+ 0px 2px 4px 0px
175
+ ) !default; // 中尺寸阴影尺寸
176
+
177
+ $-button-large-height: var(--wot-button-large-height, 44px) !default; // 大型按钮高度
178
+ $-button-large-padding: var(--wot-button-large-padding, 0 36px) !default; // 大型按钮padding
179
+ $-button-large-fs: var(--wot-button-large-fs, $-fs-title) !default; // 大型按钮字号
180
+ $-button-large-radius: var(--wot-button-large-radius, 8px) !default; // 大型按钮圆角大小
181
+ $-button-large-loading: var(--wot-button-large-loading, 24px) !default; // 大小按钮loading图标大小
182
+ $-button-large-box-shadow-size: var(
183
+ --wot-button-large-box-shadow-size,
184
+ 0px 4px 8px 0px
185
+ ) !default; // 大尺寸阴影尺寸
186
+
187
+ $-button-icon-fs: var(--wot-button-icon-fs, 1.18em) !default; // 带图标的按钮的图标大小
188
+ $-button-icon-size: var(--wot-button-icon-size, 40px) !default; // icon 类型按钮尺寸
189
+ $-button-icon-color: var(
190
+ --wot-button-icon-color,
191
+ rgba(0, 0, 0, 0.65)
192
+ ) !default; // icon 类型按钮颜色
193
+ $-button-icon-disabled-color: var(
194
+ --wot-button-icon-disabled-color,
195
+ $-color-icon-disabled
196
+ ) !default; // icon 类型按钮禁用颜色
197
+
198
+ $-button-normal-color: var(--wot-button-normal-color, $-color-title) !default; // 文字颜色
199
+ $-button-normal-disabled-color: var(
200
+ --wot-button-normal-disabled-color,
201
+ rgba(0, 0, 0, 0.25)
202
+ ) !default; // 默认按钮禁用文字色
203
+
204
+ $-button-plain-bg-color: var(--wot-button-plain-bg-color, $-color-white) !default; // 幽灵按钮背景色
205
+
206
+ $-button-primary-color: var(--wot-button-primary-color, $-color-white) !default; // 主要按钮颜色
207
+ $-button-primary-bg-color: var(
208
+ --wot-button-primary-bg-color,
209
+ $-color-theme
210
+ ) !default; // 主要按钮背景颜色
211
+ $-button-primary-box-shadow-color: var(
212
+ --wot-button-primary-box-shadow-color,
213
+ rgba($-color-theme, 0.25)
214
+ ) !default; // 主要按钮阴影颜色
215
+
216
+ $-button-success-color: var(--wot-button-success-color, $-color-white) !default; // 成功按钮文字颜色
217
+ $-button-success-bg-color: var(
218
+ --wot-button-success-bg-color,
219
+ $-color-success
220
+ ) !default; // 成功按钮颜色
221
+ $-button-success-box-shadow-color: var(
222
+ --wot-button-success-box-shadow-color,
223
+ rgba($-color-success, 0.25)
224
+ ) !default; // 主要按钮阴影颜色
225
+
226
+ $-button-info-color: var(--wot-button-info-color, $-color-title) !default; // 信息按钮颜色
227
+ $-button-info-bg-color: var(--wot-button-info-bg-color, #f0f0f0) !default; // 信息按钮背景颜色
228
+ $-button-info-plain-border-color: var(
229
+ --wot-button-info-plain-border-color,
230
+ rgba(0, 0, 0, 0.45)
231
+ ) !default; // 信息按钮禁用颜色
232
+ $-button-info-plain-normal-color: var(
233
+ --wot-button-info-plain-normal-color,
234
+ rgba(0, 0, 0, 0.85)
235
+ ) !default; // 信息幽灵按钮默认颜色
236
+
237
+ $-button-warning-color: var(--wot-button-warning-color, $-color-white) !default; // 警告按钮字体颜色
238
+ $-button-warning-bg-color: var(
239
+ --wot-button-warning-bg-color,
240
+ $-color-warning
241
+ ) !default; // 警告按钮背景颜色
242
+ $-button-warning-box-shadow-color: var(
243
+ --wot-button-warning-box-shadow-color,
244
+ rgba($-color-warning, 0.25)
245
+ ) !default; // 主要按钮阴影颜色
246
+
247
+ $-button-error-color: var(--wot-button-error-color, $-color-white) !default; // 错误按钮颜色
248
+ $-button-error-bg-color: var(
249
+ --wot-button-error-bg-color,
250
+ $-color-danger
251
+ ) !default; // 错误按钮背景颜色
252
+ $-button-error-box-shadow-color: var(
253
+ --wot-button-error-box-shadow-color,
254
+ rgba($-color-danger, 0.25)
255
+ ) !default; // 主要按钮阴影颜色
256
+
257
+ $-button-text-hover-opacity: var(
258
+ --wot-button-text-hover-opacity,
259
+ 0.7
260
+ ) !default; // 文字button激活时透明度
261
+ /* cell */
262
+ $-cell-padding: var(--wot-cell-padding, $-size-side-padding) !default; // cell 左右padding距离
263
+ $-cell-line-height: var(--wot-cell-line-height, 24px) !default; // 行高
264
+
265
+ $-cell-group-title-fs: var(--wot-cell-group-title-fs, $-fs-title) !default; // 组标题字号
266
+ $-cell-group-padding: var(--wot-cell-group-padding, 13px $-cell-padding) !default; // 组padding
267
+ $-cell-group-title-color: var(
268
+ --wot-cell-group-title-color,
269
+ rgba(0, 0, 0, 0.85)
270
+ ) !default; // 组标题文字颜色
271
+ $-cell-group-value-fs: var(--wot-cell-group-value-fs, $-fs-content) !default; // 组值字号
272
+ $-cell-group-value-color: var(
273
+ --wot-cell-group-value-color,
274
+ $-color-content
275
+ ) !default; // 组值文字颜色
276
+
277
+ $-cell-wrapper-padding: var(--wot-cell-wrapper-padding, 10px) !default; // cell 容器padding
278
+ $-cell-wrapper-padding-large: var(
279
+ --wot-cell-wrapper-padding-large,
280
+ 12px
281
+ ) !default; // large类型cell容器padding
282
+
283
+ $-cell-wrapper-padding-with-label: var(
284
+ --wot-cell-wrapper-padding-with-label,
285
+ 16px
286
+ ) !default; // cell 容器上下padding(有label情况下)
287
+ $-cell-icon-right: var(--wot-cell-icon-right, 4px) !default; // 图标距离右边缘
288
+ $-cell-icon-size: var(--wot-cell-icon-size, 16px) !default; // 图标大小
289
+ $-cell-title-fs: var(--wot-cell-title-fs, 14px) !default; // 标题字号
290
+ $-cell-title-color: var(--wot-cell-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题文字颜色
291
+ $-cell-label-fs: var(--wot-cell-label-fs, 12px) !default; // 描述信息字号
292
+ $-cell-label-color: var(--wot-cell-label-color, rgba(0, 0, 0, 0.45)) !default; // 描述信息文字颜色
293
+ $-cell-value-fs: var(--wot-cell-value-fs, 14px) !default; // 右侧内容字号
294
+ $-cell-value-color: var(--wot-cell-value-color, rgba(0, 0, 0, 0.85)) !default; // 右侧内容文字颜色
295
+ $-cell-arrow-size: var(--wot-cell-arrow-size, 18px) !default; // 右箭头大小
296
+ $-cell-arrow-color: var(--wot-cell-arrow-color, rgba(0, 0, 0, 0.25)) !default; // 右箭头颜色
297
+ $-cell-tap-bg: var(--wot-cell-tap-bg, rgba(0, 0, 0, 0.06)) !default; // 点击态背景色
298
+
299
+ $-cell-title-fs-large: var(--wot-cell-title-fs-large, 16px) !default; // 大尺寸标题字号
300
+ $-cell-label-fs-large: var(--wot-cell-label-fs-large, 14px) !default; // 描述信息字号
301
+ $-cell-icon-size-large: var(--wot-cell-icon-size-large, 18px) !default; // 图标大小
302
+
303
+ $-cell-required-color: var(--wot-cell-required-color, $-color-danger) !default; // 要求必填*颜色
304
+ $-cell-required-size: var(--wot-cell-required-size, 18px) !default; // 必填*字号
305
+ $-cell-vertical-top: var(--wot-cell-vertical-top, 16px) !default; // 表单类型-上下结构的间距
306
+ /* calendar */
307
+ $-calendar-fs: var(--wot-calendar-fs, 16px) !default;
308
+ $-calendar-panel-padding: var(--wot-calendar-panel-padding, 0 12px) !default;
309
+ $-calendar-panel-title-fs: var(--wot-calendar-panel-title-fs, 14px) !default;
310
+ $-calendar-panel-title-color: var(--wot-calendar-panel-title-color, rgba(0, 0, 0, 0.85)) !default;
311
+ $-calendar-week-color: var(--wot-calendar-week-color, rgba(0, 0, 0, 0.85)) !default;
312
+ $-calendar-week-height: var(--wot-calendar-week-height, 36px) !default;
313
+ $-calendar-week-fs: var(--wot-calendar-week-fs, 12px) !default;
314
+ $-calendar-day-fs: var(--wot-calendar-day-fs, 16px) !default;
315
+ $-calendar-day-color: var(--wot-calendar-day-color, rgba(0, 0, 0, 0.85)) !default;
316
+ $-calendar-day-fw: var(--wot-calendar-day-fw, 500) !default;
317
+ $-calendar-day-height: var(--wot-calendar-day-height, 64px) !default;
318
+ $-calendar-month-width: var(--wot-calendar-month-width, 50px) !default;
319
+ $-calendar-active-color: var(--wot-calendar-active-color, $-color-theme) !default;
320
+ $-calendar-disabled-color: var(--wot-calendar-disabled-color, rgba(0, 0, 0, 0.25)) !default;
321
+ $-calendar-range-color: var(--wot-calendar-range-color, rgba(#4d80f0, 0.09)) !default;
322
+ $-calendar-active-border: var(--wot-calendar-active-border, 8px) !default;
323
+ $-calendar-info-fs: var(--wot-calendar-info-fs, 10px) !default;
324
+ /* checkbox */
325
+ $-checkbox-margin: var(--wot-checkbox-margin, 10px) !default; // 多个复选框距离
326
+ $-checkbox-bg: var(--wot-checkbox-bg, $-color-white) !default; // 多个复选框距离
327
+ $-checkbox-label-margin: var(--wot-checkbox-label-margin, 9px) !default; // 右侧文字与左侧图标距离
328
+ $-checkbox-size: var(--wot-checkbox-size, 16px) !default; // 左侧图标尺寸
329
+ $-checkbox-icon-size: var(--wot-checkbox-icon-size, 14px) !default; // 左侧图标尺寸
330
+ $-checkbox-border-color: var(--wot-checkbox-border-color, #dcdcdc) !default; // 左侧图标边框颜色
331
+ $-checkbox-check-color: var(--wot-checkbox-check-color, $-color-white) !default; // 左侧图标边框颜色
332
+ $-checkbox-label-fs: var(--wot-checkbox-label-fs, 14px) !default; // 右侧文字字号
333
+ $-checkbox-label-color: var(
334
+ --wot-checkbox-label-color,
335
+ rgba(0, 0, 0, 0.85)
336
+ ) !default; // 右侧文字颜色
337
+ $-checkbox-checked-color: var(--wot-checkbox-checked-color, $-color-theme) !default; // 选中颜色
338
+
339
+ $-checkbox-disabled-color: var(
340
+ --wot-checkbox-disabled-color,
341
+ rgba(0, 0, 0, 0.04)
342
+ ) !default; // 禁用背景颜色
343
+ $-checkbox-disabled-label-color: var(
344
+ --wot-checkbox-disabled-label-color,
345
+ rgba(0, 0, 0, 0.25)
346
+ ) !default; // 禁用文字颜色
347
+ $-checkbox-disabled-check-color: var(
348
+ --wot-checkbox-disabled-check-color,
349
+ rgba(0, 0, 0, 0.15)
350
+ ) !default; // 禁用图标颜色
351
+ $-checkbox-disabled-check-bg: var(
352
+ --wot-checkbox-disabled-check-bg,
353
+ rgba(0, 0, 0, 0.15)
354
+ ) !default; // 禁用边框背景颜色
355
+ $-checkbox-square-radius: var(--wot-checkbox-square-radius, 4px) !default; // 方型圆角大小
356
+
357
+ $-checkbox-large-size: var(--wot-checkbox-large-size, 18px) !default; // 左侧图标尺寸
358
+ $-checkbox-large-label-fs: var(--wot-checkbox-large-label-fs, 16px) !default; // 右侧文字字号
359
+
360
+ $-checkbox-button-height: var(--wot-checkbox-button-height, 32px) !default; // 按钮模式复选框高
361
+ $-checkbox-button-min-width: var(--wot-checkbox-button-min-width, 78px) !default; // 按钮模式最小宽
362
+ $-checkbox-button-radius: var(--wot-checkbox-button-radius, 16px) !default; // 按钮圆角大小
363
+ $-checkbox-button-bg: var(
364
+ --wot-checkbox-button-bg,
365
+ rgba(0, 0, 0, 0.04)
366
+ ) !default; // 按钮模式背景颜色
367
+ $-checkbox-button-font-size: var(--wot-checkbox-button-font-size, 14px) !default; // 按钮模式字号
368
+ $-checkbox-button-border: var(--wot-checkbox-button-border, #f5f5f5) !default; // 按钮边框颜色
369
+ $-checkbox-button-disabled-border: var(
370
+ --wot-checkbox-button-disabled-border,
371
+ rgba(0, 0, 0, 0.15)
372
+ ) !default; // 按钮禁用边框颜色
373
+ /* collapse */
374
+ $-collapse-side-padding: var(--wot-collapse-side-padding, $-size-side-padding) !default; // 左右间距
375
+ $-collapse-body-padding: var(--wot-collapse-body-padding, 14px 25px) !default; // body padding
376
+ $-collapse-header-padding: var(
377
+ --wot-collapse-header-padding,
378
+ 13px $-size-side-padding
379
+ ) !default; // 头部padding
380
+ $-collapse-title-color: var(--wot-collapse-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题颜色
381
+ $-collapse-title-fs: var(--wot-collapse-title-fs, 16px) !default; // 标题字号
382
+ $-collapse-arrow-size: var(--wot-collapse-arrow-size, 18px) !default; // 箭头大小
383
+ $-collapse-arrow-color: var(--wot-collapse-arrow-color, #d8d8d8) !default; // 箭头颜色
384
+ $-collapse-body-fs: var(--wot-collapse-body-fs, 14px) !default; // 内容字号
385
+ $-collapse-body-color: var(--wot-collapse-body-color, rgba(0, 0, 0, 0.65)) !default; // 内容颜色
386
+ $-collapse-disabled-color: var(
387
+ --wot-collapse-disabled-color,
388
+ rgba(0, 0, 0, 0.15)
389
+ ) !default; // 禁用颜色
390
+ $-collapse-retract-fs: var(--wot-collapse-retract-fs, 14px) !default; // 更多 字号
391
+ $-collapse-more-color: var(--wot-collapse-more-color, $-color-theme) !default; // 更多 颜色
392
+ /* divider */
393
+ $-divider-padding: var(--wot-divider-padding, 0 $-size-side-padding) !default; // 两边间距
394
+ $-divider-color: var(--wot-divider-color, rgba(0, 0, 0, 0.45)) !default; // 字体颜色
395
+ $-divider-line-color: var(--wot-divider-line-color, rgba(0, 0, 0, 0.15)) !default; // 线条颜色
396
+ $-divider-fs: var(--wot-divider-fs, 14px) !default; // 字体大小
397
+ /* drop-menu */
398
+ $-drop-menu-height: var(--wot-drop-menu-height, 48px) !default; // 展示选中项的高度
399
+ $-drop-menu-color: var(--wot-drop-menu-color, $-color-content) !default; // 展示选中项的颜色
400
+ $-drop-menu-fs: var(--wot-drop-menu-fs, $-fs-content) !default; // 展示选中项的字号
401
+ $-drop-menu-arrow-fs: var(--wot-drop-menu-arrow-fs, $-fs-content) !default; // 箭头图标大小
402
+
403
+ $-drop-menu-side-padding: var(
404
+ --wot-drop-menu-side-padding,
405
+ $-size-side-padding
406
+ ) !default; // 两边留白间距
407
+ $-drop-menu-disabled-color: var(
408
+ --wot-drop-menu-disabled-color,
409
+ rgba(0, 0, 0, 0.25)
410
+ ) !default; // 禁用颜色
411
+ $-drop-menu-item-height: var(--wot-drop-menu-item-height, 48px) !default; // 选项高度
412
+ $-drop-menu-item-color: var(--wot-drop-menu-item-color, $-color-content) !default; // 选项颜色
413
+ $-drop-menu-item-fs: var(--wot-drop-menu-item-fs, $-fs-content) !default; // 选项字号
414
+ $-drop-menu-item-color-active: var(
415
+ --wot-drop-menu-item-color-active,
416
+ $-color-theme
417
+ ) !default; // 选中颜色
418
+ $-drop-menu-item-color-tip: var(
419
+ --wot-drop-menu-item-color-tip,
420
+ rgba(0, 0, 0, 0.45)
421
+ ) !default; // 提示文字颜色
422
+ $-drop-menu-item-fs-tip: var(--wot-drop-menu-item-fs-tip, $-fs-secondary) !default; // 提示文字字号
423
+ $-drop-menu-option-check-size: var(
424
+ --wot-drop-menu-option-check-size,
425
+ 20px
426
+ ) !default; // check 图标大小
427
+ $-drop-menu-line-color: var(--wot-drop-menu-line-color, $-color-theme) !default; // 下划线颜色
428
+ $-drop-menu-line-height: var(--wot-drop-menu-line-height, 3px) !default; // 下划线高度
429
+ /* input-number */
430
+ $-input-number-color: var(--wot-input-number-color, #262626) !default; // 文字颜色
431
+ $-input-number-border-color: var(--wot-input-number-border-color, #e8e8e8) !default; // 边框颜色
432
+ $-input-number-disabled-color: var(
433
+ --wot-input-number-disabled-color,
434
+ rgba(0, 0, 0, 0.25)
435
+ ) !default; // 禁用颜色
436
+ $-input-number-height: var(--wot-input-number-height, 24px) !default; // 加减号按钮高度
437
+ $-input-number-btn-width: var(--wot-input-number-btn-width, 26px) !default; // 加减号按钮宽度
438
+ $-input-number-input-width: var(--wot-input-number-input-width, 36px) !default; // 输入框宽度
439
+ $-input-number-radius: var(--wot-input-number-radius, 4px) !default; // 加减号按钮圆角大小
440
+ $-input-number-fs: var(--wot-input-number-fs, 12px) !default; // 输入框字号
441
+ $-input-number-icon-size: var(--wot-input-number-icon-size, 14px) !default; // 加减号图标大小
442
+ $-input-number-icon-color: var(
443
+ --wot-input-number-icon-color,
444
+ rgba(0, 0, 0, 0.65)
445
+ ) !default; // icon颜色
446
+ /* input */
447
+ $-input-padding: var(--wot-input-padding, $-size-side-padding) !default; // input 左右padding距离
448
+ $-input-border-color: var(--wot-input-border-color, #dadada) !default; // 无label边框颜色
449
+ $-input-not-empty-border-color: var(
450
+ --wot-input-not-empty-border-color,
451
+ #262626
452
+ ) !default; // 输入框有值时 无label边框颜色
453
+ $-input-fs: var(--wot-input-fs, $-cell-title-fs) !default; // 字号
454
+ $-input-fs-large: var(--wot-input-fs-large, $-cell-title-fs-large) !default; // 大尺寸字号
455
+ $-input-icon-margin: var(--wot-input-icon-margin, 8px) !default; // 图标距离
456
+ $-input-color: var(--wot-input-color, #262626) !default; // 文字颜色
457
+ $-input-placeholder-color: var(--wot-input-placeholder-color, #bfbfbf) !default; // 占位符颜色
458
+ $-input-disabled-color: var(--wot-input-disabled-color, #d9d9d9) !default; // 输入框禁用颜色
459
+ $-input-error-color: var(--wot-input-error-color, $-color-danger) !default; // 输入框错误颜色
460
+ $-input-icon-color: var(--wot-input-icon-color, #bfbfbf) !default; // 图标颜色
461
+ $-input-clear-color: var(--wot-input-clear-color, #585858) !default; // 关闭按钮颜色
462
+ $-input-count-color: var(--wot-input-count-color, #bfbfbf) !default; // 计数文字颜色
463
+ $-input-count-current-color: var(--wot-input-count-current-color, #262626) !default; // 当前长度颜色
464
+ $-input-bg: var(--wot-input-bg, $-color-white) !default; // 默认背景颜色
465
+
466
+ $-input-cell-bg: var(--wot-input-cell-bg, $-color-white) !default; // cell 类型背景色
467
+ $-input-cell-border-color: var(
468
+ --wot-input-cell-border-color,
469
+ $-color-border-light
470
+ ) !default; // cell 类型边框颜色
471
+ $-input-cell-padding: var(--wot-input-cell-padding, 10px) !default; // cell 容器padding
472
+ $-input-cell-padding-large: var(
473
+ --wot-input-cell-padding-large,
474
+ 12px
475
+ ) !default; // large类型cell容器padding
476
+ $-input-cell-height: var(--wot-input-cell-height, 24px) !default; // cell 高度
477
+ $-input-cell-label-width: var(--wot-input-cell-label-width, 33%) !default; // cell 下 label 的宽度
478
+ $-input-inner-height: var(--wot-input-inner-height, 34px) !default; // 非cell和textarea下的高度
479
+ $-input-inner-height-no-border: var(
480
+ --wot-input-inner-height-no-border,
481
+ 24px
482
+ ) !default; // 无边框下的高度
483
+ $-input-count-fs: var(--wot-input-count-fs, 14px) !default; // 计数字号
484
+ $-input-count-fs-large: var(--wot-input-count-fs-large, 14px) !default; // 大尺寸计数字号
485
+ $-input-icon-size: var(--wot-input-icon-size, 16px) !default; // 图标大小
486
+ $-input-icon-size-large: var(--wot-input-icon-size-large, 18px) !default; // 大尺寸图标大小
487
+ /* textarea */
488
+ $-textarea-padding: var(
489
+ --wot-textarea-padding,
490
+ $-size-side-padding
491
+ ) !default; // textarea 左右padding距离
492
+ $-textarea-border-color: var(--wot-textarea-border-color, #dadada) !default; // 无label边框颜色
493
+ $-textarea-not-empty-border-color: var(
494
+ --wot-textarea-not-empty-border-color,
495
+ #262626
496
+ ) !default; // 输入框有值时 无label边框颜色
497
+ $-textarea-fs: var(--wot-textarea-fs, $-cell-title-fs) !default; // 字号
498
+ $-textarea-fs-large: var(--wot-textarea-fs-large, $-cell-title-fs-large) !default; // 大尺寸字号
499
+ $-textarea-icon-margin: var(--wot-textarea-icon-margin, 8px) !default; // 图标距离
500
+ $-textarea-color: var(--wot-textarea-color, #262626) !default; // 文字颜色
501
+ $-textarea-icon-color: var(--wot-textarea-icon-color, #bfbfbf) !default; // 图标颜色
502
+ $-textarea-clear-color: var(--wot-textarea-clear-color, #585858) !default; // 关闭按钮颜色
503
+ $-textarea-count-color: var(--wot-textarea-count-color, #bfbfbf) !default; // 计数文字颜色
504
+ $-textarea-count-current-color: var(
505
+ --wot-textarea-count-current-color,
506
+ #262626
507
+ ) !default; // 当前长度颜色
508
+ $-textarea-bg: var(--wot-textarea-bg, $-color-white) !default; // 默认背景颜色
509
+ $-textarea-cell-border-color: var(
510
+ --wot-textarea-cell-border-color,
511
+ $-color-border-light
512
+ ) !default; // cell 类型边框颜色
513
+ $-textarea-cell-padding: var(--wot-textarea-cell-padding, 10px) !default; // cell 容器padding
514
+ $-textarea-cell-padding-large: var(
515
+ --wot-textarea-cell-padding-large,
516
+ 12px
517
+ ) !default; // large类型cell容器padding
518
+ $-textarea-cell-height: var(--wot-textarea-cell-height, 24px) !default; // cell 高度
519
+ $-textarea-count-fs: var(--wot-textarea-count-fs, 14px) !default; // 计数字号
520
+ $-textarea-count-fs-large: var(--wot-textarea-count-fs-large, 14px) !default; // 大尺寸计数字号
521
+ $-textarea-icon-size: var(--wot-textarea-icon-size, 16px) !default; // 图标大小
522
+ $-textarea-icon-size-large: var(--wot-textarea-icon-size-large, 18px) !default; // 大尺寸图标大小
523
+ /* loadmore */
524
+ $-loadmore-height: var(--wot-loadmore-height, 48px) !default; // 高度
525
+ $-loadmore-color: var(--wot-loadmore-color, rgba(0, 0, 0, 0.45)) !default; // 颜色
526
+ $-loadmore-fs: var(--wot-loadmore-fs, 14px) !default; // 字号
527
+ $-loadmore-error-color: var(--wot-loadmore-error-color, $-color-theme) !default; // 点击重试颜色
528
+ $-loadmore-refresh-fs: var(--wot-loadmore-refresh-fs, $-fs-title) !default; // refresh图标字号
529
+ $-loadmore-loading-size: var(--wot-loadmore-loading-size, $-fs-title) !default; // loading尺寸
530
+ /* message-box */
531
+ $-message-box-width: var(--wot-message-box-width, 300px) !default; // 宽度
532
+ $-message-box-bg: var(--wot-message-box-bg, $-color-white) !default; // 默认背景颜色
533
+ $-message-box-radius: var(--wot-message-box-radius, 16px) !default; // 圆角大小
534
+ $-message-box-padding: var(--wot-message-box-padding, 25px 24px 0) !default; // 主体内容padding
535
+ $-message-box-title-fs: var(--wot-message-box-title-fs, 16px) !default; // 标题字号
536
+ $-message-box-title-color: var(
537
+ --wot-message-box-title-color,
538
+ rgba(0, 0, 0, 0.85)
539
+ ) !default; // 标题颜色
540
+ $-message-box-content-fs: var(--wot-message-box-content-fs, 14px) !default; // 内容字号
541
+ $-message-box-content-color: var(--wot-message-box-content-color, #666666) !default; // 内容颜色
542
+ $-message-box-content-max-height: var(
543
+ --wot-message-box-content-max-height,
544
+ 264px
545
+ ) !default; // 内容最大高度
546
+ $-message-box-content-scrollbar-width: var(
547
+ --wot-message-box-content-scrollbar-width,
548
+ 4px
549
+ ) !default; // 内容滚动条宽度
550
+ $-message-box-content-scrollbar-color: var(
551
+ --wot-message-box-content-scrollbar-color,
552
+ rgba(0, 0, 0, 0.1)
553
+ ) !default; // 内容滚动条颜色
554
+ $-message-box-input-error-color: var(
555
+ --wot-message-box-input-error-color,
556
+ $-input-error-color
557
+ ) !default; // 输入框错误颜色
558
+ /* notice-bar */
559
+ $-notice-bar-fs: var(--wot-notice-bar-fs, 12px) !default; // 字号
560
+ $-notice-bar-line-height: var(--wot-notice-bar-line-height, 18px) !default; // 行高
561
+ $-notice-bar-border-radius: var(--wot-notice-bar-border-radius, 8px) !default; // 圆角
562
+ $-notice-bar-padding: var(
563
+ --wot-notice-bar-padding,
564
+ 9px 20px 9px 15px
565
+ ) !default; // 非换行下的padding
566
+ $-notice-bar-warning-bg: var(--wot-notice-bar-warning-bg, #fff6c8) !default; // 背景色
567
+ $-notice-bar-info-bg: var(--wot-notice-bar-info-bg, #f4f9ff) !default; // 背景色
568
+ $-notice-bar-danger-bg: var(--wot-notice-bar-danger-bg, #feeced) !default; // 背景色
569
+ $-notice-bar-warning-color: var(
570
+ --wot-notice-bar-warning-color,
571
+ $-color-warning
572
+ ) !default; // 文字和图标颜色
573
+ $-notice-bar-info-color: var(--wot-notice-bar-info-color, $-color-theme) !default; // 文字和图标颜色
574
+ $-notice-bar-danger-color: var(
575
+ --wot-notice-bar-danger-color,
576
+ $-color-danger
577
+ ) !default; // 文字和图标颜色
578
+ $-notice-bar-prefix-size: var(--wot-notice-bar-prefix-size, 18px) !default; // 图标大小
579
+ $-notice-bar-close-bg: var(
580
+ --wot-notice-bar-close-bg,
581
+ rgba(0, 0, 0, 0.15)
582
+ ) !default; // 右侧关闭按钮背景颜色
583
+ $-notice-bar-close-size: var(--wot-notice-bar-close-size, 18px) !default; // 右侧关闭按钮背景颜色
584
+ $-notice-bar-close-color: var(
585
+ --wot-notice-bar-close-color,
586
+ $-color-white
587
+ ) !default; // 右侧关闭按钮颜色
588
+ $-notice-bar-wrap-padding: var(
589
+ --wot-notice-bar-wrap-padding,
590
+ 14px $-size-side-padding
591
+ ) !default; // 换行下的padding
592
+ /* pagination */
593
+ $-pagination-content-padding: var(--wot-pagination-content-padding, 10px 15px) !default;
594
+ $-pagination-message-padding: var(--wot-pagination-message-padding, 1px 0 16px 0) !default;
595
+ $-pagination-message-fs: var(--wot-pagination-message-fs, 12px) !default;
596
+ $-pagination-message-color: var(--wot-pagination-message-color, rgba(0, 0, 0, 0.69)) !default;
597
+ $-pagination-nav-border: var(--wot-pagination-nav-border, 1px solid rgba(0, 0, 0, 0.45)) !default;
598
+ $-pagination-nav-border-radius: var(--wot-pagination-nav-border-radius, 16px) !default;
599
+ $-pagination-nav-fs: var(--wot-pagination-nav-fs, 12px) !default;
600
+ $-pagination-nav-width: var(--wot-pagination-nav-width, 60px) !default;
601
+ $-pagination-nav-color: var(--wot-pagination-nav-color, rgba(0, 0, 0, 0.85)) !default;
602
+ $-pagination-nav-content-fs: var(--wot-pagination-nav-content-fs, 12px) !default;
603
+ $-pagination-nav-sepatator-padding: var(--wot-pagination-nav-sepatator-padding, 0 4px) !default;
604
+ $-pagination-nav-current-color: var(--wot-pagination-nav-current-color, $-color-theme) !default;
605
+ $-pagination-icon-size: var(--wot-pagination-icon-size, $-fs-content) !default;
606
+ /* picker */
607
+ $-picker-toolbar-height: var(--wot-picker-toolbar-height, 54px) !default; // toolbar 操作条的高度
608
+ $-picker-action-height: var(--wot-picker-action-height, 16px) !default; // toolbar 操作条的高度
609
+ $-picker-toolbar-finish-color: var(
610
+ --wot-picker-toolbar-finish-color,
611
+ $-color-theme
612
+ ) !default; // toolbar 操作条完成按钮的颜色
613
+ $-picker-toolbar-cancel-color: var(
614
+ --wot-picker-toolbar-cancel-color,
615
+ #666666
616
+ ) !default; // toolbar 操作条的边框颜色
617
+ $-picker-toolbar-fs: var(--wot-picker-toolbar-fs, $-fs-title) !default; // toolbar 操作条的字号
618
+ $-picker-toolbar-title-color: var(
619
+ --wot-picker-toolbar-title-color,
620
+ rgba(0, 0, 0, 0.85)
621
+ ) !default; // toolbar 操作台的标题颜色
622
+ $-picker-column-fs: var(--wot-picker-column-fs, 16px) !default; // 选择器选项的字号
623
+ $-picker-bg: var(--wot-picker-bg, $-color-white) !default; // 选择器选项的字号
624
+ $-picker-column-active-fs: var(
625
+ --wot-picker-column-active-fs,
626
+ 18px
627
+ ) !default; // 选择器选项被选中的字号
628
+ $-picker-column-color: var(
629
+ --wot-picker-column-color,
630
+ rgba(0, 0, 0, 0.85)
631
+ ) !default; // 选择器选项的颜色
632
+ $-picker-column-height: var(--wot-picker-column-height, 210px) !default; // 列高 滚筒外部的高度
633
+ $-picker-column-item-height: var(
634
+ --wot-picker-column-item-height,
635
+ 35px
636
+ ) !default; // 列高 滚筒外部的高度
637
+ $-picker-column-select-bg: var(--wot-picker-column-select-bg, #f5f5f5) !default;
638
+ $-picker-loading-button-color: var(
639
+ --wot-picker-loading-button-color,
640
+ rgba(0, 0, 0, 0.25)
641
+ ) !default; // loading 背景颜色
642
+ $-picker-column-padding: var(
643
+ --wot-picker-column-padding,
644
+ 0 $-size-side-padding
645
+ ) !default; // 选项内间距
646
+
647
+ $-picker-column-disabled-color: var(
648
+ --wot-picker-column-disabled-color,
649
+ rgba(0, 0, 0, 0.25)
650
+ ) !default; // 选择器选项禁用的颜色
651
+ $-picker-mask: var(
652
+ --wot-picker-mask,
653
+ linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.25)),
654
+ )
655
+ linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.25)) !default; // 上下阴影
656
+ $-picker-loading-bg: var(
657
+ --wot-picker-loading-bg,
658
+ rgba($-color-white, 0.8)
659
+ ) !default; // loading 背景颜色
660
+ $-picker-region-separator-color: var(
661
+ --wot-picker-region-separator-color,
662
+ rgba(0, 0, 0, 0.65)
663
+ ) !default; // 区域选择文字颜色
664
+ $-picker-cell-arrow-size-large: var(
665
+ --wot-picker-cell-arrow-size-large,
666
+ $-cell-icon-size
667
+ ) !default; // cell 类型的大尺寸 右侧icon尺寸
668
+
669
+ $-picker-region-color: var(
670
+ --wot-picker-region-color,
671
+ rgba(0, 0, 0, 0.45)
672
+ ) !default; // 区域选择文字颜色
673
+ $-picker-region-bg-active-color: var(
674
+ --wot-picker-region-bg-active-color,
675
+ $-color-theme
676
+ ) !default; // 区域选择激活选中背景颜色
677
+
678
+ $-picker-region-fs: var(--wot-picker-region-fs, 14px) !default; // 区域选择文字字号
679
+ /* col-picker */
680
+ $-col-picker-selected-height: var(
681
+ --wot-col-picker-selected-height,
682
+ 44px
683
+ ) !default; // 弹框顶部值高度
684
+ $-col-picker-selected-padding: var(
685
+ --wot-col-picker-selected-padding,
686
+ 0 16px
687
+ ) !default; // 弹框顶部值左右间距
688
+ $-col-picker-selected-fs: var(--wot-col-picker-selected-fs, 14px) !default; // 弹框顶部值字号
689
+ $-col-picker-selected-color: var(
690
+ --wot-col-picker-selected-color,
691
+ rgba(0, 0, 0, 0.85)
692
+ ) !default; // 弹框顶部值文字颜色
693
+ $-col-picker-selected-fw: var(--wot-col-picker-selected-fw, 700) !default; // 弹框顶部值高亮字重
694
+ $-col-picker-line-width: var(--wot-col-picker-line-width, 16px) !default; // 弹框顶部值高亮线条宽度
695
+ $-col-picker-line-height: var(--wot-col-picker-line-height, 3px) !default; // 弹框顶部值高亮线条高度
696
+ $-col-picker-line-color: var(
697
+ --wot-col-picker-line-color,
698
+ linear-gradient(315deg, rgba(81, 124, 240, 1), rgba(118, 158, 245, 1))
699
+ ) !default; // 弹框顶部值高亮线条颜色
700
+ $-col-picker-line-box-shadow: var(
701
+ --wot-col-picker-line-box-shadow,
702
+ 0px 1px 2px 0px rgba(1, 87, 255, 0.2)
703
+ ) !default; // 弹框顶部值高亮线条阴影
704
+ $-col-picker-list-height: var(--wot-col-picker-list-height, 53vh) !default; // 弹框列表高度
705
+ $-col-picker-list-padding-bottom: var(
706
+ --wot-col-picker-list-padding-bottom,
707
+ 30px
708
+ ) !default; // 弹框列表底部间距
709
+ $-col-picker-list-color: var(
710
+ --wot-col-picker-list-color,
711
+ rgba(0, 0, 0, 0.85)
712
+ ) !default; // 弹框列表文字颜色
713
+ $-col-picker-list-color-disabled: var(
714
+ --wot-col-picker-list-color-disabled,
715
+ rgba(0, 0, 0, 0.15)
716
+ ) !default; // 弹框列表文字禁用颜色
717
+ $-col-picker-list-color-tip: var(
718
+ --wot-col-picker-list-color-tip,
719
+ rgba(0, 0, 0, 0.45)
720
+ ) !default; // 弹框列表提示文字颜色
721
+ $-col-picker-list-fs: var(--wot-col-picker-list-fs, 14px) !default; // 弹框列表文字字号
722
+ $-col-picker-list-fs-tip: var(--wot-col-picker-list-fs-tip, 12px) !default; // 弹框列表提示文字字号
723
+ $-col-picker-list-item-padding: var(
724
+ --wot-col-picker-list-item-padding,
725
+ 12px 15px
726
+ ) !default; // 弹框列表选项间距
727
+ $-col-picker-list-checked-icon-size: var(
728
+ --wot-col-picker-list-checked-icon-size,
729
+ 18px
730
+ ) !default; // 弹框列表选中箭头大小
731
+ $-col-picker-list-color-checked: var(
732
+ --wot-col-picker-list-color-checked,
733
+ $-color-theme
734
+ ) !default; // 弹框列表选中选项颜色
735
+ /* overlay */
736
+ $-overlay-bg: var(--wot-overlay-bg, rgba(0, 0, 0, 0.65)) !default;
737
+ $-overlay-bg-dark: var(--wot-overlay-bg-dark, rgba(0, 0, 0, 0.75)) !default;
738
+ /* popup */
739
+ $-popup-close-size: var(--wot-popup-close-size, 24px) !default; // 关闭按钮尺寸
740
+ $-popup-close-color: var(--wot-popup-close-color, #666) !default; // 关闭按钮颜色
741
+ /* progress */
742
+ $-progress-padding: var(--wot-progress-padding, 9px 0 8px) !default; // 进度条内边距
743
+ $-progress-bg: var(--wot-progress-bg, rgba(229, 229, 229, 1)) !default; // 进度条底色
744
+ $-progress-danger-color: var(
745
+ --wot-progress-danger-color,
746
+ $-color-danger
747
+ ) !default; // 进度条danger颜色
748
+ $-progress-success-color: var(
749
+ --wot-progress-success-color,
750
+ $-color-success
751
+ ) !default; // 进度条success进度条颜色
752
+ $-progress-color: var(
753
+ --wot-progress-color,
754
+ resultColor(315deg, $-color-theme, 'dark' 'light', #517cf0 #769ef5, 0% 100%)
755
+ ) !default; // 进度条渐变色
756
+ $-progress-linear-success-color: var(
757
+ --wot-progress-linear-success-color,
758
+ resultColor(315deg, $-color-theme, 'dark' 'light', #20b080 #2bd69d, 0% 100%)
759
+ ) !default; // success进度条渐变色
760
+ $-progress-linear-danger-color: var(
761
+ --wot-progress-linear-danger-color,
762
+ resultColor(315deg, $-color-theme, 'dark' 'light', #e04350 #ff5964, 0% 100%)
763
+ ) !default; // danger进度条渐变色
764
+ $-progress-height: var(--wot-progress-height, 3px) !default; // 进度条高度
765
+ $-progress-label-color: var(--wot-progress-label-color, #333) !default; // 文字颜色
766
+ $-progress-label-fs: var(--wot-progress-label-fs, 14px) !default; // 文字字号
767
+ $-progress-icon-fs: var(--wot-progress-icon-fs, 18px) !default; // 图标字号
768
+ /* radio */
769
+ $-radio-margin: var(--wot-radio-margin, $-checkbox-margin) !default; // 多个单选框距离
770
+ $-radio-label-margin: var(
771
+ --wot-radio-label-margin,
772
+ $-checkbox-label-margin
773
+ ) !default; // 右侧文字与左侧图标距离
774
+ $-radio-size: var(--wot-radio-size, 16px) !default; // 左侧图标尺寸
775
+ $-radio-bg: var(--wot-radio-bg, $-checkbox-bg) !default; // 左侧图标尺寸
776
+ $-radio-label-fs: var(--wot-radio-label-fs, $-checkbox-label-fs) !default; // 右侧文字字号
777
+ $-radio-label-color: var(--wot-radio-label-color, $-checkbox-label-color) !default; // 右侧文字颜色
778
+ $-radio-checked-color: var(
779
+ --wot-radio-checked-color,
780
+ $-checkbox-checked-color
781
+ ) !default; // 选中颜色
782
+ $-radio-disabled-color: var(
783
+ --wot-radio-disabled-color,
784
+ $-checkbox-disabled-color
785
+ ) !default; // 禁用颜色
786
+ $-radio-disabled-label-color: var(
787
+ --wot-radio-disabled-label-color,
788
+ $-checkbox-disabled-label-color
789
+ ) !default; // 禁用文字颜色
790
+
791
+ $-radio-large-size: var(--wot-radio-large-size, $-checkbox-large-size) !default; // 左侧图标尺寸
792
+ $-radio-large-label-fs: var(
793
+ --wot-radio-large-label-fs,
794
+ $-checkbox-large-label-fs
795
+ ) !default; // 右侧文字字号
796
+
797
+ $-radio-button-height: var(
798
+ --wot-radio-button-height,
799
+ $-checkbox-button-height
800
+ ) !default; // 按钮模式复选框高
801
+ $-radio-button-min-width: var(--wot-radio-button-min-width, 60px) !default; // 按钮模式最小宽
802
+ $-radio-button-max-width: var(--wot-radio-button-max-width, 144px) !default; // 按钮模式最大宽
803
+ $-radio-button-radius: var(
804
+ --wot-radio-button-radius,
805
+ $-checkbox-button-radius
806
+ ) !default; // 按钮圆角大小
807
+ $-radio-button-bg: var(--wot-radio-button-bg, $-checkbox-button-bg) !default; // 按钮模式背景颜色
808
+ $-radio-button-fs: var(--wot-radio-button-fs, $-checkbox-button-font-size) !default; // 按钮模式字号
809
+ $-radio-button-border: var(
810
+ --wot-radio-button-border,
811
+ $-checkbox-button-border
812
+ ) !default; // 按钮边框颜色
813
+ $-radio-button-disabled-border: var(
814
+ --wot-radio-button-disabled-border,
815
+ $-checkbox-button-disabled-border
816
+ ) !default; // 按钮禁用边框颜色
817
+
818
+ $-radio-dot-size: var(--wot-radio-dot-size, 8px) !default; // 单选dot模式圆点尺寸
819
+ $-radio-dot-large-size: var(--wot-radio-dot-large-size, 10px) !default; // 单选dot模式大尺寸圆点尺寸
820
+ $-radio-dot-checked-bg: var(
821
+ --wot-radio-dot-checked-bg,
822
+ $-color-theme
823
+ ) !default; // 单选dot模式选中背景色
824
+ $-radio-dot-checked-border-color: var(
825
+ --wot-radio-dot-checked-border-color,
826
+ $-color-theme
827
+ ) !default; // 单选dot模式选中边框色
828
+ $-radio-dot-border-color: var(--wot-radio-dot-border-color, #dcdcdc) !default; // 单选dot模式边框色
829
+ $-radio-dot-disabled-border: var(
830
+ --wot-radio-dot-disabled-border,
831
+ #d9d9d9
832
+ ) !default; // 单选dot模式禁用边框颜色
833
+ $-radio-dot-disabled-bg: var(
834
+ --wot-radio-dot-disabled-bg,
835
+ #d9d9d9
836
+ ) !default; // 单选dot模式禁用背景颜色
837
+ /* search */
838
+ $-search-side-padding: var(--wot-search-side-padding, $-size-side-padding) !default; // 左右间距
839
+ $-search-padding: var(
840
+ --wot-search-padding,
841
+ 10px 0 10px $-search-side-padding
842
+ ) !default; // 不包含取消按钮的间距
843
+ $-search-input-radius: var(--wot-search-input-radius, 15px) !default; // 输入框圆角大小
844
+ $-search-input-bg: var(--wot-search-input-bg, $-color-bg) !default; // 输入框背景色
845
+ $-search-input-height: var(--wot-search-input-height, 30px) !default; // 输入框高度
846
+ $-search-input-padding: var(--wot-search-input-padding, 0 32px 0 42px) !default; // 输入框间距
847
+ $-search-input-fs: var(--wot-search-input-fs, $-fs-content) !default; // 输入框字号
848
+ $-search-input-color: var(--wot-search-input-color, #262626) !default; // 输入框文字颜色
849
+ $-search-icon-color: var(--wot-search-icon-color, $-color-icon) !default; // 图标颜色
850
+ $-search-icon-size: var(--wot-search-icon-size, 18px) !default; // 图标大小
851
+ $-search-clear-icon-size: var(--wot-search-clear-icon-size, $-fs-title) !default; // 清除图标大小
852
+ $-search-placeholder-color: var(
853
+ --wot-search-placeholder-color,
854
+ #bfbfbf
855
+ ) !default; // placeholder 颜色
856
+ $-search-cancel-padding: var(
857
+ --wot-search-cancel-padding,
858
+ 0 $-search-side-padding 0 10px
859
+ ) !default; // 取消按钮间距
860
+ $-search-cancel-fs: var(--wot-search-cancel-fs, $-fs-title) !default; // 取消按钮字号
861
+ $-search-cancel-color: var(--wot-search-cancel-color, rgba(0, 0, 0, 0.65)) !default; // 取消按钮颜色
862
+ $-search-light-bg: var(--wot-search-light-bg, $-color-bg) !default; // light 类型的容器背景色
863
+ /* slider */
864
+ $-slider-fs: var(--wot-slider-fs, $-fs-content) !default; // 字体大小
865
+ $-slider-handle-radius: var(--wot-slider-handle-radius, 12px) !default; // 滑块半径
866
+ $-slider-handle-bg: var(
867
+ --wot-slider-handle-bg,
868
+ resultColor(139deg, $-color-theme, 'dark' 'light', #ffffff #f7f7f7, 0% 100%)
869
+ ) !default; // 滑块背景
870
+ $-slider-axie-height: var(--wot-slider-axie-height, 3px) !default; // 滑轴高度
871
+ $-slider-color: var(--wot-slider-color, #333) !default; // 字体颜色
872
+ $-slider-axie-bg: var(--wot-slider-axie-bg, #e5e5e5) !default; // 滑轴的默认背景色
873
+ $-slider-line-color: var(
874
+ --wot-slider-line-color,
875
+ resultColor(315deg, $-color-theme, 'dark' 'light', #517cf0 #769ef5, 0% 100%)
876
+ ) !default; // 进度条颜色
877
+ $-slider-disabled-color: var(
878
+ --wot-slider-disabled-color,
879
+ rgba(0, 0, 0, 0.25)
880
+ ) !default; // 禁用状态下字体颜色
881
+ /* sort-button */
882
+ $-sort-button-fs: var(--wot-sort-button-fs, $-fs-content) !default; // 字号
883
+ $-sort-button-color: var(--wot-sort-button-color, $-color-content) !default; // 颜色
884
+ $-sort-button-height: var(--wot-sort-button-height, 48px) !default; // 高度
885
+ $-sort-button-line-height: var(--wot-sort-button-line-height, 3px) !default; // 下划线高度
886
+ $-sort-button-line-color: var(--wot-sort-button-line-color, $-color-theme) !default; // 下划线颜色
887
+ /* steps */
888
+ $-steps-icon-size: var(--wot-steps-icon-size, 22px) !default; // 图标尺寸
889
+ $-steps-inactive-color: var(
890
+ --wot-steps-inactive-color,
891
+ rgba(0, 0, 0, 0.25)
892
+ ) !default; // 等待状态文字颜色
893
+ $-steps-finished-color: var(--wot-steps-finished-color, $-color-theme) !default; // 完成文字颜色
894
+ $-steps-icon-text-fs: var(--wot-steps-icon-text-fs, $-fs-content) !default; // 数字图标文字字号
895
+ $-steps-error-color: var(--wot-steps-error-color, $-color-danger) !default; // 异常颜色
896
+ $-steps-title-fs: var(--wot-steps-title-fs, $-fs-content) !default; // 标题字号
897
+ $-steps-title-fw: var(--wot-steps-title-fw, $-fw-medium) !default; // 标题字重
898
+ $-steps-label-fs: var(--wot-steps-label-fs, $-fs-secondary) !default; // 描述信息字号
899
+ $-steps-description-color: var(
900
+ --wot-steps-description-color,
901
+ rgba(0, 0, 0, 0.45)
902
+ ) !default; // 描述信息颜色
903
+ $-steps-is-icon-width: var(
904
+ --wot-steps-is-icon-width,
905
+ 30px
906
+ ) !default; // 自定义图标的宽度,给左右留白
907
+ $-steps-line-color: var(--wot-steps-line-color, rgba(0, 0, 0, 0.15)) !default; // 线条颜色
908
+ $-steps-dot-size: var(--wot-steps-dot-size, 7px) !default; // 点状大小
909
+ $-steps-dot-active-size: var(--wot-steps-dot-active-size, 9px) !default; // 点状高亮大小
910
+ /* switch */
911
+ $-switch-size: var(--wot-switch-size, 28px) !default; // switch大小
912
+ $-switch-width: var(--wot-switch-width, calc(1.8em + 4px)) !default; // 宽度
913
+ $-switch-height: var(--wot-switch-height, calc(1em + 4px)) !default; // 高度
914
+ $-switch-circle-size: var(--wot-switch-circle-size, 1em) !default; // 圆点大小
915
+ $-switch-border-color: var(--wot-switch-border-color, #e5e5e5) !default; // 边框颜色选中状态背景颜色
916
+ $-switch-active-color: var(--wot-switch-active-color, $-color-theme) !default; // 选中状态背景
917
+ $-switch-active-shadow-color: var(
918
+ --wot-switch-active-shadow-color,
919
+ rgba(0, 83, 162, 0.5)
920
+ ) !default; // 选中状态shadow颜色
921
+ $-switch-inactive-color: var(--wot-switch-inactive-color, #eaeaea) !default; // 非选中背景颜色
922
+ $-switch-inactive-shadow-color: var(
923
+ --wot-switch-inactive-shadow-color,
924
+ rgba(155, 155, 155, 0.5)
925
+ ) !default; // 非选中状态shadow颜色
926
+ /* tabs */
927
+ $-tabs-nav-arrow-fs: var(--wot-tabs-nav-arrow-fs, 18px) !default; // 全部Icon字号
928
+ $-tabs-nav-arrow-open-fs: var(--wot-tabs-nav-arrow-open-fs, 14px) !default; // 展开Icon字号
929
+ $-tabs-nav-width: var(--wot-tabs-nav-width, 100vw) !default; // tabs 头部切换宽度
930
+ $-tabs-nav-height: var(--wot-tabs-nav-height, 42px) !default; // 头部切换高度
931
+ $-tabs-nav-fs: var(--wot-tabs-nav-fs, $-fs-content) !default; // 头部切换文字大小
932
+ $-tabs-nav-color: var(--wot-tabs-nav-color, rgba(0, 0, 0, 0.85)) !default; // 头部切换文字颜色
933
+ $-tabs-nav-bg: var(--wot-tabs-nav-bg, $-color-white) !default; // 背景颜色
934
+ $-tabs-nav-active-color: var(--wot-tabs-nav-active-color, $-color-theme) !default; // 头部高亮颜色
935
+ $-tabs-nav-disabled-color: var(
936
+ --wot-tabs-nav-disabled-color,
937
+ rgba(0, 0, 0, 0.25)
938
+ ) !default; // 头部禁用颜色
939
+ $-tabs-nav-line-height: var(--wot-tabs-nav-line-height, 3px) !default; // 高亮边框高度
940
+ $-tabs-nav-line-width: var(--wot-tabs-nav-line-width, 19px) !default; // 高亮边框宽度
941
+ $-tabs-nav-line-bg-color: var(--wot-tabs-nav-line-bg-color, $-color-theme) !default; // 底部条颜色
942
+ $-tabs-nav-map-fs: var(--wot-tabs-nav-map-fs, $-fs-content) !default; // map 类型按钮字号
943
+ $-tabs-nav-map-color: var(
944
+ --wot-tabs-nav-map-color,
945
+ rgba(0, 0, 0, 0.85)
946
+ ) !default; // map 类型按钮文字颜色
947
+ $-tabs-nav-map-arrow-color: var(
948
+ --wot-tabs-nav-map-arrow-color,
949
+ rgba(0, 0, 0, 0.65)
950
+ ) !default; // map 类型箭头颜色
951
+ $-tabs-nav-map-btn-before-bg: var(
952
+ --wot-tabs-nav-map-btn-before-bg,
953
+ linear-gradient(270deg, rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0) 100%)
954
+ ) !default; // 左侧map遮罩阴影
955
+ $-tabs-nav-map-button-back-color: var(
956
+ --wot-tabs-nav-map-button-back-color,
957
+ rgba(0, 0, 0, 0.04)
958
+ ) !default; // map 类型按钮边框颜色
959
+ $-tabs-nav-map-button-radius: var(
960
+ --wot-tabs-nav-map-button-radius,
961
+ 16px
962
+ ) !default; // map 类型按钮圆角大小
963
+ $-tabs-nav-map-modal-bg: var(
964
+ --wot-tabs-nav-map-modal-bg,
965
+ $-overlay-bg
966
+ ) !default; // map 类型蒙层背景色
967
+ /* tag */
968
+ $-tag-fs: var(--wot-tag-fs, $-fs-secondary) !default; // 字号
969
+ $-tag-color: var(--wot-tag-color, $-color-white) !default; // 字体颜色
970
+ $-tag-small-fs: var(--wot-tag-small-fs, $-fs-aid) !default; // 小尺寸字号
971
+ $-tag-info-color: var(--wot-tag-info-color, #585858) !default; // info 颜色
972
+ $-tag-primary-color: var(--wot-tag-primary-color, $-color-theme) !default; // 主颜色
973
+ $-tag-danger-color: var(--wot-tag-danger-color, $-color-danger) !default; // danger 颜色
974
+ $-tag-warning-color: var(--wot-tag-warning-color, $-color-warning) !default; // warning 颜色
975
+ $-tag-success-color: var(--wot-tag-success-color, $-color-success) !default; // success 颜色
976
+ $-tag-info-bg: var(
977
+ --wot-tag-info-bg,
978
+ resultColor(49deg, $-color-black, 'dark' 'light', #808080 #999999, 0% 100%)
979
+ ) !default; // info 背景颜色
980
+ $-tag-primary-bg: var(--wot-tag-primary-bg, $-color-theme) !default; // 主背景颜色
981
+ $-tag-danger-bg: var(--wot-tag-danger-bg, $-color-danger) !default; // danger 背景颜色
982
+ $-tag-warning-bg: var(--wot-tag-warning-bg, $-color-warning) !default; // warning 背景颜色
983
+ $-tag-success-bg: var(--wot-tag-success-bg, $-color-success) !default; // success 背景颜色
984
+ $-tag-round-color: var(--wot-tag-round-color, rgba(102, 102, 102, 1)) !default; // round 字体颜色
985
+ $-tag-round-border-color: var(
986
+ --wot-tag-round-border-color,
987
+ rgba(225, 225, 225, 1)
988
+ ) !default; // round 边框颜色
989
+ $-tag-round-radius: var(--wot-tag-round-radius, 12px) !default; // round 圆角大小
990
+ $-tag-mark-radius: var(--wot-tag-mark-radius, 6px 2px 6px 2px) !default; // mark 圆角大小
991
+ $-tag-close-size: var(--wot-tag-close-size, 14px) !default; // 关闭按钮字号
992
+ $-tag-close-color: var(--wot-tag-close-color, $-tag-info-color) !default; // 关闭按钮颜色
993
+ $-tag-close-active-color: var(
994
+ --wot-tag-close-active-color,
995
+ rgba(0, 0, 0, 0.45)
996
+ ) !default; // 关闭按钮 active 颜色
997
+ /* toast */
998
+ $-toast-padding: var(--wot-toast-padding, 16px 24px) !default; // padding
999
+ $-toast-max-width: var(--wot-toast-max-width, 300px) !default; // 最大宽度
1000
+ $-toast-radius: var(--wot-toast-radius, 8px) !default; // 圆角大小
1001
+ $-toast-bg: var(--wot-toast-bg, $-overlay-bg) !default; // 背景色
1002
+ $-toast-fs: var(--wot-toast-fs, $-fs-content) !default; // 字号
1003
+ $-toast-with-icon-min-width: var(
1004
+ --wot-toast-with-icon-min-width,
1005
+ 150px
1006
+ ) !default; // 有图标的情况下最小宽度
1007
+ $-toast-icon-size: var(--wot-toast-icon-size, 32px) !default; // 图标大小
1008
+ $-toast-icon-margin-right: var(--wot-toast-icon-margin-right, 12px) !default; // 图标右边距
1009
+ $-toast-loading-padding: var(--wot-toast-loading-padding, 10px) !default; // loading 下的padding
1010
+ $-toast-box-shadow: var(
1011
+ --wot-toast-box-shadow,
1012
+ 0px 6px 16px 0px rgba(0, 0, 0, 0.08)
1013
+ ) !default; // 外部阴影
1014
+ /* loading */
1015
+ $-loading-size: var(--wot-loading-size, 32px) !default; // loading 大小
1016
+ /* tooltip */
1017
+ $-tooltip-bg: var(--wot-tooltip-bg, rgba(38, 39, 40, 0.8)) !default; // 背景色
1018
+ $-tooltip-color: var(--wot-tooltip-color, $-color-white) !default; // 文字颜色
1019
+ $-tooltip-radius: var(--wot-tooltip-radius, 8px) !default; // 圆角大小
1020
+ $-tooltip-arrow-size: var(--wot-tooltip-arrow-size, 5px) !default; // 箭头大小
1021
+ $-tooltip-fs: var(--wot-tooltip-fs, $-fs-content) !default; // 字号
1022
+ $-tooltip-blur: var(--wot-tooltip-blur, 10px) !default; // 背景高斯模糊效果
1023
+ $-tooltip-padding: var(--wot-tooltip-padding, 9px 20px) !default; // 间距
1024
+ $-tooltip-close-size: var(--wot-tooltip-close-size, 6px) !default; // 背景高斯模糊效果
1025
+ $-tooltip-z-index: var(--wot-tooltip-z-index, 500) !default;
1026
+ $-tooltip-line-height: var(--wot-tooltip-line-height, 18px) !default; // 行高
1027
+ /* popover */
1028
+ $-popover-bg: var(--wot-popover-bg, $-color-white) !default; // 背景色
1029
+ $-popover-color: var(--wot-popover-color, rgba(0, 0, 0, 0.85)) !default; // 文字颜色
1030
+ $-popover-box-shadow: var(
1031
+ --wot-popover-box-shadow,
1032
+ 0px 2px 10px 0px rgba(0, 0, 0, 0.1)
1033
+ ) !default; // 阴影颜色
1034
+ $-popover-arrow-box-shadow: var(
1035
+ --wot-popover-arrow-box-shadow,
1036
+ 0px 2px 10px 0px rgba(0, 0, 0, 0.2)
1037
+ ) !default; // 阴影颜色
1038
+ $-popover-border-color: var(--wot-popover-border-color, rgba(0, 0, 0, 0.09)) !default; // 阴影颜色
1039
+ $-popover-radius: var(--wot-popover-radius, 4px) !default; // 圆角大小
1040
+ $-popover-arrow-size: var(--wot-popover-arrow-size, 6px) !default; // 箭头大小
1041
+ $-popover-fs: var(--wot-popover-fs, $-fs-content) !default; // 字号
1042
+ $-popover-padding: var(--wot-popover-padding, 15px) !default; // 间距
1043
+ $-popover-line-height: var(--wot-popover-line-height, 18px) !default; // 行高
1044
+ $-popover-z-index: var(--wot-popover-z-index, $-tooltip-z-index) !default;
1045
+ /* grid-item */
1046
+ $-grid-item-fs: var(--wot-grid-item-fs, 12px) !default; // 字号
1047
+ $-grid-item-bg: var(--wot-grid-item-bg, $-color-white) !default; // 字号
1048
+ $-grid-item-padding: var(--wot-grid-item-padding, 14px 0px) !default; // 内容的 padding
1049
+ $-grid-item-border-color: var(
1050
+ --wot-grid-item-border-color,
1051
+ $-color-border-light
1052
+ ) !default; // 边框颜色
1053
+ /* statustip */
1054
+ $-statustip-fs: var(--wot-statustip-fs, $-fs-content) !default; // 字号
1055
+ $-statustip-color: var(--wot-statustip-color, rgba(0, 0, 0, 0.45)) !default; // 文字颜色
1056
+ $-statustip-line-height: var(--wot-statustip-line-height, 16px) !default; // 文字行高
1057
+ $-statustip-padding: var(--wot-statustip-padding, 5px 10px) !default; // 间距
1058
+ /* card */
1059
+ $-card-bg: var(--wot-card-bg, $-color-white) !default; // 背景色
1060
+ $-card-fs: var(--wot-card-fs, $-fs-content) !default; // 卡片字号
1061
+ $-card-padding: var(--wot-card-padding, 0 $-size-side-padding) !default; // 内边距
1062
+ $-card-footer-padding: var(--wot-card-footer-padding, 12px 0 16px) !default; // 底部内边距
1063
+ $-card-shadow-color: var(
1064
+ --wot-card-shadow-color,
1065
+ 0px 4px 8px 0px rgba(0, 0, 0, 0.02)
1066
+ ) !default; // 阴影
1067
+ $-card-radius: var(--wot-card-radius, 8px) !default; // 圆角大小
1068
+ $-card-line-height: var(--wot-card-line-height, 1.1) !default; // 行高
1069
+ $-card-margin: var(--wot-card-margin, 0 $-size-side-padding) !default; // 外边距
1070
+ $-card-title-color: var(--wot-card-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题颜色
1071
+ $-card-title-fs: var(--wot-card-title-fs, $-fs-title) !default; // 矩形卡片标题字号
1072
+ $-card-content-border-color: var(
1073
+ --wot-card-content-border-color,
1074
+ rgba(0, 0, 0, 0.09)
1075
+ ) !default; // 内容边框
1076
+ $-card-rectangle-title-padding: var(
1077
+ --wot-card-rectangle-title-padding,
1078
+ 15px 15px 12px
1079
+ ) !default; // 矩形卡片头部内边距
1080
+ $-card-rectangle-content-padding: var(
1081
+ --wot-card-rectangle-content-padding,
1082
+ 16px 0
1083
+ ) !default; // 矩形卡片内容内边距
1084
+ $-card-rectangle-footer-padding: var(
1085
+ --wot-card-rectangle-footer-padding,
1086
+ 12px 0
1087
+ ) !default; // 矩形卡片底部内边距
1088
+ $-card-content-color: var(--wot-card-content-color, rgba(0, 0, 0, 0.45)) !default; // 文本内容颜色
1089
+ $-card-content-line-height: var(--wot-card-content-line-height, 1.428) !default; // 文本内容行高
1090
+ $-card-content-margin: var(--wot-card-content-margin, 13px 0 12px) !default; // 内容外边距
1091
+ $-card-content-rectangle-margin: var(
1092
+ --wot-card-content-rectangle-margin,
1093
+ 14px 0 12px
1094
+ ) !default; // 矩形卡片内容外边距
1095
+ /* upload */
1096
+ $-upload-size: var(--wot-upload-size, 80px) !default; // upload的外边框默认尺寸
1097
+ $-upload-evoke-icon-size: var(--wot-upload-evoke-icon-size, 32px) !default; // 唤起项的图标大小
1098
+ $-upload-evoke-bg: var(--wot-upload-evoke-bg, rgba(0, 0, 0, 0.04)) !default; // 唤起项的背景色
1099
+ $-upload-evoke-color: var(
1100
+ --wot-upload-evoke-color,
1101
+ rgba(0, 0, 0, 0.25)
1102
+ ) !default; // 唤起项的图标颜色
1103
+ $-upload-evoke-disabled-color: var(
1104
+ --wot-upload-evoke-disabled-color,
1105
+ rgba(0, 0, 0, 0.09)
1106
+ ) !default; // 唤起项禁用颜色
1107
+ $-upload-close-icon-size: var(--wot-upload-close-icon-size, 16px) !default; // 移除按钮尺寸
1108
+ $-upload-close-icon-color: var(
1109
+ --wot-upload-close-icon-color,
1110
+ rgba(0, 0, 0, 0.65)
1111
+ ) !default; // 移除按钮颜色
1112
+ $-upload-progress-fs: var(--wot-upload-progress-fs, 14px) !default; // 进度文字字号
1113
+ $-upload-file-fs: var(--wot-upload-file-fs, 12px) !default; // 文件名字号
1114
+ $-upload-file-color: var(--wot-upload-file-color, $-color-secondary) !default; // 文件名字颜色
1115
+ $-upload-preview-name-fs: var(--wot-upload-preview-name-fs, 12px) !default; // 预览图片名字号
1116
+ $-upload-preview-icon-size: var(--wot-upload-preview-icon-size, 24px) !default; // 预览内部图标尺寸
1117
+ $-upload-preview-name-bg: var(
1118
+ --wot-upload-preview-name-bg,
1119
+ rgba(0, 0, 0, 0.6)
1120
+ ) !default; // 预览文件名背景色
1121
+ $-upload-preview-name-height: var(
1122
+ --wot-upload-preview-name-height,
1123
+ 22px
1124
+ ) !default; // 预览文件名背景高度
1125
+ $-upload-cover-icon-size: var(--wot-upload-cover-icon-size, 22px) !default; // 视频/文件图标尺寸
1126
+ /* curtain */
1127
+ $-curtain-content-radius: var(--wot-curtain-content-radius, 24px) !default; // 内容圆角
1128
+ $-curtain-content-close-color: var(
1129
+ --wot-curtain-content-close-color,
1130
+ $-color-white
1131
+ ) !default; // 关闭按钮颜色
1132
+ $-curtain-content-close-fs: var(--wot-curtain-content-close-fs, $-fs-big) !default; // 关闭按钮大小
1133
+ /* notify */
1134
+ $-notify-text-color: var(--wot-notify-text-color, $-color-white) !default;
1135
+ $-notify-padding: var(--wot-notify-padding, 8px 16px) !default;
1136
+ $-notify-font-size: var(--wot-notify-font-size, $-fs-content) !default;
1137
+ $-notify-line-height: var(--wot-notify-line-height, 20px) !default;
1138
+ $-notify-primary-background: var(--wot-notify-primary-background, $-color-theme) !default;
1139
+ $-notify-success-background: var(--wot-notify-success-background, $-color-success) !default;
1140
+ $-notify-danger-background: var(--wot-notify-danger-background, $-color-danger) !default;
1141
+ $-notify-warning-background: var(--wot-notify-warning-background, $-color-warning) !default;
1142
+ /* skeleton */
1143
+ $-skeleton-background-color: var(--wot-skeleton-background-color, #eee) !default;
1144
+ $-skeleton-animation-gradient: var(--wot-skeleton-animation-gradient, rgba(0, 0, 0, 0.04)) !default;
1145
+ $-skeleton-animation-flashed: var(
1146
+ --wot-skeleton-animation-flashed,
1147
+ rgba(230, 230, 230, 0.3)
1148
+ ) !default;
1149
+ $-skeleton-text-height-default: var(--wot-skeleton-text-height-default, 16px) !default;
1150
+ $-skeleton-rect-height-default: var(--wot-skeleton-rect-height-default, 16px) !default;
1151
+ $-skeleton-circle-height-default: var(--wot-skeleton-circle-height-default, 48px) !default;
1152
+ $-skeleton-row-margin-bottom: var(--wot-skeleton-row-margin-bottom, 16px) !default;
1153
+ $-skeleton-border-radius-text: var(--wot-skeleton-border-radius-text, 2px) !default;
1154
+ $-skeleton-border-radius-rect: var(--wot-skeleton-border-radius-rect, 4px) !default;
1155
+ $-skeleton-border-radius-circle: var(--wot-skeleton-border-radius-circle, 50%) !default;
1156
+ /* circle */
1157
+ $-circle-text-color: var(--wot-circle-text-color, $-color-content) !default; // circle文字颜色
1158
+ /* swiper */
1159
+ $-swiper-radius: var(--wot-swiper-radius, 8px);
1160
+ $-swiper-item-padding: var(--wot-swiper-item-padding, 0);
1161
+ /* swiper-nav */
1162
+ // dot & dots-bar
1163
+ $-swiper-nav-dot-color: var(--wot-swiper-nav-dot-color, $-font-white-2) !default;
1164
+ $-swiper-nav-dot-active-color: var(--wot-swiper-nav-dot-active-color, $-font-white-1) !default;
1165
+ $-swiper-nav-dot-size: var(--wot-swiper-nav-dot-size, 12rpx) !default;
1166
+ $-swiper-nav-dots-bar-active-width: var(--wot-swiper-nav-dots-bar-active-width, 40rpx) !default;
1167
+ // fraction
1168
+ $-swiper-nav-fraction-color: var(--wot-swiper-nav-fraction-color, $-font-white-1) !default;
1169
+ $-swiper-nav-fraction-bg-color: var(--wot-swiper-nav-fraction-bg-color, $-font-gray-3) !default;
1170
+ $-swiper-nav-fraction-height: var(--wot-swiper-nav-fraction-height, 48rpx) !default;
1171
+ $-swiper-nav-fraction-font-size: var(--wot-swiper-nav-fraction-font-size, 24rpx) !default;
1172
+ // button
1173
+ $-swiper-nav-btn-color: var(--wot-swiper-nav-btn-color, $-font-white-1) !default;
1174
+ $-swiper-nav-btn-bg-color: var(--wot-swiper-nav-btn-bg-color, $-font-gray-3) !default;
1175
+ $-swiper-nav-btn-size: var(--wot-swiper-nav-btn-size, 48rpx) !default;
1176
+ /* segmented */
1177
+ $-segmented-padding: var(--wot-segmented-padding, 4px) !default; // 分段器padding
1178
+ $-segmented-item-bg-color: var(--wot-segmented-item-bg-color, #eeeeee) !default;
1179
+ $-segmented-item-color: var(
1180
+ --wot-segmented-item-color,
1181
+ rgba(0, 0, 0, 0.85)
1182
+ ) !default; // 标题文字颜色
1183
+ $-segmented-item-acitve-bg: var(--wot-segmented-item-acitve-bg, #ffffff) !default; // 标题文字颜色
1184
+ $-segmented-item-disabled-color: var(
1185
+ --wot-segmented-item-disabled-color,
1186
+ rgba(0, 0, 0, 0.25)
1187
+ ) !default; // 标题文字禁用颜色
1188
+ /* tabbar */
1189
+ $-tabbar-height: var(--wot-tabbar-height, 50px) !default;
1190
+ $-tabbar-box-shadow: var(
1191
+ --wot-tabbar-box-shadow,
1192
+ 0 6px 30px 5px rgba(0, 0, 0, 0.05),
1193
+ 0 16px 24px 2px rgba(0, 0, 0, 0.04),
1194
+ 0 8px 10px -5px rgba(0, 0, 0, 0.08)
1195
+ ) !default; // round类型tabbar阴影
1196
+ /* tabbar-item */
1197
+ $-tabbar-item-title-font-size: var(
1198
+ --wot-tabbar-item-title-font-size,
1199
+ 10px
1200
+ ) !default; // tabbar选项文字大小
1201
+ $-tabbar-item-title-line-height: var(
1202
+ --wot-tabbar-item-title-line-height,
1203
+ initial
1204
+ ) !default; // tabbar选项标题文字行高
1205
+ $-tabbar-inactive-color: var(
1206
+ --wot-tabbar-inactive-color,
1207
+ $-color-title
1208
+ ) !default; // 标题文字和图标颜色
1209
+ $-tabbar-active-color: var(--wot-tabbar-active-color, $-color-theme) !default; // 选中文字和图标颜色
1210
+ $-tabbar-item-icon-size: var(--wot-tabbar-item-icon-size, 20px) !default; // tabbar选项图标大小
1211
+ /* navbar */
1212
+ $-navbar-height: var(--wot-navbar-height, 44px) !default; // navbar高度
1213
+ $-navbar-color: var(--wot-navbar-color, $-font-gray-1) !default; // navbar字体颜色
1214
+ $-navbar-background: var(--wot-navbar-background, $-color-white) !default; // navbar背景颜色
1215
+ $-navbar-arrow-size: var(--wot-navbar-arrow-size, 24px) !default; // navbar左箭头图标大小
1216
+ $-navbar-desc-font-size: var(--wot-navbar-desc-font-size, 16px); // navbar 左箭头字体大小
1217
+ $-navbar-desc-font-color: var(
1218
+ --wot-navbar-desc-font-color,
1219
+ $-font-gray-1
1220
+ ) !default; // navbar左右两侧字体颜色
1221
+ $-navbar-title-font-size: var(--wot-navbar-title-font-size, 18px); // navbar title字体大小
1222
+ $-navbar-title-font-weight: var(--wot-navbar-title-font-weight, 600); // navbar title字重
1223
+ $-navbar-disabled-opacity: var(
1224
+ --wot-navbar-disabled-opacity,
1225
+ 0.6
1226
+ ) !default; // navbar左右两侧字体禁用
1227
+ $-navbar-hover-color: var(--wot-navbar-hover-color, #eee) !default; // navbar hover样式
1228
+ /* navbar-capsule */
1229
+ $-navbar-capsule-border-color: var(--wot-navbar-capsule-border-color, #e7e7e7) !default;
1230
+ $-navbar-capsule-border-radius: var(--wot-navbar-capsule-border-radius, 16px) !default;
1231
+ $-navbar-capsule-width: var(--wot-navbar-capsule-width, 88px) !default;
1232
+ $-navbar-capsule-height: var(--wot-navbar-capsule-height, 32px) !default;
1233
+ $-navbar-capsule-icon-size: var(
1234
+ --wot-navbar-capsule-icon-size,
1235
+ 20px
1236
+ ) !default; // navbar capsule图标大小
1237
+ /* table */
1238
+ $-table-color: var(--wot-table-color, $-font-gray-1) !default; // 表格字体颜色
1239
+ $-table-bg: var(--wot-table-bg, #ffffff) !default; // 表格背景颜色
1240
+ $-table-stripe-bg: var(--wot-table-stripe-bg, #f3f3f3) !default; // 表格背景颜色
1241
+ $-table-border-color: var(--wot-table-border-color, #ececec) !default; // 表格边框颜色
1242
+ $-table-font-size: var(--wot-table-font-size, 13px) !default; // 表格字体大小
1243
+ /* sidebar */
1244
+ $-sidebar-bg: var(--wot-sidebar-bg, $-color-gray-1) !default; // 侧边栏背景色
1245
+ $-sidebar-width: var(--wot-sidebar-width, 104px) !default; // 侧边栏宽度
1246
+ $-sidebar-height: var(--wot-sidebar-height, 100%) !default; // 侧边栏高度
1247
+ /* sidebar-item */
1248
+ $-sidebar-color: var(--wot-sidebar-color, $-font-gray-1) !default;
1249
+ $-sidebar-item-height: var(--wot-sidebar-item-height, 56px) !default;
1250
+ $-sidebar-item-line-height: var(--wot-sidebar-item-line-height, 24px) !default;
1251
+ $-sidebar-disabled-color: var(--wot-side-bar-disabled-color, $-font-gray-4) !default;
1252
+ $-sidebar-active-color: var(--wot-sidebar-active-color, $-color-theme) !default; // 激活项字体颜色
1253
+ $-sidebar-active-bg: var(--wot-sidebar-active-bg, $-color-white) !default; // 激活项背景颜色
1254
+ $-sidebar-hover-bg: var(--wot-sidebar-hover-bg, $-color-gray-2) !default; // 激活项点击背景颜色
1255
+ $-sidebar-border-radius: var(--wot-sidebar-border-radius, 8px) !default;
1256
+ $-sidebar-font-size: var(--wot-sidebar-font-size, 16px) !default;
1257
+ $-sidebar-icon-size: var(--wot-sidebar-icon-size, 20px) !default;
1258
+ $-sidebar-active-border-width: var(--wot-sidebar-active-border-width, 4px) !default;
1259
+ $-sidebar-active-border-height: var(--wot-sidebar-active-border-height, 16px) !default;
1260
+ /* fab */
1261
+ $-fab-trigger-height: var(--wot-fab-trigger-height, 56px) !default;
1262
+ $-fab-trigger-width: var(--wot-fab-trigger-width, 56px) !default;
1263
+ $-fab-actions-padding: var(--wot-actions-padding, 12px) !default;
1264
+ $-fab-icon-fs: var(--wot-fab-icon-fs, 20px) !default;
1265
+ /* count-down */
1266
+ $-count-down-text-color: var(--wot-count-down-text-color, $-color-gray-8) !default;
1267
+ $-count-down-font-size: var(--wot-count-down-font-size, $-fs-content) !default;
1268
+ $-count-down-line-height: var(--wot-count-down-line-height, 20px) !default;
1269
+ /* number-keyboard */
1270
+ $-number-keyboard-key-height: var(--wot-number-keyboard-key-height, 48px) !default;
1271
+ $-number-keyboard-key-font-size: var(--wot-number-keyboard-key-font-size, 28px) !default;
1272
+ $-number-keyboard-key-background: var(--wot-number-keyboard-key-background, $-color-white) !default;
1273
+ $-number-keyboard-key-border-radius: var(--wot-number-keyboard-key-border-radius, 8px) !default;
1274
+ $-number-keyboard-delete-font-size: var(--wot-number-keyboard-delete-font-size, 16px) !default;
1275
+ $-number-keyboard-key-active-color: var(
1276
+ --wot-number-keyboard-key-active-color,
1277
+ $-color-gray-3
1278
+ ) !default;
1279
+ $-number-keyboard-button-text-color: var(
1280
+ --wot-number-keyboard-button-text-color,
1281
+ $-color-white
1282
+ ) !default;
1283
+ $-number-keyboard-button-background: var(
1284
+ --wot-number-keyboard--button-background,
1285
+ $-color-theme
1286
+ ) !default;
1287
+ $-number-keyboard-button-active-opacity: var(
1288
+ --wot-number-keyboard-button-active-opacity,
1289
+ 0.6
1290
+ ) !default;
1291
+ $-number-keyboard-background: var(--wot-number-keyboard-background, $-color-gray-2) !default;
1292
+ $-number-keyboard-title-height: var(--wot-number-keyboard-title-height, 34px) !default;
1293
+ $-number-keyboard-title-color: var(--wot-number-keyboard-title-color, $-color-gray-7) !default;
1294
+ $-number-keyboard-title-font-size: var(--wot-number-keyboard-title-font-size, 16px) !default;
1295
+ $-number-keyboard-close-padding: var(--wot-number-keyboard-title-font-size, 0 16px) !default;
1296
+ $-number-keyboard-close-color: var(--wot-number-keyboard-close-color, $-color-theme) !default;
1297
+ $-number-keyboard-close-font-size: var(--wot-number-keyboard-close-font-size, 14px) !default;
1298
+ $-number-keyboard-icon-size: var(--wot-number-keyboard-icon-size, 22px) !default;
1299
+ /* passwod-input */
1300
+ $-password-input-height: var(--wot-password-input-height, 50px);
1301
+ $-password-input-margin: var(--wot-password-input-margin, 16px);
1302
+ $-password-input-font-size: var(--wot-password-input-margin, 20px);
1303
+ $-password-input-radius: var(--wot-password-input-radius, 6px);
1304
+ $-password-input-background: var(--wot-password-input-background, #fff);
1305
+ $-password-input-info-color: var(--wot-password-input-info-color, $-color-info);
1306
+ $-password-input-info-font-size: var(--wot-password-input-info-font-size, $-fs-content);
1307
+ $-password-input-border-color: var(--wot-password-border-color, #ebedf0);
1308
+ $-password-input-error-info-color: var(--wot-password-input-error-info-color, $-color-danger);
1309
+ $-password-input-dot-size: var(--wot-password-input-dot-size, 10px);
1310
+ $-password-input-dot-color: var(--wot-password-input-dot-color, $-color-gray-8);
1311
+ $-password-input-text-color: var(--wot-password-input-text-color, $-color-gray-8);
1312
+ $-password-input-cursor-color: var(--wot-password-input-cursor-color, $-color-gray-8);
1313
+ $-password-input-cursor-width: var(--wot-password-input-cursor-width, 1px);
1314
+ $-password-input-cursor-height: var(--wot-password-input-cursor-height, 40%);
1315
+ $-password-input-cursor-duration: var(--wot-password-input-cursor-duration, 1s);
1316
+ /* form-item */
1317
+ $-form-item-error-message-color: var(--wot-form-item-error-message-color, $-color-danger) !default;
1318
+ $-form-item-error-message-font-size: var(
1319
+ --wot-form-item-error-message-font-size,
1320
+ $-fs-secondary
1321
+ ) !default;
1322
+ $-form-item-error-message-line-height: var(
1323
+ --wot-form-item-error-message-line-height,
1324
+ 24px
1325
+ ) !default;
1326
+ /* backtop */
1327
+ $-backtop-bg: var(--wot-backtop-bg, #e1e1e1) !default;
1328
+ $-backtop-icon-size: var(--wot-backtop-icon-size, 20px) !default;
1329
+ /* index-bar */
1330
+ $-index-bar-index-font-size: var(--wot-index-bar-index-font-size, $-fs-aid) !default;
1331
+ /* text */
1332
+ $-text-info-color: var(--wot-text-info-color, $-color-info) !default;
1333
+ $-text-primary-color: var(--wot-text-primary-color, $-color-theme) !default;
1334
+ $-text-error-color: var(--wot-text-error-color, $-color-danger) !default;
1335
+ $-text-warning-color: var(--wot-text-warning-color, $-color-warning) !default;
1336
+ $-text-success-color: var(--wot-text-success-color, $-color-success) !default;
1337
+ /* video-preview */
1338
+ $-video-preview-bg: var(--wot-video-preview-bg, rgba(0, 0, 0, 0.8)) !default; // 背景色
1339
+ $-video-preview-close-color: var(--wot-video-preview-close-color, #fff) !default; // 图标颜色
1340
+ $-video-preview-close-font-size: var(
1341
+ --wot-video-preview-close-font-size,
1342
+ 20px
1343
+ ) !default; // 图标大小
1344
+ /* img-cropper */
1345
+ $-img-cropper-icon-size: var(--wot-img-cropper-icon-size, $-fs-big) !default; // 图标大小
1346
+ $-img-cropper-icon-color: var(--wot-img-cropper-icon-color, #fff) !default; // 图标颜色