global.scss 35 KB

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