global.scss 49 KB

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