global.scss 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115
  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 (max-width: 1660px) {
  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:hover {
  639. width: px2rpx(280) !important;
  640. white-space: nowrap;
  641. overflow: hidden;
  642. }
  643. uni-left-window.collapsed {
  644. width: px2rpx(64) !important;
  645. white-space: nowrap;
  646. overflow: hidden;
  647. transition: width 281ms cubic-bezier(0.4, 0, 0.2, 1);
  648. }
  649. uni-content.collapsed {
  650. padding-left: px2rpx(64) !important;
  651. transition: padding-left 281ms cubic-bezier(0.4, 0, 0.2, 1);
  652. }
  653. @media screen and (max-width: 1100px) {
  654. uni-left-window:not(.collapsed) {
  655. width: px2rpx(280) !important;
  656. transition: width 281ms cubic-bezier(0.4, 0, 0.2, 1);
  657. }
  658. uni-left-window:hover {
  659. width: px2rpx(280) !important;
  660. transition: width 281ms cubic-bezier(0.4, 0, 0.2, 1);
  661. }
  662. uni-left-window.collapsed {
  663. width: px2rpx(64) !important;
  664. transition: width 281ms cubic-bezier(0.4, 0, 0.2, 1);
  665. }
  666. uni-content:not(.collapsed) {
  667. padding-left: px2rpx(280) !important;
  668. }
  669. uni-content.collapsed {
  670. padding-left: px2rpx(64) !important;
  671. }
  672. }
  673. @media screen and (max-width: 991px) {
  674. uni-left-window,
  675. uni-left-window:not(.collapsed),
  676. uni-left-window.collapsed {
  677. width: px2rpx(0) !important;
  678. overflow: hidden;
  679. transition: width 281ms cubic-bezier(0.4, 0, 0.2, 1);
  680. white-space: nowrap;
  681. }
  682. // Must beat `uni-content:not(.collapsed)` from the 1100px block (higher specificity).
  683. uni-content,
  684. uni-content:not(.collapsed),
  685. uni-content.collapsed {
  686. padding-left: 0 !important;
  687. }
  688. uni-left-window:hover {
  689. width: px2rpx(280) !important;
  690. }
  691. }
  692. .search-btn {
  693. background-color: #e61f1e;
  694. }
  695. .body {
  696. position: absolute;
  697. box-sizing: border-box;
  698. width: 100%;
  699. // height: 100vh;
  700. // padding-bottom: var(--tabbar-height);
  701. height: 100vh;
  702. overflow-y: scroll;
  703. transition: all 0.4s;
  704. -webkit-overflow-scrolling: touch;
  705. &.is-tab {
  706. // height: calc(100vh - var(--tabbar-height));
  707. }
  708. }
  709. .wrap {
  710. position: relative;
  711. width: 100%;
  712. height: 100vh;
  713. overflow: hidden;
  714. }
  715. .global-loading {
  716. position: fixed;
  717. top: 0;
  718. left: 0;
  719. z-index: 999;
  720. display: flex;
  721. align-items: center;
  722. justify-content: center;
  723. width: 100vw;
  724. height: 100vh;
  725. background: var(--main-bg);
  726. }
  727. .router-loading {
  728. position: fixed;
  729. top: 0;
  730. left: 0;
  731. z-index: 1000;
  732. display: flex;
  733. align-items: center;
  734. justify-content: center;
  735. width: 100vw;
  736. height: 100vh;
  737. background: var(--main-bg);
  738. }
  739. .full-screen-loading {
  740. position: fixed;
  741. top: 0;
  742. left: 0;
  743. z-index: 1001;
  744. display: flex;
  745. align-items: center;
  746. justify-content: center;
  747. width: 100vw;
  748. height: 100vh;
  749. background: var(--main-bg);
  750. }
  751. .request-loading,
  752. .full-screen-loading {
  753. position: fixed;
  754. top: 50%;
  755. left: 50%;
  756. z-index: 1001;
  757. display: flex;
  758. flex-direction: column;
  759. align-items: center;
  760. justify-content: center;
  761. padding: px2rpx(16) px2rpx(24);
  762. background: rgb(0, 0, 0, 0.88);
  763. backdrop-filter: blur(4px);
  764. box-shadow: 0 4px 12px rgb(0, 0, 0, 0.15);
  765. transform: translate(-50%, -50%);
  766. animation: fadeIn 0.2s ease-in-out;
  767. .van-loading {
  768. margin-bottom: px2rpx(8);
  769. }
  770. .loading-text {
  771. font-size: px2rpx(14);
  772. font-weight: 500;
  773. color: var(--bs-emphasis-color);
  774. text-shadow: 0 px2rpx(1) px2rpx(2) rgb(0, 0, 0, 0.1);
  775. letter-spacing: px2rpx(0.5);
  776. }
  777. &::after {
  778. position: absolute;
  779. inset: px2rpx(-1);
  780. z-index: -1;
  781. content: '';
  782. background: linear-gradient(45deg, rgb(255, 255, 255, 0.1), rgb(255, 255, 255, 0.05));
  783. border-radius: px2rpx(12);
  784. }
  785. }
  786. .full-screen-loading {
  787. width: 100vw;
  788. height: 100vh;
  789. }
  790. @keyframes fadeIn {
  791. from {
  792. opacity: 0;
  793. transform: translate(-50%, -48%);
  794. }
  795. to {
  796. opacity: 1;
  797. transform: translate(-50%, -50%);
  798. }
  799. }
  800. .load-more {
  801. margin: px2rpx(10) 0;
  802. }
  803. /* 通用样式 */
  804. .slide-left-enter,
  805. .slide-right-leave-active {
  806. opacity: 0;
  807. transform: translate(100%, 0);
  808. }
  809. .slide-left-leave-active,
  810. .slide-right-enter {
  811. opacity: 0;
  812. transform: translate(-100%, 0);
  813. }
  814. /* .fade-leave-active below version 2.1.8 */
  815. .fade-enter-active,
  816. .fade-leave-active {
  817. transition: opacity 0.5s;
  818. }
  819. .fade-enter,
  820. .fade-leave-to {
  821. opacity: 0;
  822. }
  823. /* start--文本行数限制--start */
  824. .u-line-1 {
  825. overflow: hidden;
  826. text-overflow: ellipsis;
  827. white-space: nowrap;
  828. }
  829. .u-line-2 {
  830. -webkit-line-clamp: 2;
  831. }
  832. .u-line-3 {
  833. -webkit-line-clamp: 3;
  834. }
  835. .u-line-4 {
  836. -webkit-line-clamp: 4;
  837. }
  838. .u-line-5 {
  839. -webkit-line-clamp: 5;
  840. }
  841. .u-line-2,
  842. .u-line-3,
  843. .u-line-4,
  844. .u-line-5 {
  845. display: flex;
  846. overflow: hidden;
  847. text-overflow: ellipsis;
  848. word-break: break-all;
  849. -webkit-box-orient: vertical; // 设置伸缩盒子元素排列方式
  850. }
  851. /* end--文本行数限制--end */
  852. /* start--Retina 屏幕下的 1px 边框--start */
  853. .u-border,
  854. .u-border-bottom,
  855. .u-border-left,
  856. .u-border-right,
  857. .u-border-top,
  858. .u-border-top-bottom {
  859. position: relative;
  860. }
  861. .u-border-bottom::after,
  862. .u-border-left::after,
  863. .u-border-right::after,
  864. .u-border-top-bottom::after,
  865. .u-border-top::after,
  866. .u-border::after {
  867. position: absolute;
  868. top: 0;
  869. left: 0;
  870. z-index: 2;
  871. box-sizing: border-box;
  872. // 多加0.1%,能解决有时候边框缺失的问题
  873. width: 199.8%;
  874. height: 199.7%;
  875. pointer-events: none;
  876. content: ' ';
  877. border: 0 solid #e4e7ed;
  878. transform: scale(0.5, 0.5);
  879. transform-origin: 0 0;
  880. }
  881. .u-border-top::after {
  882. border-top-width: 1PX;
  883. }
  884. .u-border-left::after {
  885. border-left-width: 1PX;
  886. }
  887. .u-border-right::after {
  888. border-right-width: 1PX;
  889. }
  890. .u-border-bottom::after {
  891. border-bottom-width: 1PX;
  892. }
  893. .u-border-top-bottom::after {
  894. border-width: 1PX 0;
  895. }
  896. .u-border::after {
  897. border-width: 1PX;
  898. }
  899. .cwg-button {
  900. width: 100%;
  901. .u-button {
  902. height: px2rpx(44) !important;
  903. font-size: var(--font-size-16);
  904. font-weight: bold;
  905. color: var(--black);
  906. background-color: #e61f1e !important;
  907. border: none !important;
  908. border-radius: px2rpx(100) !important;
  909. &:active {
  910. opacity: 0.9;
  911. }
  912. }
  913. }
  914. .fixed-btn {
  915. position: fixed;
  916. bottom: 0;
  917. left: 0;
  918. z-index: 1100;
  919. display: flex;
  920. flex-direction: column;
  921. align-items: center;
  922. justify-content: center;
  923. width: 100%;
  924. height: px2rpx(90);
  925. padding: px2rpx(21) px2rpx(30);
  926. color: var(--black);
  927. background-color: var(--black);
  928. box-shadow: 0 -1px 2px rgb(134, 134, 133, 0.25);
  929. box-sizing: border-box;
  930. }
  931. .cwg-upload {
  932. box-sizing: border-box;
  933. display: flex;
  934. flex-direction: column;
  935. align-items: center;
  936. justify-content: center;
  937. width: 100%;
  938. height: px2rpx(160);
  939. padding: px2rpx(16);
  940. border: 1px dashed #beb6b6;
  941. border-radius: px2rpx(4);
  942. .name {
  943. display: flex;
  944. align-items: center;
  945. font-size: px2rpx(16);
  946. font-weight: 600;
  947. line-height: px2rpx(44);
  948. color: var(--bs-emphasis-color);
  949. text-align: center;
  950. }
  951. .back {
  952. display: flex;
  953. align-items: center;
  954. font-size: px2rpx(16);
  955. line-height: px2rpx(24);
  956. color: #474747;
  957. text-align: center;
  958. letter-spacing: 0.005em;
  959. }
  960. }
  961. .g {
  962. display: flex;
  963. img {
  964. height: px2rpx(50);
  965. }
  966. .g-l {
  967. flex: 1;
  968. margin-left: px2rpx(16);
  969. .g-item {
  970. display: flex;
  971. justify-content: space-between;
  972. margin-bottom: px2rpx(16);
  973. }
  974. .label {
  975. font-family: Roboto;
  976. font-size: px2rpx(14);
  977. font-style: normal;
  978. font-weight: 600;
  979. line-height: px2rpx(20);
  980. color: var(--bs-emphasis-color);
  981. text-align: left;
  982. }
  983. .v {
  984. font-family: Roboto;
  985. font-size: px2rpx(14);
  986. font-style: normal;
  987. font-weight: 600;
  988. line-height: px2rpx(20);
  989. color: var(--bs-emphasis-color);
  990. text-align: center;
  991. }
  992. }
  993. }
  994. .fixed-right {
  995. position: fixed;
  996. top: px2rpx(4);
  997. right: px2rpx(10);
  998. z-index: 100;
  999. display: flex;
  1000. align-items: center;
  1001. justify-content: center;
  1002. width: px2rpx(40);
  1003. height: px2rpx(40);
  1004. color: var(--main-yellow);
  1005. cursor: pointer;
  1006. i {
  1007. display: flex;
  1008. align-items: center;
  1009. justify-content: center;
  1010. width: px2rpx(20);
  1011. height: px2rpx(20);
  1012. font-size: px2rpx(14);
  1013. color: var(--main-yellow);
  1014. }
  1015. &:hover {
  1016. opacity: 0.8;
  1017. }
  1018. }
  1019. .status-default {
  1020. display: flex;
  1021. gap: px2rpx(10);
  1022. align-items: center;
  1023. justify-content: center;
  1024. padding: px2rpx(4) px2rpx(8);
  1025. font-family: Roboto;
  1026. font-size: px2rpx(12);
  1027. font-style: normal;
  1028. font-weight: 600;
  1029. line-height: px2rpx(16);
  1030. color: #009deb;
  1031. letter-spacing: px2rpx(0.06);
  1032. background: rgb(0, 157, 235, 0.2);
  1033. border: 0 solid #f4f4f4;
  1034. border-radius: px2rpx(9999);
  1035. }
  1036. .status-success {
  1037. color: #4caf50;
  1038. background: rgb(76, 175, 80, 0.2);
  1039. }
  1040. .status-error {
  1041. color: #d32f2f;
  1042. background: rgb(211, 47, 47, 0.21);
  1043. }
  1044. .status-views {
  1045. display: flex;
  1046. align-items: center;
  1047. justify-content: center;
  1048. width: px2rpx(65.063);
  1049. // height: 36px;
  1050. padding: px2rpx(8) px2rpx(16);
  1051. font-family: Roboto;
  1052. font-size: px2rpx(14);
  1053. font-style: normal;
  1054. font-weight: 600;
  1055. line-height: px2rpx(20);
  1056. color: var(--bs-emphasis-color);
  1057. text-align: center;
  1058. letter-spacing: px2rpx(0.07);
  1059. background: #ea002a;
  1060. border-radius: px2rpx(10);
  1061. }
  1062. .ellipsis {
  1063. width: 100%;
  1064. overflow: hidden;
  1065. text-overflow: ellipsis;
  1066. white-space: nowrap;
  1067. }
  1068. .custom-toast {
  1069. top: 40%;
  1070. display: flex;
  1071. flex-direction: column;
  1072. gap: px2rpx(16);
  1073. align-items: center;
  1074. width: px2rpx(348);
  1075. padding: px2rpx(32) px2rpx(24);
  1076. background: #fff;
  1077. border-radius: px2rpx(20);
  1078. box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
  1079. .van-icon__image {
  1080. width: px2rpx(88);
  1081. height: px2rpx(88);
  1082. }
  1083. .van-toast__text {
  1084. font-family: Roboto;
  1085. font-size: px2rpx(14);
  1086. font-style: normal;
  1087. font-weight: 400;
  1088. line-height: px2rpx(20);
  1089. color: #474747;
  1090. text-align: center;
  1091. letter-spacing: px2rpx(0.07);
  1092. }
  1093. }
  1094. .page-header {
  1095. position: fixed;
  1096. top: calc(var(--secure-height, 0px) + env(safe-area-inset-top));
  1097. left: 0;
  1098. z-index: 13;
  1099. display: flex;
  1100. align-items: center;
  1101. width: 100%;
  1102. height: px2rpx(60);
  1103. font-size: var(--font-size-22);
  1104. font-weight: 700;
  1105. color: var(--white);
  1106. text-align: left;
  1107. background: #fff;
  1108. }
  1109. .u-form-item__body {
  1110. padding: 0 !important;
  1111. }
  1112. .u-form-item__body__right__message {
  1113. margin-left: 10px !important;
  1114. }
  1115. .filter-picker {
  1116. background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
  1117. border: 1px solid #e5e7eb;
  1118. border-radius: px2rpx(8);
  1119. padding: px2rpx(6);
  1120. display: flex;
  1121. align-items: center;
  1122. min-width: px2rpx(60);
  1123. max-width: px2rpx(120);
  1124. flex-shrink: 1;
  1125. overflow: hidden;
  1126. div {
  1127. width: 100% !important;
  1128. }
  1129. }
  1130. .picker-value {
  1131. display: flex;
  1132. align-items: center;
  1133. gap: px2rpx(4);
  1134. width: 100%;
  1135. }
  1136. .picker-text {
  1137. min-width: px2rpx(60);
  1138. max-width: px2rpx(100);
  1139. font-size: px2rpx(12);
  1140. color: #111827;
  1141. overflow: hidden;
  1142. text-overflow: ellipsis;
  1143. white-space: nowrap;
  1144. }
  1145. .picker-icon {
  1146. flex-shrink: 0;
  1147. width: px2rpx(14);
  1148. height: px2rpx(14);
  1149. }
  1150. .status-badge {
  1151. display: flex;
  1152. align-items: center;
  1153. gap: px2rpx(4);
  1154. padding: px2rpx(3) px2rpx(8) px2rpx(3) px2rpx(3);
  1155. border-radius: px2rpx(12);
  1156. }
  1157. .filter-select {
  1158. background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
  1159. border: 1px solid #e5e7eb;
  1160. border-radius: px2rpx(8);
  1161. padding: px2rpx(6);
  1162. display: flex;
  1163. align-items: center;
  1164. min-width: px2rpx(90);
  1165. max-width: px2rpx(120);
  1166. flex-shrink: 1;
  1167. // overflow: hidden;
  1168. div {
  1169. // width: 100% !important;
  1170. }
  1171. .uni-select {
  1172. width: 100% !important;
  1173. padding: 0 !important;
  1174. border: none !important;
  1175. min-height: px2rpx(14) !important;
  1176. }
  1177. .uni-select__selector {
  1178. min-width: 100px !important;
  1179. max-width: 300px !important;
  1180. width: max-content !important;
  1181. }
  1182. .uni-select__selector-item {
  1183. white-space: nowrap !important;
  1184. padding: 0 12px !important;
  1185. }
  1186. .uni-select__input-text {
  1187. color: var(--bs-body-color);
  1188. font-size: 12px;
  1189. margin: 1px 0;
  1190. padding: 0 !important;
  1191. }
  1192. .padding-top-bottom {
  1193. padding: 0 !important;
  1194. }
  1195. }
  1196. .uni-date-x,
  1197. .uni-select__input-text {
  1198. color: var(--bs-emphasis-color);
  1199. }
  1200. .notice-list {
  1201. .notice-item {
  1202. &::before {
  1203. content: '';
  1204. display: inline-block;
  1205. width: 4px;
  1206. height: 4px;
  1207. margin-right: 8px;
  1208. border-radius: 50%;
  1209. background-color: var(--cwg-placeholder-color);
  1210. vertical-align: middle;
  1211. position: relative;
  1212. top: -1px;
  1213. }
  1214. }
  1215. .notice-item.isOK::before {
  1216. background-color: var(--bs-success);
  1217. }
  1218. }
  1219. // 列表空状态垂直居中(非 cwg-tabel 场景)
  1220. .list-empty-state {
  1221. width: 100%;
  1222. min-height: px2rpx(320);
  1223. display: flex;
  1224. align-items: center;
  1225. justify-content: center;
  1226. flex: 1;
  1227. box-sizing: border-box;
  1228. padding: px2rpx(24) px2rpx(20);
  1229. }
  1230. .list-empty-state-compact {
  1231. width: 100%;
  1232. min-height: px2rpx(160);
  1233. display: flex;
  1234. align-items: center;
  1235. justify-content: center;
  1236. box-sizing: border-box;
  1237. padding: px2rpx(16) px2rpx(12);
  1238. }
  1239. .list-content-empty {
  1240. min-height: px2rpx(360);
  1241. display: flex;
  1242. flex-direction: column;
  1243. }
  1244. // 不可编辑字段文案颜色全局统一
  1245. .uni-easyinput__content.is-disabled {
  1246. background-color: var(--input-disabled-bg-color) !important;
  1247. color: var(--input-disabled-text-color) !important;
  1248. .uni-easyinput__content-input,
  1249. .uni-easyinput__content-textarea,
  1250. input,
  1251. textarea,
  1252. .uni-input-input {
  1253. color: var(--input-disabled-text-color) !important;
  1254. -webkit-text-fill-color: var(--input-disabled-text-color) !important;
  1255. opacity: 1 !important;
  1256. }
  1257. }
  1258. .disabled-text {
  1259. color: var(--input-disabled-text-color) !important;
  1260. }
  1261. .uni-select--disabled .uni-select__input-text {
  1262. color: var(--input-disabled-text-color) !important;
  1263. }
  1264. .uni-combox--disabled .uni-combox__input,
  1265. .uni-combox--disabled .uni-combox__input-plac {
  1266. color: var(--input-disabled-text-color) !important;
  1267. -webkit-text-fill-color: var(--input-disabled-text-color) !important;
  1268. }
  1269. // 公共title样式
  1270. .content-title {
  1271. width: 100%;
  1272. min-height: px2rpx(40);
  1273. line-height: px2rpx(40);
  1274. box-sizing: border-box;
  1275. color: var(--bs-heading-color);
  1276. // color: var(--color-white);
  1277. // background-color: var(--bs-heading-color);
  1278. font-size: px2rpx(20);
  1279. font-weight: bold;
  1280. }
  1281. .s-btn {
  1282. &.reselect {
  1283. background-color: var(--color-zinc-100);
  1284. color: #fff;
  1285. border: none;
  1286. font-size: px2rpx(14);
  1287. padding: px2rpx(8) px2rpx(20);
  1288. border-radius: px2rpx(8);
  1289. &:active {
  1290. background-color: var(--color-zinc-200);
  1291. }
  1292. }
  1293. &[type="primary"] {
  1294. width: 100%;
  1295. height: px2rpx(48);
  1296. background-color: #e61f1e;
  1297. color: #fff;
  1298. border-radius: px2rpx(12);
  1299. font-size: px2rpx(16);
  1300. font-weight: 600;
  1301. display: flex;
  1302. align-items: center;
  1303. justify-content: center;
  1304. border: none;
  1305. margin-top: px2rpx(30);
  1306. transition: all 0.2s;
  1307. &:active {
  1308. transform: scale(0.98);
  1309. background-color: #e61f1e;
  1310. }
  1311. }
  1312. }
  1313. .search-bar {
  1314. display: flex;
  1315. align-items: center;
  1316. justify-content: flex-start;
  1317. flex-wrap: wrap;
  1318. gap: px2rpx(16);
  1319. // margin: px2rpx(16) 0;
  1320. .cwg-combox,
  1321. .uni-easyinput,
  1322. .uni-date {
  1323. width: px2rpx(224) !important;
  1324. flex: none !important;
  1325. }
  1326. .s-btn {
  1327. width: px2rpx(224);
  1328. background-color: var(--color-error);
  1329. color: #fff;
  1330. padding: px2rpx(10) px2rpx(20);
  1331. border: none;
  1332. font-size: px2rpx(15);
  1333. text-align: center;
  1334. cursor: pointer;
  1335. box-sizing: border-box;
  1336. }
  1337. }
  1338. :deep(.uni-row1) {
  1339. width: 100%;
  1340. // margin: 0 px2rpx(-10) !important;
  1341. box-sizing: border-box;
  1342. .uni-col {
  1343. //padding: 0 px2rpx(10) !important;
  1344. box-sizing: border-box;
  1345. }
  1346. .base-info-form>span {
  1347. display: contents;
  1348. }
  1349. .uni-forms-item {
  1350. min-height: px2rpx(79);
  1351. margin-bottom: px2rpx(10);
  1352. }
  1353. .uni-select,
  1354. .uni-combox,
  1355. .uni-easyinput__content,
  1356. .cwg-combox,
  1357. .uni-date-editor--x {
  1358. height: 3rem;
  1359. border: 1px solid var(--bs-border-color) !important;
  1360. border-radius: px2rpx(8);
  1361. font-size: px2rpx(16);
  1362. //background-color: var(--color-zinc-100) !important;
  1363. }
  1364. .cwg-combox {
  1365. border: none !important;
  1366. }
  1367. .uni-date-x {
  1368. border: none !important;
  1369. background-color: rgba(195, 195, 195, 0) !important;
  1370. }
  1371. .uni-easyinput__content {
  1372. padding: 0 !important;
  1373. }
  1374. .checklist-text {
  1375. //color: #666 !important;
  1376. }
  1377. .checklist-box.is--default.is-checked .checkbox__inner {
  1378. border-color: var(--color-error) !important;
  1379. background-color: var(--color-error) !important;
  1380. }
  1381. }
  1382. :deep(.uni-row2) {
  1383. .uni-select,
  1384. .uni-combox,
  1385. .uni-easyinput__content,
  1386. .uni-date-editor--x {
  1387. border: 1px solid var(--color-slate-300) !important;
  1388. background-color: rgba(195, 195, 195, 0) !important;
  1389. }
  1390. .uni-date-x {
  1391. background-color: rgba(195, 195, 195, 0) !important;
  1392. }
  1393. }
  1394. .bg-secondary {
  1395. background-color: var(--color-secondary) !important;
  1396. border: 1px solid #333333;
  1397. color: var(--color-white);
  1398. }
  1399. .underline {
  1400. text-decoration: underline;
  1401. text-decoration-color: currentColor;
  1402. text-underline-offset: px2rpx(2);
  1403. cursor: pointer;
  1404. }
  1405. .info-card {
  1406. // margin-top: px2rpx(4);
  1407. // border-radius: px2rpx(8);
  1408. // background-color: white;
  1409. // padding: px2rpx(8);
  1410. // box-shadow: 0 0 px2rpx(8) rgba(0, 0, 0, 0.1);
  1411. // box-shadow:
  1412. // 0 0 px2rpx(4) rgba(0, 0, 0, 0.06),
  1413. // 0 px2rpx(6) px2rpx(12) rgba(0, 0, 0, 0.08);
  1414. box-sizing: border-box;
  1415. // padding: px2rpx(20);
  1416. // border: 1px solid rgba(108, 133, 149, 0.12);
  1417. border-radius: px2rpx(8);
  1418. }
  1419. .crm-title-box {
  1420. background-color: var(--color-gray-second);
  1421. color: var(--color-white);
  1422. height: 40px;
  1423. display: flex;
  1424. justify-content: space-between;
  1425. align-items: center;
  1426. margin-bottom: 10px;
  1427. border-radius: 2px;
  1428. padding: 0 20px;
  1429. .tit {
  1430. font-size: 14px;
  1431. font-weight: bold;
  1432. color: var(--color-white);
  1433. }
  1434. }
  1435. .status-box {
  1436. display: flex;
  1437. align-items: center;
  1438. gap: px2rpx(4);
  1439. }
  1440. @media screen and (max-width: 991px) {
  1441. .info-card {
  1442. box-sizing: border-box;
  1443. // padding: px2rpx(20);
  1444. border: 0 !important;
  1445. border-radius: 0 !important;
  1446. }
  1447. .status-box {
  1448. display: flex;
  1449. flex-direction: column;
  1450. gap: px2rpx(4);
  1451. }
  1452. }
  1453. // 状态标签基础样式
  1454. .status-badge {
  1455. display: inline-flex;
  1456. align-items: center;
  1457. padding: 4rpx 12rpx;
  1458. border-radius: 4rpx;
  1459. font-size: var(--font-size-24);
  1460. //font-weight: 500;
  1461. line-height: 1.5;
  1462. white-space: nowrap;
  1463. transition: all var(--default-transition-duration) var(--default-transition-timing-function);
  1464. // 当有取消按钮时调整右边距
  1465. &.has-cancel {
  1466. margin-right: 8rpx;
  1467. }
  1468. }
  1469. // 状态标签基础样式
  1470. .status-tag {
  1471. display: inline-block;
  1472. padding: px2rpx(4) px2rpx(8);
  1473. border-radius: px2rpx(5);
  1474. font-size: px2rpx(14);
  1475. text-align: center;
  1476. min-width: px2rpx(80);
  1477. box-sizing: border-box;
  1478. border: 1px solid;
  1479. }
  1480. // 待处理
  1481. .status-pending {
  1482. background-color: #FFFBEB;
  1483. color: #f59e0b;
  1484. border-color: #FDE68A;
  1485. }
  1486. // 处理中
  1487. .status-processing {
  1488. background-color: #EFF6FF;
  1489. color: #3B82F6;
  1490. border-color: #BFDBFE;
  1491. }
  1492. // 成功
  1493. .status-success {
  1494. background-color: #ECFDF5;
  1495. color: #22C55E;
  1496. border-color: #BBF7D0;
  1497. }
  1498. // 失败
  1499. .status-failed {
  1500. background-color: #FEF2F2;
  1501. color: #EF4444;
  1502. border-color: #FECACA;
  1503. }
  1504. // 取消 / 已取消
  1505. .status-cancelled {
  1506. background-color: #F3F4F6;
  1507. color: #6B7280;
  1508. border-color: #E5E7EB;
  1509. }
  1510. // 已过期
  1511. .status-expired,
  1512. .status-canceled {
  1513. background-color: #FAF5FF;
  1514. color: #A855F7;
  1515. border-color: #E9D5FF;
  1516. }
  1517. // 已完成
  1518. .status-completed {
  1519. background-color: #ECFDF5;
  1520. color: #22C55E;
  1521. border-color: #BBF7D0;
  1522. }
  1523. // // 待处理
  1524. // .status-warning {
  1525. // background-color: var(--status-warning-bg);
  1526. // color: var(--status-warning-text);
  1527. // }
  1528. // // 已完成
  1529. // .status-success {
  1530. // background-color: var(--status-success-bg);
  1531. // color: var(--status-success-text);
  1532. // }
  1533. // // 进行中
  1534. // .status-processing {
  1535. // background-color: var(--status-processing-bg);
  1536. // color: var(--status-processing-text);
  1537. // }
  1538. // // 已拒绝
  1539. // .status-danger {
  1540. // background-color: var(--status-danger-bg);
  1541. // color: var(--status-danger-text);
  1542. // }
  1543. // // 已过期
  1544. // .status-expired {
  1545. // background-color: var(--status-expired-bg);
  1546. // color: var(--status-expired-text);
  1547. // }
  1548. // // 已取消
  1549. // .status-cancelled {
  1550. // background-color: var(--status-cancelled-bg);
  1551. // color: var(--status-cancelled-text);
  1552. // }
  1553. // 取消按钮容器
  1554. .cancel-btn-wrapper {
  1555. display: inline-flex;
  1556. align-items: center;
  1557. }
  1558. // 取消按钮样式
  1559. .cancel-btn {
  1560. display: inline-flex;
  1561. align-items: center;
  1562. padding: 4rpx 12rpx;
  1563. border-radius: 8rpx;
  1564. font-size: var(--font-size-24);
  1565. font-weight: 500;
  1566. line-height: 1.5;
  1567. color: #333;
  1568. background-color: var(--btn-color);
  1569. border: 1px solid var(--btn-border-color);
  1570. cursor: pointer;
  1571. transition: all var(--default-transition-duration) var(--default-transition-timing-function);
  1572. white-space: nowrap;
  1573. &:hover {
  1574. color: #333;
  1575. background-color: var(--btn-color);
  1576. border-color: var(--btn-border-color);
  1577. }
  1578. // 添加点击效果
  1579. &:active {
  1580. transform: scale(0.95);
  1581. }
  1582. }
  1583. .pc-header-btn {
  1584. width: px2rpx(40);
  1585. height: px2rpx(40);
  1586. border-radius: px2rpx(4);
  1587. border: 1px solid rgba(108, 133, 149, 0);
  1588. display: flex;
  1589. align-items: center;
  1590. font-size: px2rpx(14);
  1591. cursor: pointer;
  1592. display: flex;
  1593. justify-content: center;
  1594. align-items: center;
  1595. &:hover {
  1596. background: rgba(108, 133, 149, 0.12);
  1597. border-color: rgb(145, 163, 176);
  1598. }
  1599. }
  1600. .popup-content {
  1601. // padding: px2rpx(30) px2rpx(20);
  1602. text-align: center;
  1603. min-width: px2rpx(250);
  1604. color: var(--bs-emphasis-color) !important;
  1605. @media screen and (max-width: 991px) {
  1606. // min-width: 80%;
  1607. // max-width: 90%;
  1608. // margin: 0 px2rpx(10);
  1609. }
  1610. position: relative;
  1611. .icon {
  1612. .iconfont {
  1613. font-size: px2rpx(60);
  1614. display: block;
  1615. margin: 0 auto;
  1616. }
  1617. .icon-chenggong {
  1618. color: #67c23a;
  1619. }
  1620. .icon-jingshi {
  1621. color: #f56c6c;
  1622. }
  1623. .icon-dengdai {
  1624. color: #e6a23c;
  1625. }
  1626. }
  1627. .des1 {
  1628. font-weight: 600;
  1629. font-size: px2rpx(16);
  1630. margin: px2rpx(20) 0 px2rpx(15);
  1631. color: var(--bs-emphasis-color);
  1632. line-height: 1.4;
  1633. padding: 0 px2rpx(10);
  1634. }
  1635. .des2 {
  1636. font-size: px2rpx(14);
  1637. margin: px2rpx(15) 0 px2rpx(15);
  1638. color: var(--bs-emphasis-color);
  1639. line-height: 1.4;
  1640. padding: 0 px2rpx(10);
  1641. }
  1642. }
  1643. .dialog-footer {
  1644. padding: px2rpx(20) px2rpx(30) px2rpx(30);
  1645. border-top: 1px solid #f0f0f0;
  1646. .btn-content {
  1647. // 双按钮模式
  1648. &:not(:has(button:only-child)):has(button) {
  1649. display: flex;
  1650. justify-content: space-around;
  1651. //gap: px2rpx(30);
  1652. }
  1653. // 单按钮模式
  1654. &:has(button:only-child) {
  1655. display: flex;
  1656. justify-content: center;
  1657. }
  1658. }
  1659. .footer-line {
  1660. height: 1px;
  1661. background-color: #f0f0f0;
  1662. margin: px2rpx(-20) 0 0;
  1663. }
  1664. button {
  1665. min-width: px2rpx(120);
  1666. height: px2rpx(40);
  1667. border-radius: px2rpx(4);
  1668. font-size: px2rpx(16);
  1669. display: flex;
  1670. align-items: center;
  1671. justify-content: center;
  1672. border: none;
  1673. cursor: pointer;
  1674. transition: all 0.3s ease;
  1675. margin: 0;
  1676. &:active {
  1677. opacity: 0.8;
  1678. transform: scale(0.98);
  1679. }
  1680. &:disabled {
  1681. opacity: 0.5;
  1682. cursor: not-allowed;
  1683. }
  1684. }
  1685. .cancel-btn {
  1686. background-color: #f5f5f5;
  1687. color: #6b7280;
  1688. &:active {
  1689. background-color: #e8e8e8;
  1690. }
  1691. }
  1692. .confirm-btn {
  1693. &.primary {
  1694. background-color: #e61f1e;
  1695. color: #fff;
  1696. &:active {
  1697. background-color: #ff6b6b;
  1698. }
  1699. }
  1700. &.danger {
  1701. background-color: #ff6b6b;
  1702. color: var(--bs-emphasis-color);
  1703. &:active {
  1704. background-color: #ff5252;
  1705. }
  1706. }
  1707. }
  1708. .single-btn {
  1709. min-width: px2rpx(200);
  1710. &.primary {
  1711. background-color: #e61f1e;
  1712. color: #fff;
  1713. }
  1714. &.danger {
  1715. background-color: #ff6b6b;
  1716. color: var(--bs-emphasis-color);
  1717. }
  1718. &.default {
  1719. background-color: #f5f5f5;
  1720. color: var(--bs-heading-color);
  1721. }
  1722. }
  1723. }
  1724. .wait-popup {
  1725. .des1 {
  1726. margin-top: px2rpx(10);
  1727. }
  1728. .icon {
  1729. .iconfont {
  1730. animation: spin 1s linear infinite;
  1731. }
  1732. }
  1733. }
  1734. // 适配不同屏幕尺寸(媒体查询中的 750rpx 保持不变)
  1735. @media (max-width: 750rpx) {
  1736. .popup-content {
  1737. .icon {
  1738. .iconfont {
  1739. font-size: px2rpx(50);
  1740. }
  1741. }
  1742. .des1 {
  1743. font-size: px2rpx(14);
  1744. margin: px2rpx(15) 0 px2rpx(10);
  1745. }
  1746. .des2 {
  1747. font-size: px2rpx(13);
  1748. margin: px2rpx(15) 0 px2rpx(10);
  1749. }
  1750. .dialog-footer {
  1751. button {
  1752. min-width: px2rpx(80);
  1753. font-size: px2rpx(13);
  1754. }
  1755. }
  1756. }
  1757. }
  1758. .clause-content {
  1759. max-height: px2rpx(500);
  1760. overflow-y: auto;
  1761. text-align: left;
  1762. line-height: 1.6;
  1763. .h4 {
  1764. font-size: px2rpx(16);
  1765. font-weight: bold;
  1766. margin: px2rpx(16) 0;
  1767. }
  1768. .list {
  1769. .list-item {
  1770. margin-bottom: px2rpx(12);
  1771. }
  1772. }
  1773. .table-container {
  1774. width: 100%;
  1775. overflow-x: auto;
  1776. margin: px2rpx(16) 0;
  1777. .table {
  1778. display: table;
  1779. width: 100%;
  1780. table-layout: fixed;
  1781. border: 1px solid #e4e7ed;
  1782. box-sizing: border-box;
  1783. .tr {
  1784. display: table-row;
  1785. }
  1786. .th,
  1787. .td {
  1788. display: table-cell;
  1789. width: calc(100% / 6);
  1790. padding: px2rpx(8);
  1791. text-align: center;
  1792. border-right: 1px solid #e4e7ed;
  1793. border-bottom: 1px solid #e4e7ed;
  1794. &:last-child {
  1795. border-right: none;
  1796. }
  1797. }
  1798. .tr:last-child .td,
  1799. .tr:last-child .th {
  1800. border-bottom: none;
  1801. }
  1802. }
  1803. }
  1804. }
  1805. .crm-cursor {
  1806. cursor: pointer;
  1807. }
  1808. ::selection {
  1809. background-color: var(--bs-secondary);
  1810. // color: var(--bs-emphasis-color);
  1811. }
  1812. @for $i from 1 through 50 {
  1813. .padding-#{$i} {
  1814. padding: px2rpx($i);
  1815. }
  1816. .padding-t-#{$i} {
  1817. padding-top: px2rpx($i);
  1818. }
  1819. .padding-b-#{$i} {
  1820. padding-bottom: px2rpx($i);
  1821. }
  1822. .padding-l-#{$i} {
  1823. padding-left: px2rpx($i);
  1824. }
  1825. .padding-r-#{$i} {
  1826. padding-right: px2rpx($i);
  1827. }
  1828. .padding-x-#{$i} {
  1829. padding-left: px2rpx($i);
  1830. padding-right: px2rpx($i);
  1831. }
  1832. .padding-y-#{$i} {
  1833. padding-top: px2rpx($i);
  1834. padding-bottom: px2rpx($i);
  1835. }
  1836. }
  1837. .btn-outline-dark1 {
  1838. background-color: var(--btn-color) !important;
  1839. color: var(--bs-emphasis-color) !important;
  1840. }
  1841. .add-btn {
  1842. font-weight: 600;
  1843. color: #e61f1e;
  1844. text-decoration: underline;
  1845. }
  1846. .flex-1{
  1847. flex: 1;
  1848. }
  1849. .justify-between{
  1850. justify-content: space-between;
  1851. }
  1852. .agree {
  1853. margin-top: px2rpx(12);
  1854. display: flex;
  1855. align-items: flex-start;
  1856. .checkbox {
  1857. display: flex;
  1858. align-items: flex-start;
  1859. gap: px2rpx(8);
  1860. :deep(uni-checkbox .uni-checkbox-input) {
  1861. margin-top: px2rpx(4);
  1862. border-radius: px2rpx(4);
  1863. width: px2rpx(18);
  1864. height: px2rpx(18);
  1865. }
  1866. text {
  1867. font-size: px2rpx(13);
  1868. color: var(--color-zinc-500);
  1869. line-height: 2;
  1870. }
  1871. }
  1872. }
  1873. .uni-picker-container{
  1874. z-index: 11201!important;
  1875. }