global.scss 35 KB

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