global.scss 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881
  1. @use 'sass:math';
  2. @function px2rpx($px) {
  3. @return $px * 1rpx;
  4. }
  5. :root {
  6. --color-red-400: oklch(70.4% .191 22.216);
  7. --color-orange-600: oklch(64.6% .222 41.116);
  8. --color-amber-50: oklch(98.7% .022 95.277);
  9. --color-amber-400: oklch(82.8% .189 84.429);
  10. --color-yellow-100: oklch(97.3% .071 103.193);
  11. --color-yellow-400: oklch(85.2% .199 91.936);
  12. --color-yellow-500: oklch(79.5% .184 86.047);
  13. --color-green-300: oklch(87.1% .15 154.449);
  14. --color-green-400: oklch(79.2% .209 151.711);
  15. --color-sky-100: oklch(95.1% .026 236.824);
  16. --color-sky-400: oklch(74.6% .16 232.661);
  17. --color-blue-500: oklch(62.3% .214 259.815);
  18. --color-blue-600: oklch(54.6% .245 262.881);
  19. --color-indigo-50: oklch(96.2% .018 272.314);
  20. --color-indigo-100: oklch(93% .034 272.788);
  21. --color-indigo-400: oklch(67.3% .182 276.935);
  22. --color-indigo-600: oklch(51.1% .262 276.966);
  23. --color-violet-400: oklch(70.2% .183 293.541);
  24. --color-purple-300: oklch(82.7% .119 306.383);
  25. --color-purple-500: oklch(62.7% .265 303.9);
  26. --color-purple-600: oklch(55.8% .288 302.321);
  27. --color-fuchsia-400: oklch(74% .238 322.16);
  28. --color-fuchsia-600: oklch(59.1% .293 322.896);
  29. --color-pink-100: oklch(94.8% .028 342.258);
  30. --color-pink-300: oklch(82.3% .12 346.018);
  31. --color-pink-500: oklch(0.59 0.22 25.62);
  32. --color-pink-600: oklch(0.67 0.21 36.35);
  33. --color-rose-500: oklch(64.5% .246 16.439);
  34. --color-slate-50: oklch(98.4% .003 247.858);
  35. --color-slate-100: oklch(96.8% .007 247.896);
  36. --color-slate-200: oklch(92.9% .013 255.508);
  37. --color-slate-300: oklch(86.9% .022 252.894);
  38. --color-slate-400: oklch(70.4% .04 256.788);
  39. --color-slate-500: oklch(55.4% .046 257.417);
  40. --color-slate-600: oklch(44.6% .043 257.281);
  41. --color-slate-700: oklch(37.2% .044 257.287);
  42. --color-slate-800: oklch(27.9% .041 260.031);
  43. --color-slate-900: oklch(20.8% .042 265.755);
  44. --color-gray-200: oklch(92.8% .006 264.531);
  45. --color-zinc-100: oklch(96.7% .001 286.375);
  46. --color-black: #000;
  47. --color-gray: #F2F2F2;
  48. --color-gray-second: #6B7188;
  49. --color-white: #fff;
  50. --font-size-10: px2rpx(10);
  51. --font-size-12: px2rpx(12);
  52. --font-size-13: px2rpx(13);
  53. --font-size-14: px2rpx(14);
  54. --font-size-15: px2rpx(15);
  55. --font-size-16: px2rpx(16);
  56. --font-size-18: px2rpx(18);
  57. --font-size-20: px2rpx(20);
  58. --font-size-22: px2rpx(22);
  59. --font-size-24: px2rpx(24);
  60. --font-size-26: px2rpx(26);
  61. --font-size-28: px2rpx(28);
  62. --font-size-32: px2rpx(32);
  63. --font-size-36: px2rpx(36);
  64. --font-size-40: px2rpx(40);
  65. --el-component-size: px2rpx(40);
  66. --ease-in: cubic-bezier(.4, 0, 1, 1);
  67. --ease-out: cubic-bezier(0, 0, .2, 1);
  68. --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  69. --animate-spin: spin 1s linear infinite;
  70. --animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite;
  71. --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
  72. --blur-sm: 8px;
  73. --default-transition-duration: .15s;
  74. --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  75. --default-font-family: var(--font-sans);
  76. --default-mono-font-family: var(--font-mono);
  77. --font-inter: Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  78. --color-navy-50: #e7e9ef;
  79. --color-navy-100: #fff;
  80. --color-navy-200: #a3adc2;
  81. --color-navy-300: #697a9b;
  82. --color-navy-400: #5c6b8a;
  83. --color-navy-450: #465675;
  84. --color-navy-500: #3a3c43;
  85. --color-navy-600: #313e59;
  86. --color-navy-700: #242726;
  87. --color-navy-750: #222e45;
  88. --color-navy-800: #202b40;
  89. --color-navy-900: #141a18;
  90. --color-slate-150: #e9eef5;
  91. --color-primary: #4f46e5;
  92. --color-primary-focus: #4338ca;
  93. --color-secondary-light: #ff57d8;
  94. --color-secondary: #141a18;
  95. --color-secondary-focus: #242726;
  96. --color-accent-light: #242726;
  97. --color-accent: #5f5af6;
  98. --color-accent-focus: #4d47f5;
  99. --color-info: #0ea5e9;
  100. --color-info-focus: #0284c7;
  101. --color-success: #1ac23a;
  102. --color-success-focus: #17a732;
  103. --color-warning: #ff9800;
  104. --color-warning-focus: #e68200;
  105. --color-error: #e32326;
  106. --color-error-focus: #f03000;
  107. --color-bg-main: #f8f9f9;
  108. --text-tiny: .625rem;
  109. --text-tiny--line-height: .8125rem;
  110. --text-tiny-plus: .6875rem;
  111. --text-tiny-plus--line-height: .875rem;
  112. --text-xs-plus: .8125rem;
  113. --text-xs-plus--line-height: 1.125rem;
  114. --text-sm-plus: .9375rem;
  115. --text-sm-plus--line-height: 1.375rem;
  116. --animate-shimmer: shimmer 2s linear infinite;
  117. // 状态背景色
  118. --status-warning-bg: var(--color-amber-50);
  119. --status-success-bg: var(--color-green-300);
  120. --status-processing-bg: var(--color-sky-100);
  121. --status-danger-bg: var(--color-pink-100);
  122. --status-expired-bg: var(--color-slate-200);
  123. --status-cancelled-bg: var(--color-slate-100);
  124. // 状态文字颜色
  125. --status-warning-text: var(--color-orange-600);
  126. --status-success-text: var(--color-green-400);
  127. --status-processing-text: var(--color-blue-600);
  128. --status-danger-text: var(--color-rose-500);
  129. --status-expired-text: var(--color-slate-600);
  130. --status-cancelled-text: var(--color-slate-500);
  131. // 状态边框颜色
  132. --status-warning-border: var(--color-amber-400);
  133. --status-success-border: var(--color-green-400);
  134. --status-processing-border: var(--color-sky-400);
  135. --status-danger-border: var(--color-pink-300);
  136. --status-expired-border: var(--color-slate-400);
  137. --status-cancelled-border: var(--color-slate-300);
  138. --bs-secondary: #ef4223;
  139. // 新的
  140. --bs-blue: #0d6efd;
  141. --bs-indigo: #6610f2;
  142. --bs-purple: #6f42c1;
  143. --bs-pink: #d63384;
  144. --bs-red: #dc3545;
  145. --bs-orange: #fd7e14;
  146. --bs-yellow: #ffc107;
  147. --bs-green: #198754;
  148. --bs-teal: #20c997;
  149. --bs-cyan: #0dcaf0;
  150. --bs-black: #000;
  151. --bs-white: #ffffff;
  152. --bs-gray: #6c757d;
  153. --bs-gray-dark: #343a40;
  154. --bs-gray-100: #f8f9fa;
  155. --bs-gray-200: #e9ecef;
  156. --bs-gray-300: #dee2e6;
  157. --bs-gray-400: #ced4da;
  158. --bs-gray-500: #adb5bd;
  159. --bs-gray-600: #6c757d;
  160. --bs-gray-700: #495057;
  161. --bs-gray-800: #343a40;
  162. --bs-gray-900: #212529;
  163. --bs-secondary: #316AFF;
  164. --bs-secondary: #FF8110;
  165. --bs-success: #22B07E;
  166. --bs-info: #02B4FA;
  167. --bs-warning: #FDBB1F;
  168. --bs-danger: #FF401C;
  169. --bs-light: #ECF2FD;
  170. --bs-dark: #0C243C;
  171. --bs-white: #ffffff;
  172. --bs-gray: #97A1C0;
  173. --bs-secondary-rgb: 49, 106, 255;
  174. --bs-secondary-rgb: 255, 129, 16;
  175. --bs-success-rgb: 34, 176, 126;
  176. --bs-info-rgb: 2, 180, 250;
  177. --bs-warning-rgb: 253, 187, 31;
  178. --bs-danger-rgb: 255, 64, 28;
  179. --bs-light-rgb: 236, 242, 253;
  180. --bs-dark-rgb: 12, 36, 60;
  181. --bs-white-rgb: 255, 255, 255;
  182. --bs-gray-rgb: 151, 161, 192;
  183. --bs-secondary-text-emphasis: #142a66;
  184. --bs-secondary-text-emphasis: #663406;
  185. --bs-success-text-emphasis: #0e4632;
  186. --bs-info-text-emphasis: #014864;
  187. --bs-warning-text-emphasis: #654b0c;
  188. --bs-danger-text-emphasis: #661a0b;
  189. --bs-light-text-emphasis: #495057;
  190. --bs-dark-text-emphasis: #495057;
  191. --bs-secondary-bg-subtle: #eaf0ff;
  192. --bs-secondary-bg-subtle: #fff2e7;
  193. --bs-success-bg-subtle: #e9f7f2;
  194. --bs-info-bg-subtle: #e6f8ff;
  195. --bs-warning-bg-subtle: #fff8e9;
  196. --bs-danger-bg-subtle: #ffece8;
  197. --bs-light-bg-subtle: #fcfcfd;
  198. --bs-dark-bg-subtle: #ced4da;
  199. --bs-secondary-border-subtle: #ccdaff;
  200. --bs-secondary-border-subtle: #ffe0c3;
  201. --bs-success-border-subtle: #c8ebdf;
  202. --bs-info-border-subtle: #c0ecfe;
  203. --bs-warning-border-subtle: #ffeec7;
  204. --bs-danger-border-subtle: #ffcfc6;
  205. --bs-light-border-subtle: #e9ecef;
  206. --bs-dark-border-subtle: #adb5bd;
  207. --bs-white-rgb: 255, 255, 255;
  208. --bs-black-rgb: 0, 0, 0;
  209. --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  210. --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  211. --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  212. --bs-body-font-family: "Plus Jakarta Sans", sans-serif;
  213. --bs-body-font-size: 0.875rem;
  214. --bs-body-font-weight: 500;
  215. --bs-body-line-height: 1.6;
  216. --bs-body-color: #97A1C0;
  217. --bs-body-color-rgb: 151, 161, 192;
  218. --bs-body-bg: #fff;
  219. --bs-body-bg-rgb: 255, 255, 255;
  220. --bs-emphasis-color: #000;
  221. --bs-emphasis-color-rgb: 0, 0, 0;
  222. --bs-secondary-color: rgba(151, 161, 192, 0.75);
  223. --bs-secondary-color-rgb: 151, 161, 192;
  224. --bs-secondary-bg: #f9f9f9;
  225. --bs-secondary-bg-rgb: 249, 249, 249;
  226. --bs-tertiary-color: rgba(151, 161, 192, 0.5);
  227. --bs-tertiary-color-rgb: 151, 161, 192;
  228. --bs-tertiary-bg: #f8f9fa;
  229. --bs-tertiary-bg-rgb: 248, 249, 250;
  230. --bs-heading-color: #0C243C;
  231. --bs-link-color: #316AFF;
  232. --bs-link-color-rgb: 49, 106, 255;
  233. --bs-link-decoration: none;
  234. --bs-link-hover-color: #2755cc;
  235. --bs-link-hover-color-rgb: 39, 85, 204;
  236. --bs-code-color: #d63384;
  237. --bs-highlight-color: #97A1C0;
  238. --bs-highlight-bg: #fff3cd;
  239. --bs-border-width: 1px;
  240. --bs-border-style: solid;
  241. --bs-border-color: #E8EBF1;
  242. --bs-border-color-translucent: rgba(0, 0, 0, 0.1);
  243. --bs-border-radius: 0.375rem;
  244. --bs-border-radius-sm: 0.25rem;
  245. --bs-border-radius-lg: 0.625rem;
  246. --bs-border-radius-xl: 1rem;
  247. --bs-border-radius-xxl: 2rem;
  248. --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  249. --bs-border-radius-pill: 50rem;
  250. --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  251. --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  252. --bs-box-shadow-lg: 0 0.26rem 1.126rem 0 rgba(45, 42, 60, 0.15);
  253. --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  254. --bs-focus-ring-width: 0.1rem;
  255. --bs-focus-ring-opacity: 0.25;
  256. --bs-focus-ring-color: rgba(49, 106, 255, 0.25);
  257. --bs-form-valid-color: #22B07E;
  258. --bs-form-valid-border-color: #22B07E;
  259. --bs-form-invalid-color: #FF401C;
  260. --bs-form-invalid-border-color: #FF401C;
  261. }
  262. .dark {
  263. --color-red-400: oklch(70.4% .191 22.216);
  264. --color-orange-600: oklch(64.6% .222 41.116);
  265. --color-amber-50: oklch(98.7% .022 95.277);
  266. --color-amber-400: oklch(82.8% .189 84.429);
  267. --color-yellow-100: oklch(97.3% .071 103.193);
  268. --color-yellow-400: oklch(85.2% .199 91.936);
  269. --color-yellow-500: oklch(79.5% .184 86.047);
  270. --color-green-300: oklch(87.1% .15 154.449);
  271. --color-green-400: oklch(79.2% .209 151.711);
  272. --color-sky-100: oklch(95.1% .026 236.824);
  273. --color-sky-400: oklch(74.6% .16 232.661);
  274. --color-blue-500: oklch(62.3% .214 259.815);
  275. --color-blue-600: oklch(54.6% .245 262.881);
  276. --color-indigo-50: oklch(96.2% .018 272.314);
  277. --color-indigo-100: oklch(93% .034 272.788);
  278. --color-indigo-400: oklch(67.3% .182 276.935);
  279. --color-indigo-600: oklch(51.1% .262 276.966);
  280. --color-violet-400: oklch(70.2% .183 293.541);
  281. --color-purple-300: oklch(82.7% .119 306.383);
  282. --color-purple-500: oklch(62.7% .265 303.9);
  283. --color-purple-600: oklch(55.8% .288 302.321);
  284. --color-fuchsia-400: oklch(74% .238 322.16);
  285. --color-fuchsia-600: oklch(59.1% .293 322.896);
  286. --color-pink-100: oklch(94.8% .028 342.258);
  287. --color-pink-300: oklch(82.3% .12 346.018);
  288. --color-pink-500: oklch(0.59 0.22 25.62);
  289. --color-pink-600: oklch(0.67 0.21 36.35);
  290. --color-rose-500: oklch(64.5% .246 16.439);
  291. --color-slate-50: oklch(98.4% .003 247.858);
  292. --color-slate-100: oklch(96.8% .007 247.896);
  293. --color-slate-200: oklch(92.9% .013 255.508);
  294. --color-slate-300: oklch(86.9% .022 252.894);
  295. --color-slate-400: oklch(70.4% .04 256.788);
  296. --color-slate-500: oklch(55.4% .046 257.417);
  297. --color-slate-600: oklch(44.6% .043 257.281);
  298. --color-slate-700: oklch(37.2% .044 257.287);
  299. --color-slate-800: oklch(27.9% .041 260.031);
  300. --color-slate-900: oklch(20.8% .042 265.755);
  301. --color-gray-200: oklch(92.8% .006 264.531);
  302. --color-zinc-100: oklch(96.7% .001 286.375);
  303. --color-black: #000;
  304. --color-white: #fff;
  305. --color-navy-900: #11224d;
  306. --font-size-10: px2rpx(10);
  307. --font-size-12: px2rpx(12);
  308. --font-size-13: px2rpx(13);
  309. --font-size-14: px2rpx(14);
  310. --font-size-15: px2rpx(15);
  311. --font-size-16: px2rpx(16);
  312. --font-size-18: px2rpx(18);
  313. --font-size-20: px2rpx(20);
  314. --font-size-22: px2rpx(22);
  315. --font-size-24: px2rpx(24);
  316. --font-size-26: px2rpx(26);
  317. --font-size-28: px2rpx(28);
  318. --font-size-32: px2rpx(32);
  319. --font-size-36: px2rpx(36);
  320. --font-size-40: px2rpx(40);
  321. --el-component-size: px2rpx(40);
  322. --ease-in: cubic-bezier(.4, 0, 1, 1);
  323. --ease-out: cubic-bezier(0, 0, .2, 1);
  324. --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  325. --animate-spin: spin 1s linear infinite;
  326. --animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite;
  327. --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
  328. --blur-sm: 8px;
  329. --default-transition-duration: .15s;
  330. --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  331. --default-font-family: var(--font-sans);
  332. --default-mono-font-family: var(--font-mono);
  333. --font-inter: Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  334. --color-navy-50: #e7e9ef;
  335. --color-navy-100: #fff;
  336. --color-navy-200: #a3adc2;
  337. --color-navy-300: #697a9b;
  338. --color-navy-400: #5c6b8a;
  339. --color-navy-450: #465675;
  340. --color-navy-500: #3a3c43;
  341. --color-navy-600: #313e59;
  342. --color-navy-700: #242726;
  343. --color-navy-750: #222e45;
  344. --color-navy-800: #202b40;
  345. --color-navy-900: #141a18;
  346. --color-slate-150: #e9eef5;
  347. --color-primary: #4f46e5;
  348. --color-primary-focus: #4338ca;
  349. --color-secondary-light: #ff57d8;
  350. --color-secondary: #141a18;
  351. --color-secondary-focus: #242726;
  352. --color-accent-light: #242726;
  353. --color-accent: #5f5af6;
  354. --color-accent-focus: #4d47f5;
  355. --color-info: #0ea5e9;
  356. --color-info-focus: #0284c7;
  357. --color-success: #1ac23a;
  358. --color-success-focus: #17a732;
  359. --color-warning: #ff9800;
  360. --color-warning-focus: #e68200;
  361. --color-error: #e32326;
  362. --color-error-focus: #f03000;
  363. --color-gray-second: #6B7188;
  364. --color-bg-main: #f8f9f9;
  365. --text-tiny: .625rem;
  366. --text-tiny--line-height: .8125rem;
  367. --text-tiny-plus: .6875rem;
  368. --text-tiny-plus--line-height: .875rem;
  369. --text-xs-plus: .8125rem;
  370. --text-xs-plus--line-height: 1.125rem;
  371. --text-sm-plus: .9375rem;
  372. --text-sm-plus--line-height: 1.375rem;
  373. --animate-shimmer: shimmer 2s linear infinite;
  374. --bs-secondary: #ef4223;
  375. }
  376. .light {
  377. --bs-blue: #0d6efd;
  378. --bs-indigo: #6610f2;
  379. --bs-purple: #6f42c1;
  380. --bs-pink: #d63384;
  381. --bs-red: #dc3545;
  382. --bs-orange: #fd7e14;
  383. --bs-yellow: #ffc107;
  384. --bs-green: #198754;
  385. --bs-teal: #20c997;
  386. --bs-cyan: #0dcaf0;
  387. --bs-black: #000;
  388. --bs-white: #ffffff;
  389. --bs-gray: #6c757d;
  390. --bs-gray-dark: #343a40;
  391. --bs-gray-100: #f8f9fa;
  392. --bs-gray-200: #e9ecef;
  393. --bs-gray-300: #dee2e6;
  394. --bs-gray-400: #ced4da;
  395. --bs-gray-500: #adb5bd;
  396. --bs-gray-600: #6c757d;
  397. --bs-gray-700: #495057;
  398. --bs-gray-800: #343a40;
  399. --bs-gray-900: #212529;
  400. --bs-secondary: #ef4223;
  401. --bs-success: #22B07E;
  402. --bs-info: #02B4FA;
  403. --bs-warning: #FDBB1F;
  404. --bs-danger: #FF401C;
  405. --bs-light: #ECF2FD;
  406. --bs-dark: #0C243C;
  407. --bs-white: #ffffff;
  408. --bs-gray: #97A1C0;
  409. --bs-secondary-rgb: 49, 106, 255;
  410. --bs-secondary-rgb: 255, 129, 16;
  411. --bs-success-rgb: 34, 176, 126;
  412. --bs-info-rgb: 2, 180, 250;
  413. --bs-warning-rgb: 253, 187, 31;
  414. --bs-danger-rgb: 255, 64, 28;
  415. --bs-light-rgb: 236, 242, 253;
  416. --bs-dark-rgb: 12, 36, 60;
  417. --bs-white-rgb: 255, 255, 255;
  418. --bs-gray-rgb: 151, 161, 192;
  419. --bs-secondary-text-emphasis: #142a66;
  420. --bs-secondary-text-emphasis: #663406;
  421. --bs-success-text-emphasis: #0e4632;
  422. --bs-info-text-emphasis: #014864;
  423. --bs-warning-text-emphasis: #654b0c;
  424. --bs-danger-text-emphasis: #661a0b;
  425. --bs-light-text-emphasis: #495057;
  426. --bs-dark-text-emphasis: #495057;
  427. --bs-secondary-bg-subtle: #eaf0ff;
  428. --bs-secondary-bg-subtle: #fff2e7;
  429. --bs-success-bg-subtle: #e9f7f2;
  430. --bs-info-bg-subtle: #e6f8ff;
  431. --bs-warning-bg-subtle: #fff8e9;
  432. --bs-danger-bg-subtle: #ffece8;
  433. --bs-light-bg-subtle: #fcfcfd;
  434. --bs-dark-bg-subtle: #ced4da;
  435. --bs-secondary-border-subtle: #ccdaff;
  436. --bs-secondary-border-subtle: #ffe0c3;
  437. --bs-success-border-subtle: #c8ebdf;
  438. --bs-info-border-subtle: #c0ecfe;
  439. --bs-warning-border-subtle: #ffeec7;
  440. --bs-danger-border-subtle: #ffcfc6;
  441. --bs-light-border-subtle: #e9ecef;
  442. --bs-dark-border-subtle: #adb5bd;
  443. --bs-white-rgb: 255, 255, 255;
  444. --bs-black-rgb: 0, 0, 0;
  445. --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  446. --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  447. --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  448. --bs-body-font-size: 0.875rem;
  449. --bs-body-font-weight: 500;
  450. --bs-body-line-height: 1.6;
  451. --bs-body-color: #858585;
  452. --bs-body-color-rgb: 151, 161, 192;
  453. --bs-body-bg: #fff;
  454. --bs-body: #fdfdfd;
  455. --bs-body-bg-rgb: 255, 255, 255;
  456. --bs-emphasis-color: #000;
  457. --bs-emphasis-color-rgb: 0, 0, 0;
  458. --bs-secondary-color: rgba(151, 161, 192, 0.75);
  459. --bs-secondary-color-rgb: 151, 161, 192;
  460. --bs-secondary-bg: #f9f9f9;
  461. --bs-secondary-bg-rgb: 249, 249, 249;
  462. --bs-tertiary-color: rgba(151, 161, 192, 0.5);
  463. --bs-tertiary-color-rgb: 151, 161, 192;
  464. --bs-tertiary-bg: #f8f9fa;
  465. --bs-tertiary-bg-rgb: 248, 249, 250;
  466. --bs-heading-color: #0C243C;
  467. --bs-link-color: #316AFF;
  468. --bs-link-color-rgb: 49, 106, 255;
  469. --bs-link-decoration: none;
  470. --bs-link-hover-color: #2755cc;
  471. --bs-link-hover-color-rgb: 39, 85, 204;
  472. --bs-code-color: #d63384;
  473. --bs-highlight-color: #97A1C0;
  474. --bs-highlight-bg: #fff3cd;
  475. --bs-border-width: 1px;
  476. --bs-border-style: solid;
  477. --bs-border-color: #e4e4e4;
  478. --bs-border-color-translucent: rgba(0, 0, 0, 0.1);
  479. --bs-border-radius: 0.375rem;
  480. --bs-border-radius-sm: 0.25rem;
  481. --bs-border-radius-lg: 0.625rem;
  482. --bs-border-radius-xl: 1rem;
  483. --bs-border-radius-xxl: 2rem;
  484. --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  485. --bs-border-radius-pill: 50rem;
  486. --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  487. --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  488. --bs-box-shadow-lg: 0 0.26rem 1.126rem 0 rgba(45, 42, 60, 0.15);
  489. --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  490. --bs-focus-ring-width: 0.1rem;
  491. --bs-focus-ring-opacity: 0.25;
  492. --bs-focus-ring-color: rgba(49, 106, 255, 0.25);
  493. --bs-form-valid-color: #22B07E;
  494. --bs-form-valid-border-color: #22B07E;
  495. --bs-form-invalid-color: #FF401C;
  496. --bs-form-invalid-border-color: #FF401C;
  497. }
  498. .dark {
  499. color-scheme: dark;
  500. --bs-body-color: #8c96a9;
  501. --bs-body-color-rgb: 140, 150, 169;
  502. --bs-body-bg: #282b44;
  503. --bs-body: #282b44;
  504. --bs-body-bg-rgb: 40, 43, 68;
  505. --bs-emphasis-color: #ffffff;
  506. --bs-emphasis-color-rgb: 255, 255, 255;
  507. --bs-secondary-color: rgba(140, 150, 169, 0.75);
  508. --bs-secondary-color-rgb: 140, 150, 169;
  509. --bs-secondary-bg: #26283e;
  510. --bs-secondary-bg-rgb: 38, 40, 62;
  511. --bs-tertiary-color: rgba(140, 150, 169, 0.5);
  512. --bs-tertiary-color-rgb: 140, 150, 169;
  513. --bs-tertiary-bg: #26283e;
  514. --bs-tertiary-bg-rgb: 38, 40, 62;
  515. --bs-secondary-text-emphasis: #83a6ff;
  516. --bs-secondary-text-emphasis: #ffb370;
  517. --bs-success-text-emphasis: #7ad0b2;
  518. --bs-info-text-emphasis: #67d2fc;
  519. --bs-warning-text-emphasis: #fed679;
  520. --bs-danger-text-emphasis: #ff8c77;
  521. --bs-light-text-emphasis: #888bb2;
  522. --bs-dark-text-emphasis: #999999;
  523. --bs-secondary-bg-subtle: #0a1533;
  524. --bs-secondary-bg-subtle: #331a03;
  525. --bs-success-bg-subtle: #072319;
  526. --bs-info-bg-subtle: #002432;
  527. --bs-warning-bg-subtle: #332506;
  528. --bs-danger-bg-subtle: #330d06;
  529. --bs-light-bg-subtle: #1a1c31;
  530. --bs-dark-bg-subtle: #10101d;
  531. --bs-secondary-border-subtle: #1d4099;
  532. --bs-secondary-border-subtle: #994d0a;
  533. --bs-success-border-subtle: #146a4c;
  534. --bs-info-border-subtle: #016c96;
  535. --bs-warning-border-subtle: #987013;
  536. --bs-danger-border-subtle: #992611;
  537. --bs-light-border-subtle: #484c83;
  538. --bs-dark-border-subtle: #494949;
  539. --bs-heading-color: #fff;
  540. --bs-link-color: #83a6ff;
  541. --bs-link-hover-color: #9cb8ff;
  542. --bs-link-color-rgb: 131, 166, 255;
  543. --bs-link-hover-color-rgb: 156, 184, 255;
  544. --bs-code-color: #e685b5;
  545. --bs-highlight-color: #8c96a9;
  546. --bs-highlight-bg: #664d03;
  547. --bs-border-color: #3a3b4d;
  548. --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
  549. --bs-form-valid-color: #75b798;
  550. --bs-form-valid-border-color: #75b798;
  551. --bs-form-invalid-color: #ea868f;
  552. --bs-form-invalid-border-color: #ea868f;
  553. }
  554. .uni-select__input-box {
  555. height: px2rpx(35);
  556. }
  557. .cwg-cursor {
  558. cursor: pointer;
  559. }
  560. body {
  561. min-height: 100vh;
  562. margin: 0 auto !important;
  563. font-size: px2rpx(12);
  564. line-height: 1;
  565. color: #fff;
  566. }
  567. .bg-body {
  568. --bs-bg-opacity: 1;
  569. background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
  570. }
  571. .uni-top-window {
  572. overflow: visible;
  573. }
  574. // uni-left-window,
  575. // uni-top-window {
  576. // --bs-bg-opacity: 1;
  577. // background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
  578. // }
  579. uni-left-window {
  580. position: fixed;
  581. top: px2rpx(56);
  582. left: 0;
  583. z-index: 101;
  584. transition: width 281ms cubic-bezier(0.4, 0, 0.2, 1);
  585. }
  586. uni-button[type='primary'] {
  587. background-color: #cf1322 !important;
  588. }
  589. uni-content {
  590. padding-left: px2rpx(280) !important;
  591. }
  592. uni-left-window.collapsed {
  593. width: px2rpx(64) !important;
  594. white-space: nowrap;
  595. overflow: hidden;
  596. }
  597. uni-left-window.collapsed:hover {
  598. width: px2rpx(280) !important;
  599. white-space: nowrap;
  600. overflow: hidden;
  601. }
  602. uni-content.collapsed {
  603. padding-left: px2rpx(64) !important;
  604. }
  605. @media screen and (max-width: 1100px) {
  606. uni-left-window {
  607. width: px2rpx(64) !important;
  608. white-space: nowrap;
  609. overflow: hidden;
  610. }
  611. uni-left-window:hover {
  612. width: px2rpx(280) !important;
  613. }
  614. uni-content {
  615. padding-left: px2rpx(64) !important;
  616. }
  617. }
  618. @media screen and (max-width: 991px) {
  619. uni-left-window {
  620. width: px2rpx(0) !important;
  621. overflow: hidden;
  622. transition: width 281ms cubic-bezier(0.4, 0, 0.2, 1);
  623. white-space: nowrap;
  624. }
  625. uni-content {
  626. padding-left: px2rpx(0) !important;
  627. }
  628. uni-left-window:hover {
  629. width: px2rpx(280) !important;
  630. }
  631. }
  632. .search-btn {
  633. background-color: #cf1322 !important;
  634. }
  635. .body {
  636. position: absolute;
  637. box-sizing: border-box;
  638. width: 100%;
  639. // height: 100vh;
  640. // padding-bottom: var(--tabbar-height);
  641. height: 100vh;
  642. overflow-y: scroll;
  643. transition: all 0.4s;
  644. -webkit-overflow-scrolling: touch;
  645. &.is-tab {
  646. // height: calc(100vh - var(--tabbar-height));
  647. }
  648. }
  649. .wrap {
  650. position: relative;
  651. width: 100%;
  652. height: 100vh;
  653. overflow: hidden;
  654. }
  655. .global-loading {
  656. position: fixed;
  657. top: 0;
  658. left: 0;
  659. z-index: 999;
  660. display: flex;
  661. align-items: center;
  662. justify-content: center;
  663. width: 100vw;
  664. height: 100vh;
  665. background: var(--main-bg);
  666. }
  667. .router-loading {
  668. position: fixed;
  669. top: 0;
  670. left: 0;
  671. z-index: 1000;
  672. display: flex;
  673. align-items: center;
  674. justify-content: center;
  675. width: 100vw;
  676. height: 100vh;
  677. background: var(--main-bg);
  678. }
  679. .full-screen-loading {
  680. position: fixed;
  681. top: 0;
  682. left: 0;
  683. z-index: 1001;
  684. display: flex;
  685. align-items: center;
  686. justify-content: center;
  687. width: 100vw;
  688. height: 100vh;
  689. background: var(--main-bg);
  690. }
  691. .request-loading,
  692. .full-screen-loading {
  693. position: fixed;
  694. top: 50%;
  695. left: 50%;
  696. z-index: 1001;
  697. display: flex;
  698. flex-direction: column;
  699. align-items: center;
  700. justify-content: center;
  701. padding: px2rpx(16) px2rpx(24);
  702. background: rgb(0, 0, 0, 0.88);
  703. backdrop-filter: blur(4px);
  704. box-shadow: 0 4px 12px rgb(0, 0, 0, 0.15);
  705. transform: translate(-50%, -50%);
  706. animation: fadeIn 0.2s ease-in-out;
  707. .van-loading {
  708. margin-bottom: px2rpx(8);
  709. }
  710. .loading-text {
  711. font-size: px2rpx(14);
  712. font-weight: 500;
  713. color: #fff;
  714. text-shadow: 0 px2rpx(1) px2rpx(2) rgb(0, 0, 0, 0.1);
  715. letter-spacing: px2rpx(0.5);
  716. }
  717. &::after {
  718. position: absolute;
  719. inset: px2rpx(-1);
  720. z-index: -1;
  721. content: '';
  722. background: linear-gradient(45deg, rgb(255, 255, 255, 0.1), rgb(255, 255, 255, 0.05));
  723. border-radius: px2rpx(12);
  724. }
  725. }
  726. .full-screen-loading {
  727. width: 100vw;
  728. height: 100vh;
  729. }
  730. @keyframes fadeIn {
  731. from {
  732. opacity: 0;
  733. transform: translate(-50%, -48%);
  734. }
  735. to {
  736. opacity: 1;
  737. transform: translate(-50%, -50%);
  738. }
  739. }
  740. .load-more {
  741. margin: px2rpx(10) 0;
  742. }
  743. /* 通用样式 */
  744. .slide-left-enter,
  745. .slide-right-leave-active {
  746. opacity: 0;
  747. transform: translate(100%, 0);
  748. }
  749. .slide-left-leave-active,
  750. .slide-right-enter {
  751. opacity: 0;
  752. transform: translate(-100%, 0);
  753. }
  754. /* .fade-leave-active below version 2.1.8 */
  755. .fade-enter-active,
  756. .fade-leave-active {
  757. transition: opacity 0.5s;
  758. }
  759. .fade-enter,
  760. .fade-leave-to {
  761. opacity: 0;
  762. }
  763. /* start--文本行数限制--start */
  764. .u-line-1 {
  765. overflow: hidden;
  766. text-overflow: ellipsis;
  767. white-space: nowrap;
  768. }
  769. .u-line-2 {
  770. -webkit-line-clamp: 2;
  771. }
  772. .u-line-3 {
  773. -webkit-line-clamp: 3;
  774. }
  775. .u-line-4 {
  776. -webkit-line-clamp: 4;
  777. }
  778. .u-line-5 {
  779. -webkit-line-clamp: 5;
  780. }
  781. .u-line-2,
  782. .u-line-3,
  783. .u-line-4,
  784. .u-line-5 {
  785. display: flex;
  786. overflow: hidden;
  787. text-overflow: ellipsis;
  788. word-break: break-all;
  789. -webkit-box-orient: vertical; // 设置伸缩盒子元素排列方式
  790. }
  791. /* end--文本行数限制--end */
  792. /* start--Retina 屏幕下的 1px 边框--start */
  793. .u-border,
  794. .u-border-bottom,
  795. .u-border-left,
  796. .u-border-right,
  797. .u-border-top,
  798. .u-border-top-bottom {
  799. position: relative;
  800. }
  801. .u-border-bottom::after,
  802. .u-border-left::after,
  803. .u-border-right::after,
  804. .u-border-top-bottom::after,
  805. .u-border-top::after,
  806. .u-border::after {
  807. position: absolute;
  808. top: 0;
  809. left: 0;
  810. z-index: 2;
  811. box-sizing: border-box;
  812. // 多加0.1%,能解决有时候边框缺失的问题
  813. width: 199.8%;
  814. height: 199.7%;
  815. pointer-events: none;
  816. content: ' ';
  817. border: 0 solid #e4e7ed;
  818. transform: scale(0.5, 0.5);
  819. transform-origin: 0 0;
  820. }
  821. .u-border-top::after {
  822. border-top-width: 1PX;
  823. }
  824. .u-border-left::after {
  825. border-left-width: 1PX;
  826. }
  827. .u-border-right::after {
  828. border-right-width: 1PX;
  829. }
  830. .u-border-bottom::after {
  831. border-bottom-width: 1PX;
  832. }
  833. .u-border-top-bottom::after {
  834. border-width: 1PX 0;
  835. }
  836. .u-border::after {
  837. border-width: 1PX;
  838. }
  839. .cwg-button {
  840. width: 100%;
  841. .u-button {
  842. height: px2rpx(44) !important;
  843. font-size: var(--font-size-16);
  844. font-weight: bold;
  845. color: var(--black);
  846. background-color: #cf1322 !important;
  847. border: none !important;
  848. border-radius: px2rpx(100) !important;
  849. &:active {
  850. opacity: 0.9;
  851. }
  852. }
  853. }
  854. .fixed-btn {
  855. position: fixed;
  856. bottom: 0;
  857. left: 0;
  858. z-index: 1100;
  859. display: flex;
  860. flex-direction: column;
  861. align-items: center;
  862. justify-content: center;
  863. width: 100%;
  864. height: px2rpx(90);
  865. padding: px2rpx(21) px2rpx(30);
  866. color: var(--black);
  867. background-color: var(--black);
  868. box-shadow: 0 -1px 2px rgb(134, 134, 133, 0.25);
  869. box-sizing: border-box;
  870. }
  871. .cwg-upload {
  872. box-sizing: border-box;
  873. display: flex;
  874. flex-direction: column;
  875. align-items: center;
  876. justify-content: center;
  877. width: 100%;
  878. height: px2rpx(160);
  879. padding: px2rpx(16);
  880. border: 1px dashed #beb6b6;
  881. border-radius: px2rpx(4);
  882. .name {
  883. display: flex;
  884. align-items: center;
  885. font-size: px2rpx(16);
  886. font-weight: 600;
  887. line-height: px2rpx(44);
  888. color: #fff;
  889. text-align: center;
  890. }
  891. .back {
  892. display: flex;
  893. align-items: center;
  894. font-size: px2rpx(16);
  895. line-height: px2rpx(24);
  896. color: #474747;
  897. text-align: center;
  898. letter-spacing: 0.005em;
  899. }
  900. }
  901. .g {
  902. display: flex;
  903. img {
  904. height: px2rpx(50);
  905. }
  906. .g-l {
  907. flex: 1;
  908. margin-left: px2rpx(16);
  909. .g-item {
  910. display: flex;
  911. justify-content: space-between;
  912. margin-bottom: px2rpx(16);
  913. }
  914. .label {
  915. font-family: Roboto;
  916. font-size: px2rpx(14);
  917. font-style: normal;
  918. font-weight: 600;
  919. line-height: px2rpx(20);
  920. color: #fff;
  921. text-align: left;
  922. }
  923. .v {
  924. font-family: Roboto;
  925. font-size: px2rpx(14);
  926. font-style: normal;
  927. font-weight: 600;
  928. line-height: px2rpx(20);
  929. color: #fff;
  930. text-align: center;
  931. }
  932. }
  933. }
  934. .fixed-right {
  935. position: fixed;
  936. top: px2rpx(4);
  937. right: px2rpx(10);
  938. z-index: 100;
  939. display: flex;
  940. align-items: center;
  941. justify-content: center;
  942. width: px2rpx(40);
  943. height: px2rpx(40);
  944. color: var(--main-yellow);
  945. cursor: pointer;
  946. i {
  947. display: flex;
  948. align-items: center;
  949. justify-content: center;
  950. width: px2rpx(20);
  951. height: px2rpx(20);
  952. font-size: px2rpx(14);
  953. color: var(--main-yellow);
  954. }
  955. &:hover {
  956. opacity: 0.8;
  957. }
  958. }
  959. .status-default {
  960. display: flex;
  961. gap: px2rpx(10);
  962. align-items: center;
  963. justify-content: center;
  964. padding: px2rpx(4) px2rpx(8);
  965. font-family: Roboto;
  966. font-size: px2rpx(12);
  967. font-style: normal;
  968. font-weight: 600;
  969. line-height: px2rpx(16);
  970. color: #009deb;
  971. letter-spacing: px2rpx(0.06);
  972. background: rgb(0, 157, 235, 0.2);
  973. border: 0 solid #f4f4f4;
  974. border-radius: px2rpx(9999);
  975. }
  976. .status-success {
  977. color: #4caf50;
  978. background: rgb(76, 175, 80, 0.2);
  979. }
  980. .status-error {
  981. color: #d32f2f;
  982. background: rgb(211, 47, 47, 0.21);
  983. }
  984. .status-views {
  985. display: flex;
  986. align-items: center;
  987. justify-content: center;
  988. width: px2rpx(65.063);
  989. // height: 36px;
  990. padding: px2rpx(8) px2rpx(16);
  991. font-family: Roboto;
  992. font-size: px2rpx(14);
  993. font-style: normal;
  994. font-weight: 600;
  995. line-height: px2rpx(20);
  996. color: #fff;
  997. text-align: center;
  998. letter-spacing: px2rpx(0.07);
  999. background: #ea002a;
  1000. border-radius: px2rpx(10);
  1001. }
  1002. .ellipsis {
  1003. width: 100%;
  1004. overflow: hidden;
  1005. text-overflow: ellipsis;
  1006. white-space: nowrap;
  1007. }
  1008. .custom-toast {
  1009. top: 40%;
  1010. display: flex;
  1011. flex-direction: column;
  1012. gap: px2rpx(16);
  1013. align-items: center;
  1014. width: px2rpx(348);
  1015. padding: px2rpx(32) px2rpx(24);
  1016. background: #fff;
  1017. border-radius: px2rpx(20);
  1018. box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
  1019. .van-icon__image {
  1020. width: px2rpx(88);
  1021. height: px2rpx(88);
  1022. }
  1023. .van-toast__text {
  1024. font-family: Roboto;
  1025. font-size: px2rpx(14);
  1026. font-style: normal;
  1027. font-weight: 400;
  1028. line-height: px2rpx(20);
  1029. color: #474747;
  1030. text-align: center;
  1031. letter-spacing: px2rpx(0.07);
  1032. }
  1033. }
  1034. .page-header {
  1035. position: fixed;
  1036. top: calc(var(--secure-height, 0px) + env(safe-area-inset-top));
  1037. left: 0;
  1038. z-index: 13;
  1039. display: flex;
  1040. align-items: center;
  1041. width: 100%;
  1042. height: px2rpx(60);
  1043. font-size: var(--font-size-22);
  1044. font-weight: 700;
  1045. color: var(--white);
  1046. text-align: left;
  1047. background: #fff;
  1048. }
  1049. .u-form-item__body {
  1050. padding: 0 !important;
  1051. }
  1052. .u-form-item__body__right__message {
  1053. margin-left: 10px !important;
  1054. }
  1055. .filter-picker {
  1056. background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
  1057. border: 1px solid #e5e7eb;
  1058. border-radius: px2rpx(8);
  1059. padding: px2rpx(6);
  1060. display: flex;
  1061. align-items: center;
  1062. min-width: px2rpx(60);
  1063. max-width: px2rpx(120);
  1064. flex-shrink: 1;
  1065. overflow: hidden;
  1066. div {
  1067. width: 100% !important;
  1068. }
  1069. }
  1070. .picker-value {
  1071. display: flex;
  1072. align-items: center;
  1073. gap: px2rpx(4);
  1074. width: 100%;
  1075. }
  1076. .picker-text {
  1077. min-width: px2rpx(60);
  1078. max-width: px2rpx(100);
  1079. font-size: px2rpx(12);
  1080. color: #111827;
  1081. overflow: hidden;
  1082. text-overflow: ellipsis;
  1083. white-space: nowrap;
  1084. }
  1085. .picker-icon {
  1086. flex-shrink: 0;
  1087. width: px2rpx(14);
  1088. height: px2rpx(14);
  1089. }
  1090. .status-badge {
  1091. display: flex;
  1092. align-items: center;
  1093. gap: px2rpx(4);
  1094. padding: px2rpx(3) px2rpx(8) px2rpx(3) px2rpx(3);
  1095. border-radius: px2rpx(12);
  1096. }
  1097. .filter-select {
  1098. background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
  1099. border: 1px solid #e5e7eb;
  1100. border-radius: px2rpx(8);
  1101. padding: px2rpx(6);
  1102. display: flex;
  1103. align-items: center;
  1104. min-width: px2rpx(90);
  1105. max-width: px2rpx(120);
  1106. flex-shrink: 1;
  1107. // overflow: hidden;
  1108. div {
  1109. // width: 100% !important;
  1110. }
  1111. .uni-select {
  1112. width: 100% !important;
  1113. padding: 0 !important;
  1114. border: none !important;
  1115. min-height: px2rpx(14) !important;
  1116. }
  1117. .uni-select__selector {
  1118. min-width: 100px !important;
  1119. max-width: 300px !important;
  1120. width: max-content !important;
  1121. }
  1122. .uni-select__selector-item {
  1123. white-space: nowrap !important;
  1124. padding: 0 12px !important;
  1125. }
  1126. .uni-select__input-text {
  1127. color: var(--bs-body-color);
  1128. font-size: 12px;
  1129. margin: 1px 0;
  1130. padding: 0 !important;
  1131. }
  1132. .padding-top-bottom {
  1133. padding: 0 !important;
  1134. }
  1135. }
  1136. .uni-date-x,
  1137. .uni-select__input-text {
  1138. color: var(--bs-body-color) !important;
  1139. }
  1140. // 公共title样式
  1141. .content-title {
  1142. width: 100%;
  1143. min-height: px2rpx(40);
  1144. line-height: px2rpx(40);
  1145. box-sizing: border-box;
  1146. color: var(--color-navy-900);
  1147. // color: var(--color-white);
  1148. // background-color: var(--color-navy-900);
  1149. font-size: px2rpx(20);
  1150. font-weight: bold;
  1151. }
  1152. .s-btn {
  1153. &.reselect {
  1154. background-color: var(--color-zinc-100);
  1155. color: var(--color-navy-700);
  1156. border: none;
  1157. font-size: px2rpx(14);
  1158. padding: px2rpx(8) px2rpx(20);
  1159. border-radius: px2rpx(8);
  1160. &:active {
  1161. background-color: var(--color-zinc-200);
  1162. }
  1163. }
  1164. &[type="primary"] {
  1165. width: 100%;
  1166. height: px2rpx(48);
  1167. background-color: #cf1322;
  1168. color: #fff;
  1169. border-radius: px2rpx(12);
  1170. font-size: px2rpx(16);
  1171. font-weight: 600;
  1172. display: flex;
  1173. align-items: center;
  1174. justify-content: center;
  1175. border: none;
  1176. margin-top: px2rpx(30);
  1177. transition: all 0.2s;
  1178. &:active {
  1179. transform: scale(0.98);
  1180. background-color: #cf1322;
  1181. }
  1182. }
  1183. }
  1184. .search-bar {
  1185. display: flex;
  1186. align-items: center;
  1187. justify-content: flex-start;
  1188. flex-wrap: wrap;
  1189. gap: px2rpx(16);
  1190. // margin: px2rpx(16) 0;
  1191. .cwg-combox,
  1192. .uni-easyinput,
  1193. .uni-date {
  1194. width: px2rpx(224) !important;
  1195. flex: none !important;
  1196. }
  1197. .s-btn {
  1198. width: px2rpx(224);
  1199. background-color: var(--color-error);
  1200. color: var(--color-white);
  1201. padding: px2rpx(10) px2rpx(20);
  1202. border: none;
  1203. font-size: px2rpx(15);
  1204. text-align: center;
  1205. cursor: pointer;
  1206. box-sizing: border-box;
  1207. }
  1208. }
  1209. :deep(.uni-row1) {
  1210. width: 100%;
  1211. // margin: 0 px2rpx(-10) !important;
  1212. box-sizing: border-box;
  1213. .uni-col {
  1214. padding: 0 px2rpx(10) !important;
  1215. box-sizing: border-box;
  1216. }
  1217. .base-info-form>span {
  1218. display: contents;
  1219. }
  1220. .uni-forms-item {
  1221. min-height: px2rpx(79);
  1222. margin-bottom: px2rpx(10);
  1223. }
  1224. .uni-select,
  1225. .uni-combox,
  1226. .uni-easyinput__content,
  1227. .uni-date-editor--x {
  1228. border: none !important;
  1229. background-color: var(--color-zinc-100) !important;
  1230. }
  1231. .uni-date-x {
  1232. border: none !important;
  1233. background-color: rgba(195, 195, 195, 0) !important;
  1234. }
  1235. .uni-easyinput__content {
  1236. padding: 0 !important;
  1237. }
  1238. .checklist-text {
  1239. color: #666 !important;
  1240. }
  1241. .checklist-box.is--default.is-checked .checkbox__inner {
  1242. border-color: var(--color-error) !important;
  1243. background-color: var(--color-error) !important;
  1244. }
  1245. }
  1246. :deep(.uni-row2) {
  1247. .uni-select,
  1248. .uni-combox,
  1249. .uni-easyinput__content,
  1250. .uni-date-editor--x {
  1251. border: 1px solid var(--color-slate-300) !important;
  1252. background-color: rgba(195, 195, 195, 0) !important;
  1253. }
  1254. .uni-date-x {
  1255. background-color: rgba(195, 195, 195, 0) !important;
  1256. }
  1257. }
  1258. .bg-secondary {
  1259. background-color: var(--color-secondary) !important;
  1260. border: 1px solid #333333;
  1261. color: var(--color-white);
  1262. }
  1263. .underline {
  1264. text-decoration: underline;
  1265. text-decoration-color: currentColor;
  1266. text-underline-offset: px2rpx(2);
  1267. cursor: pointer;
  1268. }
  1269. .info-card {
  1270. // margin-top: px2rpx(4);
  1271. // border-radius: px2rpx(8);
  1272. // background-color: white;
  1273. // padding: px2rpx(8);
  1274. // box-shadow: 0 0 px2rpx(8) rgba(0, 0, 0, 0.1);
  1275. // box-shadow:
  1276. // 0 0 px2rpx(4) rgba(0, 0, 0, 0.06),
  1277. // 0 px2rpx(6) px2rpx(12) rgba(0, 0, 0, 0.08);
  1278. box-sizing: border-box;
  1279. // padding: px2rpx(20);
  1280. // border: 1px solid rgba(108, 133, 149, 0.12);
  1281. border-radius: px2rpx(8);
  1282. }
  1283. .crm-title-box {
  1284. background-color: var(--color-gray-second);
  1285. color: var(--color-white);
  1286. height: 40px;
  1287. display: flex;
  1288. justify-content: space-between;
  1289. align-items: center;
  1290. margin-bottom: 10px;
  1291. border-radius: 2px;
  1292. padding: 0 20px;
  1293. .tit {
  1294. font-size: 14px;
  1295. font-weight: bold;
  1296. color: var(--color-white);
  1297. }
  1298. }
  1299. .status-box {
  1300. display: flex;
  1301. align-items: center;
  1302. gap: px2rpx(4);
  1303. }
  1304. @media screen and (max-width: 991px) {
  1305. .info-card {
  1306. box-sizing: border-box;
  1307. // padding: px2rpx(20);
  1308. border: 0 !important;
  1309. border-radius: 0 !important;
  1310. }
  1311. .status-box {
  1312. display: flex;
  1313. flex-direction: column;
  1314. gap: px2rpx(4);
  1315. }
  1316. }
  1317. // 状态标签基础样式
  1318. .status-badge {
  1319. display: inline-flex;
  1320. align-items: center;
  1321. padding: 4rpx 12rpx;
  1322. border-radius: 4rpx;
  1323. font-size: var(--font-size-24);
  1324. font-weight: 500;
  1325. line-height: 1.5;
  1326. white-space: nowrap;
  1327. transition: all var(--default-transition-duration) var(--default-transition-timing-function);
  1328. // 当有取消按钮时调整右边距
  1329. &.has-cancel {
  1330. margin-right: 8rpx;
  1331. }
  1332. }
  1333. // 状态标签基础样式
  1334. .status-tag {
  1335. display: inline-block;
  1336. padding: px2rpx(4) px2rpx(8);
  1337. border-radius: px2rpx(2);
  1338. font-size: px2rpx(15);
  1339. text-align: center;
  1340. min-width: px2rpx(80);
  1341. box-sizing: border-box;
  1342. }
  1343. // 待处理
  1344. .status-pending {
  1345. background-color: #fef3c7;
  1346. color: #d97706;
  1347. }
  1348. // 处理中
  1349. .status-processing {
  1350. background-color: #a9d3ee;
  1351. color: #0284c7;
  1352. }
  1353. // 成功
  1354. .status-success {
  1355. background-color: #a3f7c0;
  1356. color: #16a34a;
  1357. }
  1358. // 失败
  1359. .status-failed {
  1360. background-color: #f39c9c;
  1361. color: #dc2626;
  1362. }
  1363. // 取消 / 已取消
  1364. .status-cancelled {
  1365. background-color: #a4bef2;
  1366. color: #4b5563;
  1367. }
  1368. // 已过期
  1369. .status-expired,
  1370. .status-canceled {
  1371. background-color: #f5efb1;
  1372. color: #a16207;
  1373. }
  1374. // 已完成
  1375. .status-completed {
  1376. background-color: #d1fae5;
  1377. color: #059669;
  1378. }
  1379. // // 待处理
  1380. // .status-warning {
  1381. // background-color: var(--status-warning-bg);
  1382. // color: var(--status-warning-text);
  1383. // }
  1384. // // 已完成
  1385. // .status-success {
  1386. // background-color: var(--status-success-bg);
  1387. // color: var(--status-success-text);
  1388. // }
  1389. // // 进行中
  1390. // .status-processing {
  1391. // background-color: var(--status-processing-bg);
  1392. // color: var(--status-processing-text);
  1393. // }
  1394. // // 已拒绝
  1395. // .status-danger {
  1396. // background-color: var(--status-danger-bg);
  1397. // color: var(--status-danger-text);
  1398. // }
  1399. // // 已过期
  1400. // .status-expired {
  1401. // background-color: var(--status-expired-bg);
  1402. // color: var(--status-expired-text);
  1403. // }
  1404. // // 已取消
  1405. // .status-cancelled {
  1406. // background-color: var(--status-cancelled-bg);
  1407. // color: var(--status-cancelled-text);
  1408. // }
  1409. // 取消按钮容器
  1410. .cancel-btn-wrapper {
  1411. display: inline-flex;
  1412. align-items: center;
  1413. }
  1414. // 取消按钮样式
  1415. .cancel-btn {
  1416. display: inline-flex;
  1417. align-items: center;
  1418. padding: 4rpx 12rpx;
  1419. border-radius: 4rpx;
  1420. font-size: var(--font-size-24);
  1421. font-weight: 500;
  1422. line-height: 1.5;
  1423. color: var(--color-rose-500);
  1424. background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
  1425. border: 1px solid var(--color-rose-500);
  1426. cursor: pointer;
  1427. transition: all var(--default-transition-duration) var(--default-transition-timing-function);
  1428. white-space: nowrap;
  1429. &:hover {
  1430. color: var(--color-white);
  1431. background-color: var(--color-rose-500);
  1432. border-color: var(--color-rose-500);
  1433. }
  1434. // 添加点击效果
  1435. &:active {
  1436. transform: scale(0.95);
  1437. }
  1438. }
  1439. .pc-header-btn {
  1440. width: px2rpx(40);
  1441. height: px2rpx(40);
  1442. border-radius: px2rpx(4);
  1443. border: 1px solid rgba(108, 133, 149, 0);
  1444. display: flex;
  1445. align-items: center;
  1446. font-size: px2rpx(14);
  1447. cursor: pointer;
  1448. display: flex;
  1449. justify-content: center;
  1450. align-items: center;
  1451. &:hover {
  1452. background: rgba(108, 133, 149, 0.12);
  1453. border-color: rgb(145, 163, 176);
  1454. }
  1455. }
  1456. .popup-content {
  1457. // padding: px2rpx(30) px2rpx(20);
  1458. text-align: center;
  1459. min-width: px2rpx(250);
  1460. @media screen and (max-width: 991px) {
  1461. // min-width: 80%;
  1462. // max-width: 90%;
  1463. // margin: 0 px2rpx(10);
  1464. }
  1465. position: relative;
  1466. .icon {
  1467. .iconfont {
  1468. font-size: px2rpx(60);
  1469. display: block;
  1470. margin: 0 auto;
  1471. }
  1472. .icon-chenggong {
  1473. color: #67c23a;
  1474. }
  1475. .icon-jingshi {
  1476. color: #f56c6c;
  1477. }
  1478. .icon-dengdai {
  1479. color: #e6a23c;
  1480. }
  1481. }
  1482. .des1 {
  1483. font-weight: 600;
  1484. font-size: px2rpx(16);
  1485. margin: px2rpx(20) 0 px2rpx(15);
  1486. color: #303133;
  1487. line-height: 1.4;
  1488. padding: 0 px2rpx(10);
  1489. }
  1490. .des2 {
  1491. font-size: px2rpx(14);
  1492. margin: px2rpx(15) 0 px2rpx(15);
  1493. color: #303133;
  1494. line-height: 1.4;
  1495. padding: 0 px2rpx(10);
  1496. }
  1497. }
  1498. .dialog-footer {
  1499. padding: px2rpx(20) px2rpx(30) px2rpx(30);
  1500. border-top: 1px solid #f0f0f0;
  1501. .btn-content {
  1502. // 双按钮模式
  1503. &:not(:has(button:only-child)):has(button) {
  1504. display: flex;
  1505. justify-content: center;
  1506. gap: px2rpx(20);
  1507. }
  1508. // 单按钮模式
  1509. &:has(button:only-child) {
  1510. display: flex;
  1511. justify-content: center;
  1512. }
  1513. }
  1514. .footer-line {
  1515. height: 1px;
  1516. background-color: #f0f0f0;
  1517. margin: px2rpx(-20) 0 0;
  1518. }
  1519. button {
  1520. min-width: px2rpx(120);
  1521. height: px2rpx(40);
  1522. border-radius: px2rpx(4);
  1523. font-size: px2rpx(16);
  1524. display: flex;
  1525. align-items: center;
  1526. justify-content: center;
  1527. border: none;
  1528. cursor: pointer;
  1529. transition: all 0.3s ease;
  1530. margin: 0;
  1531. &:active {
  1532. opacity: 0.8;
  1533. transform: scale(0.98);
  1534. }
  1535. &:disabled {
  1536. opacity: 0.5;
  1537. cursor: not-allowed;
  1538. }
  1539. }
  1540. .cancel-btn {
  1541. background-color: #f5f5f5;
  1542. color: var(--bs-heading-color);
  1543. &:active {
  1544. background-color: #e8e8e8;
  1545. }
  1546. }
  1547. .confirm-btn {
  1548. &.primary {
  1549. background-color: #cf1322;
  1550. color: #fff;
  1551. &:active {
  1552. background-color: #0056b3;
  1553. }
  1554. }
  1555. &.danger {
  1556. background-color: #ff6b6b;
  1557. color: #fff;
  1558. &:active {
  1559. background-color: #ff5252;
  1560. }
  1561. }
  1562. }
  1563. .single-btn {
  1564. min-width: px2rpx(200);
  1565. &.primary {
  1566. background-color: #cf1322;
  1567. color: #fff;
  1568. }
  1569. &.danger {
  1570. background-color: #ff6b6b;
  1571. color: #fff;
  1572. }
  1573. &.default {
  1574. background-color: #f5f5f5;
  1575. color: var(--bs-heading-color);
  1576. }
  1577. }
  1578. }
  1579. .wait-popup {
  1580. .des1 {
  1581. margin-top: px2rpx(10);
  1582. }
  1583. .icon {
  1584. .iconfont {
  1585. animation: spin 1s linear infinite;
  1586. }
  1587. }
  1588. }
  1589. // 适配不同屏幕尺寸(媒体查询中的 750rpx 保持不变)
  1590. @media (max-width: 750rpx) {
  1591. .popup-content {
  1592. .icon {
  1593. .iconfont {
  1594. font-size: px2rpx(50);
  1595. }
  1596. }
  1597. .des1 {
  1598. font-size: px2rpx(14);
  1599. margin: px2rpx(15) 0 px2rpx(10);
  1600. }
  1601. .des2 {
  1602. font-size: px2rpx(13);
  1603. margin: px2rpx(15) 0 px2rpx(10);
  1604. }
  1605. .dialog-footer {
  1606. button {
  1607. min-width: px2rpx(80);
  1608. font-size: px2rpx(13);
  1609. }
  1610. }
  1611. }
  1612. }
  1613. .clause-content {
  1614. max-height: px2rpx(500);
  1615. overflow-y: auto;
  1616. text-align: left;
  1617. line-height: 1.6;
  1618. .h4 {
  1619. font-size: px2rpx(16);
  1620. font-weight: bold;
  1621. margin: px2rpx(16) 0;
  1622. }
  1623. .list {
  1624. .list-item {
  1625. margin-bottom: px2rpx(12);
  1626. }
  1627. }
  1628. .table-container {
  1629. width: 100%;
  1630. overflow-x: auto;
  1631. margin: px2rpx(16) 0;
  1632. .table {
  1633. display: table;
  1634. width: 100%;
  1635. table-layout: fixed;
  1636. border: 1px solid #e4e7ed;
  1637. box-sizing: border-box;
  1638. .tr {
  1639. display: table-row;
  1640. }
  1641. .th,
  1642. .td {
  1643. display: table-cell;
  1644. width: calc(100% / 6);
  1645. padding: px2rpx(8);
  1646. text-align: center;
  1647. border-right: 1px solid #e4e7ed;
  1648. border-bottom: 1px solid #e4e7ed;
  1649. &:last-child {
  1650. border-right: none;
  1651. }
  1652. }
  1653. .tr:last-child .td,
  1654. .tr:last-child .th {
  1655. border-bottom: none;
  1656. }
  1657. }
  1658. }
  1659. }
  1660. .crm-cursor {
  1661. cursor: pointer;
  1662. }
  1663. ::selection {
  1664. background-color: var(--bs-secondary);
  1665. color: #fff;
  1666. }