global.css 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017
  1. /* ==================
  2. 初始化
  3. ==================== */
  4. body {
  5. background-color: #F7F8F9;
  6. font-size: 28upx;
  7. color: #333333;
  8. font-family: Helvetica Neue, Helvetica, sans-serif;
  9. }
  10. view,
  11. scroll-view,
  12. swiper,
  13. button,
  14. input,
  15. textarea,
  16. label,
  17. navigator,
  18. image {
  19. box-sizing: border-box;
  20. }
  21. .round {
  22. border-radius: 5000upx;
  23. }
  24. .radius {
  25. border-radius: 6upx;
  26. }
  27. .radius-df {
  28. border-radius: 10upx;
  29. }
  30. .radius-lg {
  31. border-radius: 20upx;
  32. }
  33. .radius-xl {
  34. border-radius: 40upx;
  35. }
  36. .radius-top-xl {
  37. border-top-left-radius: 40upx;
  38. border-top-right-radius: 40upx;
  39. }
  40. .overflow{overflow: hidden;}
  41. /* ==================
  42. 图片
  43. ==================== */
  44. image {
  45. max-width: 100%;
  46. display: inline-block;
  47. position: relative;
  48. z-index: 0;
  49. }
  50. image.loading::before {
  51. content: "";
  52. background-color: #f5f5f5;
  53. display: block;
  54. position: absolute;
  55. width: 100%;
  56. height: 100%;
  57. z-index: -2;
  58. }
  59. image.loading::after {
  60. content: "\e7f1";
  61. font-family: "cuIcon";
  62. position: absolute;
  63. top: 0;
  64. left: 0;
  65. width: 32upx;
  66. height: 32upx;
  67. line-height: 32upx;
  68. right: 0;
  69. bottom: 0;
  70. z-index: -1;
  71. font-size: 32upx;
  72. margin: auto;
  73. color: #ccc;
  74. -webkit-animation: cuIcon-spin 2s infinite linear;
  75. animation: cuIcon-spin 2s infinite linear;
  76. display: block;
  77. }
  78. .response {
  79. width: 100%;
  80. }
  81. /* ==================
  82. 开关
  83. ==================== */
  84. switch,
  85. checkbox,
  86. radio {
  87. position: relative;
  88. }
  89. switch::after,
  90. switch::before {
  91. font-family: "cuIcon";
  92. content: "\e645";
  93. position: absolute;
  94. color: #ffffff !important;
  95. top: 0%;
  96. left: 0upx;
  97. font-size: 26upx;
  98. line-height: 26px;
  99. width: 50%;
  100. text-align: center;
  101. pointer-events: none;
  102. transform: scale(0, 0);
  103. transition: all 0.3s ease-in-out 0s;
  104. z-index: 9;
  105. bottom: 0;
  106. height: 26px;
  107. margin: auto;
  108. }
  109. switch::before {
  110. content: "\e646";
  111. right: 0;
  112. transform: scale(1, 1);
  113. left: auto;
  114. }
  115. switch[checked]::after,
  116. switch.checked::after {
  117. transform: scale(1, 1);
  118. }
  119. switch[checked]::before,
  120. switch.checked::before {
  121. transform: scale(0, 0);
  122. }
  123. /* #ifndef MP-ALIPAY */
  124. radio::before,
  125. checkbox::before {
  126. font-family: "cuIcon";
  127. content: "\e645";
  128. position: absolute;
  129. color: #ffffff !important;
  130. top: 50%;
  131. margin-top: -8px;
  132. right: 5px;
  133. font-size: 32upx;
  134. line-height: 16px;
  135. pointer-events: none;
  136. transform: scale(1, 1);
  137. transition: all 0.3s ease-in-out 0s;
  138. z-index: 9;
  139. }
  140. radio .wx-radio-input,
  141. checkbox .wx-checkbox-input,
  142. radio .uni-radio-input,
  143. checkbox .uni-checkbox-input {
  144. margin: 0;
  145. width: 24px;
  146. height: 24px;
  147. }
  148. checkbox.round .wx-checkbox-input,
  149. checkbox.round .uni-checkbox-input {
  150. border-radius: 100upx;
  151. }
  152. /* #endif */
  153. switch[checked]::before {
  154. transform: scale(0, 0);
  155. }
  156. switch .wx-switch-input,
  157. switch .uni-switch-input {
  158. border: none;
  159. padding: 0 24px;
  160. width: 48px;
  161. height: 26px;
  162. margin: 0;
  163. border-radius: 100upx;
  164. }
  165. switch .wx-switch-input:not([class*="bg-"]),
  166. switch .uni-switch-input:not([class*="bg-"]) {
  167. background: #8799a3 !important;
  168. }
  169. switch .wx-switch-input::after,
  170. switch .uni-switch-input::after {
  171. margin: auto;
  172. width: 26px;
  173. height: 26px;
  174. border-radius: 100upx;
  175. left: 0upx;
  176. top: 0upx;
  177. bottom: 0upx;
  178. position: absolute;
  179. transform: scale(0.9, 0.9);
  180. transition: all 0.1s ease-in-out 0s;
  181. }
  182. switch .wx-switch-input.wx-switch-input-checked::after,
  183. switch .uni-switch-input.uni-switch-input-checked::after {
  184. margin: auto;
  185. left: 22px;
  186. box-shadow: none;
  187. transform: scale(0.9, 0.9);
  188. }
  189. radio-group {
  190. display: inline-block;
  191. }
  192. switch.radius .wx-switch-input::after,
  193. switch.radius .wx-switch-input,
  194. switch.radius .wx-switch-input::before,
  195. switch.radius .uni-switch-input::after,
  196. switch.radius .uni-switch-input,
  197. switch.radius .uni-switch-input::before {
  198. border-radius: 10upx;
  199. }
  200. switch .wx-switch-input::before,
  201. radio.radio::before,
  202. checkbox .wx-checkbox-input::before,
  203. radio .wx-radio-input::before,
  204. switch .uni-switch-input::before,
  205. radio.radio::before,
  206. checkbox .uni-checkbox-input::before,
  207. radio .uni-radio-input::before {
  208. display: none;
  209. }
  210. radio.radio[checked]::after,
  211. radio.radio .uni-radio-input-checked::after {
  212. content: "";
  213. background-color: transparent;
  214. display: block;
  215. position: absolute;
  216. width: 8px;
  217. height: 8px;
  218. z-index: 999;
  219. top: 0upx;
  220. left: 0upx;
  221. right: 0;
  222. bottom: 0;
  223. margin: auto;
  224. border-radius: 200upx;
  225. /* #ifndef MP */
  226. border: 7px solid #ffffff !important;
  227. /* #endif */
  228. /* #ifdef MP */
  229. border: 8px solid #ffffff !important;
  230. /* #endif */
  231. }
  232. .switch-sex::after {
  233. content: "\e71c";
  234. }
  235. .switch-sex::before {
  236. content: "\e71a";
  237. }
  238. .switch-sex .wx-switch-input,
  239. .switch-sex .uni-switch-input {
  240. background: #e54d42 !important;
  241. border-color: #e54d42 !important;
  242. }
  243. .switch-sex[checked] .wx-switch-input,
  244. .switch-sex.checked .uni-switch-input {
  245. background: #0081ff !important;
  246. border-color: #0081ff !important;
  247. }
  248. switch.red[checked] .wx-switch-input.wx-switch-input-checked,
  249. checkbox.red[checked] .wx-checkbox-input,
  250. radio.red[checked] .wx-radio-input,
  251. switch.red.checked .uni-switch-input.uni-switch-input-checked,
  252. checkbox.red.checked .uni-checkbox-input,
  253. radio.red.checked .uni-radio-input {
  254. background-color: #e54d42 !important;
  255. border-color: #e54d42 !important;
  256. color: #ffffff !important;
  257. }
  258. switch.orange[checked] .wx-switch-input,
  259. checkbox.orange[checked] .wx-checkbox-input,
  260. radio.orange[checked] .wx-radio-input,
  261. switch.orange.checked .uni-switch-input,
  262. checkbox.orange.checked .uni-checkbox-input,
  263. radio.orange.checked .uni-radio-input {
  264. background-color: #f37b1d !important;
  265. border-color: #f37b1d !important;
  266. color: #ffffff !important;
  267. }
  268. switch.yellow[checked] .wx-switch-input,
  269. checkbox.yellow[checked] .wx-checkbox-input,
  270. radio.yellow[checked] .wx-radio-input,
  271. switch.yellow.checked .uni-switch-input,
  272. checkbox.yellow.checked .uni-checkbox-input,
  273. radio.yellow.checked .uni-radio-input {
  274. background-color: #fbbd08 !important;
  275. border-color: #fbbd08 !important;
  276. color: #333333 !important;
  277. }
  278. switch.olive[checked] .wx-switch-input,
  279. checkbox.olive[checked] .wx-checkbox-input,
  280. radio.olive[checked] .wx-radio-input,
  281. switch.olive.checked .uni-switch-input,
  282. checkbox.olive.checked .uni-checkbox-input,
  283. radio.olive.checked .uni-radio-input {
  284. background-color: #8dc63f !important;
  285. border-color: #8dc63f !important;
  286. color: #ffffff !important;
  287. }
  288. switch.green[checked] .wx-switch-input,
  289. switch[checked] .wx-switch-input,
  290. checkbox.green[checked] .wx-checkbox-input,
  291. checkbox[checked] .wx-checkbox-input,
  292. radio.green[checked] .wx-radio-input,
  293. radio[checked] .wx-radio-input,
  294. switch.green.checked .uni-switch-input,
  295. switch.checked .uni-switch-input,
  296. checkbox.green.checked .uni-checkbox-input,
  297. checkbox.checked .uni-checkbox-input,
  298. radio.green.checked .uni-radio-input,
  299. radio.checked .uni-radio-input {
  300. background-color: #39b54a !important;
  301. border-color: #39b54a !important;
  302. color: #ffffff !important;
  303. border-color: #39B54A !important;
  304. }
  305. switch.cyan[checked] .wx-switch-input,
  306. checkbox.cyan[checked] .wx-checkbox-input,
  307. radio.cyan[checked] .wx-radio-input,
  308. switch.cyan.checked .uni-switch-input,
  309. checkbox.cyan.checked .uni-checkbox-input,
  310. radio.cyan.checked .uni-radio-input {
  311. background-color: #1cbbb4 !important;
  312. border-color: #1cbbb4 !important;
  313. color: #ffffff !important;
  314. }
  315. switch.blue[checked] .wx-switch-input,
  316. checkbox.blue[checked] .wx-checkbox-input,
  317. radio.blue[checked] .wx-radio-input,
  318. switch.blue.checked .uni-switch-input,
  319. checkbox.blue.checked .uni-checkbox-input,
  320. radio.blue.checked .uni-radio-input {
  321. background-color: #0081ff !important;
  322. border-color: #0081ff !important;
  323. color: #ffffff !important;
  324. }
  325. switch.purple[checked] .wx-switch-input,
  326. checkbox.purple[checked] .wx-checkbox-input,
  327. radio.purple[checked] .wx-radio-input,
  328. switch.purple.checked .uni-switch-input,
  329. checkbox.purple.checked .uni-checkbox-input,
  330. radio.purple.checked .uni-radio-input {
  331. background-color: #6739b6 !important;
  332. border-color: #6739b6 !important;
  333. color: #ffffff !important;
  334. }
  335. switch.mauve[checked] .wx-switch-input,
  336. checkbox.mauve[checked] .wx-checkbox-input,
  337. radio.mauve[checked] .wx-radio-input,
  338. switch.mauve.checked .uni-switch-input,
  339. checkbox.mauve.checked .uni-checkbox-input,
  340. radio.mauve.checked .uni-radio-input {
  341. background-color: #9c26b0 !important;
  342. border-color: #9c26b0 !important;
  343. color: #ffffff !important;
  344. }
  345. switch.pink[checked] .wx-switch-input,
  346. checkbox.pink[checked] .wx-checkbox-input,
  347. radio.pink[checked] .wx-radio-input,
  348. switch.pink.checked .uni-switch-input,
  349. checkbox.pink.checked .uni-checkbox-input,
  350. radio.pink.checked .uni-radio-input {
  351. background-color: #e03997 !important;
  352. border-color: #e03997 !important;
  353. color: #ffffff !important;
  354. }
  355. switch.brown[checked] .wx-switch-input,
  356. checkbox.brown[checked] .wx-checkbox-input,
  357. radio.brown[checked] .wx-radio-input,
  358. switch.brown.checked .uni-switch-input,
  359. checkbox.brown.checked .uni-checkbox-input,
  360. radio.brown.checked .uni-radio-input {
  361. background-color: #a5673f !important;
  362. border-color: #a5673f !important;
  363. color: #ffffff !important;
  364. }
  365. switch.grey[checked] .wx-switch-input,
  366. checkbox.grey[checked] .wx-checkbox-input,
  367. radio.grey[checked] .wx-radio-input,
  368. switch.grey.checked .uni-switch-input,
  369. checkbox.grey.checked .uni-checkbox-input,
  370. radio.grey.checked .uni-radio-input {
  371. background-color: #8799a3 !important;
  372. border-color: #8799a3 !important;
  373. color: #ffffff !important;
  374. }
  375. switch.gray[checked] .wx-switch-input,
  376. checkbox.gray[checked] .wx-checkbox-input,
  377. radio.gray[checked] .wx-radio-input,
  378. switch.gray.checked .uni-switch-input,
  379. checkbox.gray.checked .uni-checkbox-input,
  380. radio.gray.checked .uni-radio-input {
  381. background-color: #f0f0f0 !important;
  382. border-color: #f0f0f0 !important;
  383. color: #333333 !important;
  384. }
  385. switch.black[checked] .wx-switch-input,
  386. checkbox.black[checked] .wx-checkbox-input,
  387. radio.black[checked] .wx-radio-input,
  388. switch.black.checked .uni-switch-input,
  389. checkbox.black.checked .uni-checkbox-input,
  390. radio.black.checked .uni-radio-input {
  391. background-color: #333333 !important;
  392. border-color: #333333 !important;
  393. color: #ffffff !important;
  394. }
  395. switch.white[checked] .wx-switch-input,
  396. checkbox.white[checked] .wx-checkbox-input,
  397. radio.white[checked] .wx-radio-input,
  398. switch.white.checked .uni-switch-input,
  399. checkbox.white.checked .uni-checkbox-input,
  400. radio.white.checked .uni-radio-input {
  401. background-color: #ffffff !important;
  402. border-color: #ffffff !important;
  403. color: #333333 !important;
  404. }
  405. /* ==================
  406. 边框
  407. ==================== */
  408. /* -- 实线 -- */
  409. .solid,
  410. .solid-top,
  411. .solid-right,
  412. .solid-bottom,
  413. .solid-left,
  414. .solids,
  415. .solids-top,
  416. .solids-right,
  417. .solids-bottom,
  418. .solids-left,
  419. .dashed,
  420. .dashed-top,
  421. .dashed-right,
  422. .dashed-bottom,
  423. .dashed-left {
  424. position: relative;
  425. }
  426. .solid::after,
  427. .solid-top::after,
  428. .solid-right::after,
  429. .solid-bottom::after,
  430. .solid-left::after,
  431. .solids::after,
  432. .solids-top::after,
  433. .solids-right::after,
  434. .solids-bottom::after,
  435. .solids-left::after,
  436. .dashed::after,
  437. .dashed-top::after,
  438. .dashed-right::after,
  439. .dashed-bottom::after,
  440. .dashed-left::after {
  441. content: " ";
  442. width: 200%;
  443. height: 200%;
  444. position: absolute;
  445. top: 0;
  446. left: 0;
  447. border-radius: inherit;
  448. transform: scale(0.5);
  449. transform-origin: 0 0;
  450. pointer-events: none;
  451. box-sizing: border-box;
  452. }
  453. .solid::after {
  454. border: 1upx solid rgba(0, 0, 0, 0.1);
  455. }
  456. .solid-top::after {
  457. border-top: 1upx solid rgba(0, 0, 0, 0.1);
  458. }
  459. .solid-right::after {
  460. border-right: 1upx solid rgba(0, 0, 0, 0.1);
  461. }
  462. .solid-bottom::after {
  463. border-bottom: 1upx solid rgba(0, 0, 0, 0.1);
  464. }
  465. .solid-bottom-black{border-bottom: 2upx solid rgba(0, 0, 0, 1)}
  466. .solid-left::after {
  467. border-left: 1upx solid rgba(0, 0, 0, 0.1);
  468. }
  469. .solids::after {
  470. border: 8upx solid #eee;
  471. }
  472. .solids-top::after {
  473. border-top: 8upx solid #eee;
  474. }
  475. .solids-right::after {
  476. border-right: 8upx solid #eee;
  477. }
  478. .solids-bottom::after {
  479. border-bottom: 8upx solid #eee;
  480. }
  481. .solids-left::after {
  482. border-left: 8upx solid #eee;
  483. }
  484. .solid-black{border:2upx solid #000 ;}
  485. .solid-gray{border:2upx solid #c9c9c9 ;}
  486. /* -- 虚线 -- */
  487. .dotted {
  488. border: 1upx dotted #999;
  489. }
  490. .dashed::after {
  491. border: 1upx dashed #ddd;
  492. }
  493. .dashed-top::after {
  494. border-top: 1upx dashed #ddd;
  495. }
  496. .dashed-right::after {
  497. border-right: 1upx dashed #ddd;
  498. }
  499. .dashed-bottom::after {
  500. border-bottom: 1upx dashed #ddd;
  501. }
  502. .dashed-left::after {
  503. border-left: 1upx dashed #ddd;
  504. }
  505. /* -- 阴影 -- */
  506. .shadow[class*='white'] {
  507. --ShadowSize: 0 1upx 6upx;
  508. }
  509. .shadow-lg {
  510. --ShadowSize: 0upx 40upx 100upx 0upx;
  511. }
  512. .shadow-warp {
  513. position: relative;
  514. box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);
  515. }
  516. .shadow-warp:before,
  517. .shadow-warp:after {
  518. position: absolute;
  519. content: "";
  520. top: 20upx;
  521. bottom: 30upx;
  522. left: 20upx;
  523. width: 50%;
  524. box-shadow: 0 30upx 20upx rgba(0, 0, 0, 0.2);
  525. transform: rotate(-3deg);
  526. z-index: -1;
  527. }
  528. .shadow-warp:after {
  529. right: 20upx;
  530. left: auto;
  531. transform: rotate(3deg);
  532. }
  533. .shadow-blur {
  534. position: relative;
  535. }
  536. .shadow-blur::before {
  537. content: "";
  538. display: block;
  539. background: inherit;
  540. filter: blur(10upx);
  541. position: absolute;
  542. width: 100%;
  543. height: 100%;
  544. top: 10upx;
  545. left: 10upx;
  546. z-index: -1;
  547. opacity: 0.4;
  548. transform-origin: 0 0;
  549. border-radius: inherit;
  550. transform: scale(1, 1);
  551. }
  552. /* ==================
  553. 加载
  554. ==================== */
  555. .load-progress {
  556. pointer-events: none;
  557. top: 0;
  558. position: fixed;
  559. width: 100%;
  560. left: 0;
  561. z-index: 2000;
  562. }
  563. .load-progress.hide {
  564. display: none;
  565. }
  566. .load-progress .load-progress-bar {
  567. position: relative;
  568. width: 100%;
  569. height: 4upx;
  570. overflow: hidden;
  571. transition: all 200ms ease 0s;
  572. }
  573. .load-progress .load-progress-spinner {
  574. position: absolute;
  575. top: 10upx;
  576. right: 10upx;
  577. z-index: 2000;
  578. display: block;
  579. }
  580. .load-progress .load-progress-spinner::after {
  581. content: "";
  582. display: block;
  583. width: 24upx;
  584. height: 24upx;
  585. -webkit-box-sizing: border-box;
  586. box-sizing: border-box;
  587. border: solid 4upx transparent;
  588. border-top-color: inherit;
  589. border-left-color: inherit;
  590. border-radius: 50%;
  591. -webkit-animation: load-progress-spinner 0.4s linear infinite;
  592. animation: load-progress-spinner 0.4s linear infinite;
  593. }
  594. @-webkit-keyframes load-progress-spinner {
  595. 0% {
  596. -webkit-transform: rotate(0);
  597. transform: rotate(0);
  598. }
  599. 100% {
  600. -webkit-transform: rotate(360deg);
  601. transform: rotate(360deg);
  602. }
  603. }
  604. @keyframes load-progress-spinner {
  605. 0% {
  606. -webkit-transform: rotate(0);
  607. transform: rotate(0);
  608. }
  609. 100% {
  610. -webkit-transform: rotate(360deg);
  611. transform: rotate(360deg);
  612. }
  613. }
  614. /* ==================
  615. 轮播
  616. ==================== */
  617. swiper .a-swiper-dot {
  618. display: inline-block;
  619. width: 16upx;
  620. height: 16upx;
  621. background: rgba(0, 0, 0, .3);
  622. border-radius: 50%;
  623. vertical-align: middle;
  624. }
  625. swiper[class*="-dot"] .wx-swiper-dots,
  626. swiper[class*="-dot"] .a-swiper-dots,
  627. swiper[class*="-dot"] .uni-swiper-dots {
  628. display: flex;
  629. align-items: center;
  630. width: 100%;
  631. justify-content: center;
  632. }
  633. swiper.square-dot .wx-swiper-dot,
  634. swiper.square-dot .a-swiper-dot,
  635. swiper.square-dot .uni-swiper-dot {
  636. background-color: #ffffff;
  637. opacity: 0.4;
  638. width: 10upx;
  639. height: 10upx;
  640. border-radius: 20upx;
  641. margin: 0 8upx !important;
  642. }
  643. swiper.square-dot .wx-swiper-dot.wx-swiper-dot-active,
  644. swiper.square-dot .a-swiper-dot.a-swiper-dot-active,
  645. swiper.square-dot .uni-swiper-dot.uni-swiper-dot-active {
  646. opacity: 1;
  647. width: 30upx;
  648. }
  649. swiper.round-dot .wx-swiper-dot,
  650. swiper.round-dot .a-swiper-dot,
  651. swiper.round-dot .uni-swiper-dot {
  652. width: 10upx;
  653. height: 10upx;
  654. position: relative;
  655. margin: 4upx 8upx !important;
  656. }
  657. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active::after,
  658. swiper.round-dot .a-swiper-dot.a-swiper-dot-active::after,
  659. swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active::after {
  660. content: "";
  661. position: absolute;
  662. width: 10upx;
  663. height: 10upx;
  664. top: 0upx;
  665. left: 0upx;
  666. right: 0;
  667. bottom: 0;
  668. margin: auto;
  669. background-color: #ffffff;
  670. border-radius: 20upx;
  671. }
  672. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active,
  673. swiper.round-dot .a-swiper-dot.a-swiper-dot-active,
  674. swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active {
  675. width: 18upx;
  676. height: 18upx;
  677. }
  678. .screen-swiper {
  679. min-height: 375upx;
  680. }
  681. .screen-swiper image,
  682. .screen-swiper video,
  683. .swiper-item image,
  684. .swiper-item video {
  685. width: 100%;
  686. display: block;
  687. height: 100%;
  688. margin: 0;
  689. pointer-events: none;
  690. }
  691. .card-swiper {
  692. height: 420upx !important;
  693. }
  694. .card-swiper swiper-item {
  695. width: 610upx !important;
  696. left: 70upx;
  697. box-sizing: border-box;
  698. padding: 40upx 0upx 70upx;
  699. overflow: initial;
  700. }
  701. .card-swiper swiper-item .swiper-item {
  702. width: 100%;
  703. display: block;
  704. height: 100%;
  705. border-radius: 10upx;
  706. transform: scale(0.9);
  707. transition: all 0.2s ease-in 0s;
  708. overflow: hidden;
  709. }
  710. .card-swiper swiper-item.cur .swiper-item {
  711. transform: none;
  712. transition: all 0.2s ease-in 0s;
  713. }
  714. .tower-swiper {
  715. height: 420upx;
  716. position: relative;
  717. max-width: 750upx;
  718. overflow: hidden;
  719. }
  720. .tower-swiper .tower-item {
  721. position: absolute;
  722. width: 300upx;
  723. height: 380upx;
  724. top: 0;
  725. bottom: 0;
  726. left: 50%;
  727. margin: auto;
  728. transition: all 0.2s ease-in 0s;
  729. opacity: 1;
  730. }
  731. .tower-swiper .tower-item.none {
  732. opacity: 0;
  733. }
  734. .tower-swiper .tower-item .swiper-item {
  735. width: 100%;
  736. height: 100%;
  737. border-radius: 6upx;
  738. overflow: hidden;
  739. }
  740. /* ==================
  741. 布局
  742. ==================== */
  743. /* -- flex弹性布局 -- */
  744. .flex {
  745. display: flex;
  746. }
  747. .basis-xs {
  748. flex-basis: 20%;
  749. }
  750. .basis-s {
  751. flex-basis: 25%;
  752. }
  753. .basis-m {
  754. flex-basis: 30%;
  755. }
  756. .basis-xm {
  757. flex-basis: 35%;
  758. }
  759. .basis-sm {
  760. flex-basis: 40%;
  761. }
  762. .basis-df {
  763. flex-basis: 50%;
  764. }
  765. .basis-lg {
  766. flex-basis: 60%;
  767. }
  768. .basis-l {
  769. flex-basis: 70%;
  770. }
  771. .basis-xl {
  772. flex-basis: 80%;
  773. }
  774. .flex-sub {
  775. flex: 1;
  776. }
  777. .flex-twice {
  778. flex: 2;
  779. }
  780. .flex-treble {
  781. flex: 3;
  782. }
  783. .flex-direction {
  784. flex-direction: column;
  785. }
  786. .flex-wrap {
  787. flex-wrap: wrap;
  788. }
  789. .align-start {
  790. align-items: flex-start;
  791. }
  792. .align-end {
  793. align-items: flex-end;
  794. }
  795. .align-center {
  796. align-items: center;
  797. }
  798. .align-stretch {
  799. align-items: stretch;
  800. }
  801. .self-start {
  802. align-self: flex-start;
  803. }
  804. .self-center {
  805. align-self: flex-center;
  806. }
  807. .self-end {
  808. align-self: flex-end;
  809. }
  810. .self-stretch {
  811. align-self: stretch;
  812. }
  813. .align-stretch {
  814. align-items: stretch;
  815. }
  816. .justify-start {
  817. justify-content: flex-start;
  818. }
  819. .justify-end {
  820. justify-content: flex-end;
  821. }
  822. .justify-center {
  823. justify-content: center;
  824. }
  825. .justify-between {
  826. justify-content: space-between;
  827. }
  828. .justify-around {
  829. justify-content: space-around;
  830. }
  831. /* grid布局 */
  832. .grid {
  833. display: flex;
  834. flex-wrap: wrap;
  835. }
  836. .grid.grid-square {
  837. overflow: hidden;
  838. }
  839. .grid.grid-square .cu-tag {
  840. position: absolute;
  841. right: 0;
  842. top: 0;
  843. border-bottom-left-radius: 6upx;
  844. padding: 6upx 12upx;
  845. height: auto;
  846. background-color: rgba(0, 0, 0, 0.5);
  847. }
  848. .grid.grid-square>view>text[class*="cuIcon-"] {
  849. font-size: 52upx;
  850. position: absolute;
  851. color: #8799a3;
  852. margin: auto;
  853. top: 0;
  854. bottom: 0;
  855. left: 0;
  856. right: 0;
  857. display: flex;
  858. justify-content: center;
  859. align-items: center;
  860. flex-direction: column;
  861. }
  862. .grid.grid-square>view {
  863. margin-right: 20upx;
  864. margin-bottom: 20upx;
  865. border-radius: 6upx;
  866. position: relative;
  867. overflow: hidden;
  868. }
  869. .grid.grid-square>view.bg-img image {
  870. width: 100%;
  871. height: 100%;
  872. position: absolute;
  873. }
  874. .grid.col-1.grid-square>view {
  875. padding-bottom: 100%;
  876. height: 0;
  877. margin-right: 0;
  878. }
  879. .grid.col-2.grid-square>view {
  880. padding-bottom: calc((100% - 20upx)/2);
  881. height: 0;
  882. width: calc((100% - 20upx)/2);
  883. }
  884. .grid.col-3.grid-square>view {
  885. padding-bottom: calc((100% - 40upx)/3);
  886. height: 0;
  887. width: calc((100% - 40upx)/3);
  888. }
  889. .grid.col-4.grid-square>view {
  890. padding-bottom: calc((100% - 60upx)/4);
  891. height: 0;
  892. width: calc((100% - 60upx)/4);
  893. }
  894. .grid.col-5.grid-square>view {
  895. padding-bottom: calc((100% - 80upx)/5);
  896. height: 0;
  897. width: calc((100% - 80upx)/5);
  898. }
  899. .grid.col-2.grid-square>view:nth-child(2n),
  900. .grid.col-3.grid-square>view:nth-child(3n),
  901. .grid.col-4.grid-square>view:nth-child(4n),
  902. .grid.col-5.grid-square>view:nth-child(5n) {
  903. margin-right: 0;
  904. }
  905. .grid.col-1>view {
  906. width: 100%;
  907. }
  908. .grid.col-2>view {
  909. width: 50%;
  910. }
  911. .grid.col-3>view {
  912. width: 33.33%;
  913. }
  914. .grid.col-4>view {
  915. width: 25%;
  916. }
  917. .grid.col-5>view {
  918. width: 20%;
  919. }
  920. /* -- 内外边距 -- */
  921. .margin-0 {
  922. margin: 0;
  923. }
  924. .margin-xs {
  925. margin: 10upx;
  926. }
  927. .margin-sm {
  928. margin: 20upx;
  929. }
  930. .margin {
  931. margin: 30upx;
  932. }
  933. .margin-lg {
  934. margin: 40upx;
  935. }
  936. .margin-xl {
  937. margin: 50upx;
  938. }
  939. .margin-top-xs {
  940. margin-top: 10upx;
  941. }
  942. .margin-top-sm {
  943. margin-top: 20upx;
  944. }
  945. .margin-top {
  946. margin-top: 30upx;
  947. }
  948. .margin-top-lg {
  949. margin-top: 40upx;
  950. }
  951. .margin-top-xl {
  952. margin-top: 50upx;
  953. }
  954. .margin-right-xs {
  955. margin-right: 10upx;
  956. }
  957. .margin-right-sm {
  958. margin-right: 20upx;
  959. }
  960. .margin-right {
  961. margin-right: 30upx;
  962. }
  963. .margin-right-lg {
  964. margin-right: 40upx;
  965. }
  966. .margin-right-xl {
  967. margin-right: 50upx;
  968. }
  969. .margin-bottom-xs {
  970. margin-bottom: 10upx;
  971. }
  972. .margin-bottom-sm {
  973. margin-bottom: 20upx;
  974. }
  975. .margin-bottom {
  976. margin-bottom: 30upx;
  977. }
  978. .margin-bottom-lg {
  979. margin-bottom: 40upx;
  980. }
  981. .margin-bottom-xl {
  982. margin-bottom: 50upx;
  983. }
  984. .margin-left-xs {
  985. margin-left: 10upx;
  986. }
  987. .margin-left-sm {
  988. margin-left: 20upx;
  989. }
  990. .margin-left {
  991. margin-left: 30upx;
  992. }
  993. .margin-left-lg {
  994. margin-left: 40upx;
  995. }
  996. .margin-left-xl {
  997. margin-left: 50upx;
  998. }
  999. .margin-lr-xs {
  1000. margin-left: 10upx;
  1001. margin-right: 10upx;
  1002. }
  1003. .margin-lr-sm {
  1004. margin-left: 20upx;
  1005. margin-right: 20upx;
  1006. }
  1007. .margin-lr {
  1008. margin-left: 30upx;
  1009. margin-right: 30upx;
  1010. }
  1011. .margin-lr-lg {
  1012. margin-left: 40upx;
  1013. margin-right: 40upx;
  1014. }
  1015. .margin-lr-xl {
  1016. margin-left: 50upx;
  1017. margin-right: 50upx;
  1018. }
  1019. .margin-tb-xs {
  1020. margin-top: 10upx;
  1021. margin-bottom: 10upx;
  1022. }
  1023. .margin-tb-sm {
  1024. margin-top: 20upx;
  1025. margin-bottom: 20upx;
  1026. }
  1027. .margin-tb {
  1028. margin-top: 30upx;
  1029. margin-bottom: 30upx;
  1030. }
  1031. .margin-tb-lg {
  1032. margin-top: 40upx;
  1033. margin-bottom: 40upx;
  1034. }
  1035. .margin-tb-xl {
  1036. margin-top: 50upx;
  1037. margin-bottom: 50upx;
  1038. }
  1039. .padding-0 {
  1040. padding: 0;
  1041. }
  1042. .padding-xs {
  1043. padding: 10upx;
  1044. }
  1045. .padding-sm {
  1046. padding: 20upx;
  1047. }
  1048. .padding {
  1049. padding: 30upx;
  1050. }
  1051. .padding-lg {
  1052. padding: 40upx;
  1053. }
  1054. .padding-xl {
  1055. padding: 50upx;
  1056. }
  1057. .padding-top-xs {
  1058. padding-top: 10upx;
  1059. }
  1060. .padding-top-sm {
  1061. padding-top: 20upx;
  1062. }
  1063. .padding-top {
  1064. padding-top: 30upx;
  1065. }
  1066. .padding-top-lg {
  1067. padding-top: 40upx;
  1068. }
  1069. .padding-top-xl {
  1070. padding-top: 50upx;
  1071. }
  1072. .padding-right-xs {
  1073. padding-right: 10upx;
  1074. }
  1075. .padding-right-sm {
  1076. padding-right: 20upx;
  1077. }
  1078. .padding-right {
  1079. padding-right: 30upx;
  1080. }
  1081. .padding-right-lg {
  1082. padding-right: 40upx;
  1083. }
  1084. .padding-right-xl {
  1085. padding-right: 50upx;
  1086. }
  1087. .padding-bottom-xs {
  1088. padding-bottom: 10upx;
  1089. }
  1090. .padding-bottom-sm {
  1091. padding-bottom: 20upx;
  1092. }
  1093. .padding-bottom {
  1094. padding-bottom: 30upx;
  1095. }
  1096. .padding-bottom-lg {
  1097. padding-bottom: 40upx;
  1098. }
  1099. .padding-bottom-xl {
  1100. padding-bottom: 50upx;
  1101. }
  1102. .padding-left-xs {
  1103. padding-left: 10upx;
  1104. }
  1105. .padding-left-sm {
  1106. padding-left: 20upx;
  1107. }
  1108. .padding-left {
  1109. padding-left: 30upx;
  1110. }
  1111. .padding-left-lg {
  1112. padding-left: 40upx;
  1113. }
  1114. .padding-left-xl {
  1115. padding-left: 50upx;
  1116. }
  1117. .padding-lr-xs {
  1118. padding-left: 10upx;
  1119. padding-right: 10upx;
  1120. }
  1121. .padding-lr-sm {
  1122. padding-left: 20upx;
  1123. padding-right: 20upx;
  1124. }
  1125. .padding-lr {
  1126. padding-left: 30upx;
  1127. padding-right: 30upx;
  1128. }
  1129. .padding-lr-lg {
  1130. padding-left: 40upx;
  1131. padding-right: 40upx;
  1132. }
  1133. .padding-lr-xl {
  1134. padding-left: 50upx;
  1135. padding-right: 50upx;
  1136. }
  1137. .padding-tb-xs {
  1138. padding-top: 10upx;
  1139. padding-bottom: 10upx;
  1140. }
  1141. .padding-tb-sm {
  1142. padding-top: 20upx;
  1143. padding-bottom: 20upx;
  1144. }
  1145. .padding-tb {
  1146. padding-top: 30upx;
  1147. padding-bottom: 30upx;
  1148. }
  1149. .padding-tb-lg {
  1150. padding-top: 40upx;
  1151. padding-bottom: 40upx;
  1152. }
  1153. .padding-tb-xl {
  1154. padding-top: 50upx;
  1155. padding-bottom: 50upx;
  1156. }
  1157. /* -- 浮动 -- */
  1158. .cf::after,
  1159. .cf::before {
  1160. content: " ";
  1161. display: table;
  1162. }
  1163. .cf::after {
  1164. clear: both;
  1165. }
  1166. .fl {
  1167. float: left;
  1168. }
  1169. .fr {
  1170. float: right;
  1171. }
  1172. /* ==================
  1173. 背景
  1174. ==================== */
  1175. .line-red::after,
  1176. .lines-red::after {
  1177. border-color: #e54d42;
  1178. }
  1179. .line-orange::after,
  1180. .lines-orange::after {
  1181. border-color: #f37b1d;
  1182. }
  1183. .line-yellow::after,
  1184. .lines-yellow::after {
  1185. border-color: #fbbd08;
  1186. }
  1187. .line-olive::after,
  1188. .lines-olive::after {
  1189. border-color: #8dc63f;
  1190. }
  1191. .line-green::after,
  1192. .lines-green::after {
  1193. border-color: #39b54a;
  1194. }
  1195. .line-cyan::after,
  1196. .lines-cyan::after {
  1197. border-color: #1cbbb4;
  1198. }
  1199. .line-blue::after,
  1200. .lines-blue::after {
  1201. border-color: #0081ff;
  1202. }
  1203. .line-purple::after,
  1204. .lines-purple::after {
  1205. border-color: #6739b6;
  1206. }
  1207. .line-mauve::after,
  1208. .lines-mauve::after {
  1209. border-color: #9c26b0;
  1210. }
  1211. .line-pink::after,
  1212. .lines-pink::after {
  1213. border-color: #e03997;
  1214. }
  1215. .line-brown::after,
  1216. .lines-brown::after {
  1217. border-color: #a5673f;
  1218. }
  1219. .line-grey::after,
  1220. .lines-grey::after {
  1221. border-color: #8799a3;
  1222. }
  1223. .line-gray::after,
  1224. .lines-gray::after {
  1225. border-color: #aaaaaa;
  1226. }
  1227. .line-black::after,
  1228. .lines-black::after {
  1229. border-color: #333333;
  1230. }
  1231. .line-white::after,
  1232. .lines-white::after {
  1233. border-color: #ffffff;
  1234. }
  1235. .bg-red {
  1236. background-color: #f00;
  1237. color: #ffffff;
  1238. }
  1239. .bg-orange {
  1240. background-color: #f37b1d;
  1241. color: #ffffff;
  1242. }
  1243. .bg-yellow {
  1244. background-color: #fbbd08;
  1245. color: #333333;
  1246. }
  1247. .bg-olive {
  1248. background-color: #8dc63f;
  1249. color: #ffffff;
  1250. }
  1251. .bg-green {
  1252. background-color: #06d69c;
  1253. color: #ffffff;
  1254. }
  1255. .bg-cyan {
  1256. background-color: #1cbbb4;
  1257. color: #ffffff;
  1258. }
  1259. .bg-blue {
  1260. background-color: #0081ff;
  1261. color: #ffffff;
  1262. }
  1263. .bg-purple {
  1264. background-color: #6739b6;
  1265. color: #ffffff;
  1266. }
  1267. .bg-mauve {
  1268. background-color: #9c26b0;
  1269. color: #ffffff;
  1270. }
  1271. .bg-pink {
  1272. background-color: #e03997;
  1273. color: #ffffff;
  1274. }
  1275. .bg-brown {
  1276. background-color: #fddcbd;
  1277. color: #000;
  1278. }
  1279. .bg-grey {
  1280. background-color: #e6eaea;
  1281. color: #ffffff;
  1282. }
  1283. .bg-gray {
  1284. background-color: #f4f0f0;
  1285. color: #333333;
  1286. }
  1287. .bg-darkgray {
  1288. background-color: #eee;
  1289. color: #333333;
  1290. }
  1291. .bg-lightgray {
  1292. background-color: #f9f7fa;
  1293. color: #333333;
  1294. }
  1295. .bg-black {
  1296. background-color: #333333;
  1297. color: #ffffff;
  1298. }
  1299. .bg-lightblack {
  1300. background-color: #666;
  1301. color: #ffffff;
  1302. }
  1303. .bg-darkblack {
  1304. background-color: #000;
  1305. color: #ffffff;
  1306. }
  1307. .bg-darkgrey {
  1308. background-color: #c6c6c6;
  1309. color: #ffffff;
  1310. }
  1311. .bg-white {
  1312. background-color: #ffffff;
  1313. color: #666666;
  1314. }
  1315. .bg-shadeTop {
  1316. background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
  1317. color: #ffffff;
  1318. }
  1319. .bg-shadeBottom {
  1320. background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
  1321. color: #ffffff;
  1322. }
  1323. .bg-red.light {
  1324. color: #e54d42;
  1325. background-color: #fadbd9;
  1326. }
  1327. .bg-orange.light {
  1328. color: #f37b1d;
  1329. background-color: #fde6d2;
  1330. }
  1331. .bg-yellow.light {
  1332. color: #fbbd08;
  1333. background-color: #fef2ced2;
  1334. }
  1335. .bg-olive.light {
  1336. color: #8dc63f;
  1337. background-color: #e8f4d9;
  1338. }
  1339. .bg-green.light {
  1340. color: #39b54a;
  1341. background-color: #d7f0dbff;
  1342. }
  1343. .bg-cyan.light {
  1344. color: #1cbbb4;
  1345. background-color: #d2f1f0;
  1346. }
  1347. .bg-blue.light {
  1348. color: #0081ff;
  1349. background-color: #cce6ff;
  1350. }
  1351. .bg-purple.light {
  1352. color: #6739b6;
  1353. background-color: #e1d7f0;
  1354. }
  1355. .bg-mauve.light {
  1356. color: #9c26b0;
  1357. background-color: #ebd4ef;
  1358. }
  1359. .bg-pink.light {
  1360. color: #e03997;
  1361. background-color: #f9d7ea;
  1362. }
  1363. .bg-brown.light {
  1364. color: #a5673f;
  1365. background-color: #ede1d9;
  1366. }
  1367. .bg-grey.light {
  1368. color: #8799a3;
  1369. background-color: #e7ebed;
  1370. }
  1371. .bg-gradual-red {
  1372. background-image: linear-gradient(45deg, #f43f3b, #ec008c);
  1373. color: #ffffff;
  1374. }
  1375. .bg-gradual-orange {
  1376. background-image: linear-gradient(45deg, #ff9700, #ed1c24);
  1377. color: #ffffff;
  1378. }
  1379. .bg-gradual-green {
  1380. background: linear-gradient(to bottom, #06d69c 60%,#f9f9f9 40% );
  1381. color: #ffffff;
  1382. }
  1383. .bg-gradual-purple {
  1384. background-image: linear-gradient(45deg, #9000ff, #5e00ff);
  1385. color: #ffffff;
  1386. }
  1387. .bg-gradual-pink {
  1388. background-image: linear-gradient(45deg, #ec008c, #6739b6);
  1389. color: #ffffff;
  1390. }
  1391. .bg-gradual-blue {
  1392. background-image: linear-gradient(45deg, #0081ff, #1cbbb4);
  1393. color: #ffffff;
  1394. }
  1395. .shadow[class*="-red"] {
  1396. box-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
  1397. }
  1398. .shadow[class*="-orange"] {
  1399. box-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
  1400. }
  1401. .shadow[class*="-yellow"] {
  1402. box-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
  1403. }
  1404. .shadow[class*="-olive"] {
  1405. box-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
  1406. }
  1407. .shadow[class*="-green"] {
  1408. box-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
  1409. }
  1410. .shadow[class*="-cyan"] {
  1411. box-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
  1412. }
  1413. .shadow[class*="-blue"] {
  1414. box-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
  1415. }
  1416. .shadow[class*="-purple"] {
  1417. box-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
  1418. }
  1419. .shadow[class*="-mauve"] {
  1420. box-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
  1421. }
  1422. .shadow[class*="-pink"] {
  1423. box-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
  1424. }
  1425. .shadow[class*="-brown"] {
  1426. box-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
  1427. }
  1428. .shadow[class*="-grey"] {
  1429. box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  1430. }
  1431. .shadow[class*="-gray"] {
  1432. box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  1433. }
  1434. .shadow[class*="-black"] {
  1435. box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  1436. }
  1437. .shadow-black{box-shadow: 0upx 0upx 20upx 0upx rgba(26, 26, 26, 0.1);}
  1438. .shadow[class*="-white"] {
  1439. box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  1440. }
  1441. .text-shadow[class*="-red"] {
  1442. text-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
  1443. }
  1444. .text-shadow[class*="-orange"] {
  1445. text-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
  1446. }
  1447. .text-shadow[class*="-yellow"] {
  1448. text-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
  1449. }
  1450. .text-shadow[class*="-olive"] {
  1451. text-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
  1452. }
  1453. .text-shadow[class*="-green"] {
  1454. text-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
  1455. }
  1456. .text-shadow[class*="-cyan"] {
  1457. text-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
  1458. }
  1459. .text-shadow[class*="-blue"] {
  1460. text-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
  1461. }
  1462. .text-shadow[class*="-purple"] {
  1463. text-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
  1464. }
  1465. .text-shadow[class*="-mauve"] {
  1466. text-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
  1467. }
  1468. .text-shadow[class*="-pink"] {
  1469. text-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
  1470. }
  1471. .text-shadow[class*="-brown"] {
  1472. text-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
  1473. }
  1474. .text-shadow[class*="-grey"] {
  1475. text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  1476. }
  1477. .text-shadow[class*="-gray"] {
  1478. text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  1479. }
  1480. .text-shadow[class*="-black"] {
  1481. text-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  1482. }
  1483. .bg-img {
  1484. background-size: cover;
  1485. background-position: center;
  1486. background-repeat: no-repeat;
  1487. }
  1488. .bg-mask {
  1489. background-color: #333333;
  1490. position: relative;
  1491. }
  1492. .bg-mask::after {
  1493. content: "";
  1494. border-radius: inherit;
  1495. width: 100%;
  1496. height: 100%;
  1497. display: block;
  1498. background-color: rgba(0, 0, 0, 0.4);
  1499. position: absolute;
  1500. left: 0;
  1501. right: 0;
  1502. bottom: 0;
  1503. top: 0;
  1504. }
  1505. .bg-mask view,
  1506. .bg-mask cover-view {
  1507. z-index: 5;
  1508. position: relative;
  1509. }
  1510. .bg-video {
  1511. position: relative;
  1512. }
  1513. .bg-video video {
  1514. display: block;
  1515. height: 100%;
  1516. width: 100%;
  1517. -o-object-fit: cover;
  1518. object-fit: cover;
  1519. position: absolute;
  1520. top: 0;
  1521. z-index: 0;
  1522. pointer-events: none;
  1523. }
  1524. /* ==================
  1525. 文本
  1526. ==================== */
  1527. .text-xs {
  1528. font-size: 20upx;
  1529. }
  1530. .text-sm {
  1531. font-size: 24upx;
  1532. }
  1533. .text-df {
  1534. font-size: 28upx;
  1535. }
  1536. .text-lg {
  1537. font-size: 32upx;
  1538. }
  1539. .text-xl {
  1540. font-size: 36upx;
  1541. }
  1542. .text-xxl {
  1543. font-size: 44upx;
  1544. }
  1545. .text-sl {
  1546. font-size: 80upx;
  1547. }
  1548. .text-xsl {
  1549. font-size: 120upx;
  1550. }
  1551. .text-Abc {
  1552. text-transform: Capitalize;
  1553. }
  1554. .text-ABC {
  1555. text-transform: Uppercase;
  1556. }
  1557. .text-abc {
  1558. text-transform: Lowercase;
  1559. }
  1560. .text-italic {
  1561. font-style:italic
  1562. }
  1563. .text-oblique {
  1564. font-style:oblique
  1565. }
  1566. .text-price::before {
  1567. content: "¥";
  1568. font-size: 80%;
  1569. margin-right: 4upx;
  1570. }
  1571. .text-cut {
  1572. text-overflow: ellipsis;
  1573. white-space: nowrap;
  1574. overflow: hidden;
  1575. }
  1576. .text-bold {
  1577. font-weight: bold;
  1578. }
  1579. .text-center {
  1580. text-align: center;
  1581. }
  1582. .text-content {
  1583. line-height: 1.6;
  1584. }
  1585. .text-left {
  1586. text-align: left;
  1587. }
  1588. .text-right {
  1589. text-align: right;
  1590. }
  1591. .text-red,
  1592. .line-red,
  1593. .lines-red {
  1594. color: #e54d42;
  1595. }
  1596. .text-orange,
  1597. .line-orange,
  1598. .lines-orange {
  1599. color: #f37b1d;
  1600. }
  1601. .text-yellow,
  1602. .line-yellow,
  1603. .lines-yellow {
  1604. color: #fbbd08;
  1605. }
  1606. .text-olive,
  1607. .line-olive,
  1608. .lines-olive {
  1609. color: #8dc63f;
  1610. }
  1611. .text-green,
  1612. .line-green,
  1613. .lines-green {
  1614. color: #39b54a;
  1615. }
  1616. .text-cyan,
  1617. .line-cyan,
  1618. .lines-cyan {
  1619. color: #1cbbb4;
  1620. }
  1621. .text-blue,
  1622. .line-blue,
  1623. .lines-blue {
  1624. color: #0081ff;
  1625. }
  1626. .text-purple,
  1627. .line-purple,
  1628. .lines-purple {
  1629. color: #6739b6;
  1630. }
  1631. .text-mauve,
  1632. .line-mauve,
  1633. .lines-mauve {
  1634. color: #9c26b0;
  1635. }
  1636. .text-pink,
  1637. .line-pink,
  1638. .lines-pink {
  1639. color: #e03997;
  1640. }
  1641. .text-brown,
  1642. .line-brown,
  1643. .lines-brown {
  1644. color: #a5673f;
  1645. }
  1646. .text-grey,
  1647. .line-grey,
  1648. .lines-grey {
  1649. color: #8799a3;
  1650. }
  1651. .text-gray,
  1652. .line-gray,
  1653. .lines-gray {
  1654. color: #aaaaaa;
  1655. }
  1656. .text-lightblack,
  1657. .line-lightblack,
  1658. .lines-lightblack {
  1659. color: #666;
  1660. }
  1661. .text-darkblack,
  1662. .line-darkblack,
  1663. .lines-darkblack {
  1664. color: #000;
  1665. }
  1666. .text-black,
  1667. .line-black,
  1668. .lines-black {
  1669. color: #333333;
  1670. }
  1671. .text-white,
  1672. .line-white,
  1673. .lines-white {
  1674. color: #ffffff;
  1675. }
  1676. .fixedtop{width: 100%;position: fixed;z-index: 99;top: 0upx;}
  1677. .fixed {width: 100%;padding:60upx 10upx 10upx;position: fixed;z-index: 99;top: 0upx;}
  1678. .fixedbottom{width: 100%;position: fixed;z-index: 99;bottom: 30upx;}