global.scss 35 KB

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