global.scss 52 KB

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