global.scss 35 KB

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