global.scss 48 KB

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