global.scss 45 KB

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