main.css 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087
  1. /* ==================
  2. 初始化
  3. ==================== */
  4. body {
  5. /* Color 可以自定义相关配色 */
  6. /* var属性兼容性 --> https://www.caniuse.com/#feat=css-variables */
  7. /* 标准色 */
  8. --red: #e54d42;
  9. --orange: #f37b1d;
  10. --yellow: #fbbd08;
  11. --olive: #8dc63f;
  12. --green: #39b54a;
  13. --cyan: #1cbbb4;
  14. --blue: #0081ff;
  15. --purple: #6739b6;
  16. --mauve: #9c26b0;
  17. --pink: #e03997;
  18. --brown: #a5673f;
  19. --grey: #8799a3;
  20. --black: #333333;
  21. --darkGray: #666666;
  22. --gray: #aaaaaa;
  23. --ghostWhite: #f1f1f1;
  24. --white: #ffffff;
  25. /* 浅色 */
  26. --redLight: #fadbd9;
  27. --orangeLight: #fde6d2;
  28. --yellowLight: #fef2ce;
  29. --oliveLight: #e8f4d9;
  30. --greenLight: #d7f0db;
  31. --cyanLight: #d2f1f0;
  32. --blueLight: #cce6ff;
  33. --purpleLight: #e1d7f0;
  34. --mauveLight: #ebd4ef;
  35. --pinkLight: #f9d7ea;
  36. --brownLight: #ede1d9;
  37. --greyLight: #e7ebed;
  38. /* 渐变色 */
  39. --gradualRed: linear-gradient(45deg, #f43f3b, #ec008c);
  40. --gradualOrange: linear-gradient(45deg, #ff9700, #ed1c24);
  41. --gradualGreen: linear-gradient(45deg, #39b54a, #8dc63f);
  42. --gradualPurple: linear-gradient(45deg, #9000ff, #5e00ff);
  43. --gradualPink: linear-gradient(45deg, #ec008c, #6739b6);
  44. --gradualBlue: linear-gradient(45deg, #0081ff, #1cbbb4);
  45. /* 阴影透明色 */
  46. --ShadowSize: 6upx 6upx 8upx;
  47. --redShadow: rgba(204, 69, 59, 0.2);
  48. --orangeShadow: rgba(217, 109, 26, 0.2);
  49. --yellowShadow: rgba(224, 170, 7, 0.2);
  50. --oliveShadow: rgba(124, 173, 55, 0.2);
  51. --greenShadow: rgba(48, 156, 63, 0.2);
  52. --cyanShadow: rgba(28, 187, 180, 0.2);
  53. --blueShadow: rgba(0, 102, 204, 0.2);
  54. --purpleShadow: rgba(88, 48, 156, 0.2);
  55. --mauveShadow: rgba(133, 33, 150, 0.2);
  56. --pinkShadow: rgba(199, 50, 134, 0.2);
  57. --brownShadow: rgba(140, 88, 53, 0.2);
  58. --greyShadow: rgba(114, 130, 138, 0.2);
  59. --grayShadow: rgba(114, 130, 138, 0.2);
  60. --blackShadow: rgba(26, 26, 26, 0.2);
  61. background-color: var(--ghostWhite);
  62. font-size: 28upx;
  63. color: var(--black);
  64. font-family: Helvetica Neue, Helvetica, sans-serif;
  65. }
  66. view,
  67. scroll-view,
  68. swiper,
  69. button,
  70. input,
  71. textarea,
  72. label,
  73. navigator,
  74. image {
  75. box-sizing: border-box;
  76. }
  77. .round {
  78. border-radius: 5000upx;
  79. }
  80. .radius {
  81. border-radius: 6upx;
  82. }
  83. /* ==================
  84. 图片
  85. ==================== */
  86. image {
  87. max-width: 100%;
  88. display: inline-block;
  89. position: relative;
  90. z-index: 0;
  91. }
  92. image.loading::before {
  93. content: "";
  94. background-color: #f5f5f5;
  95. display: block;
  96. position: absolute;
  97. width: 100%;
  98. height: 100%;
  99. z-index: -2;
  100. }
  101. image.loading::after {
  102. content: "\e7f1";
  103. font-family: "cuIcon";
  104. position: absolute;
  105. top: 0;
  106. left: 0;
  107. width: 32upx;
  108. height: 32upx;
  109. line-height: 32upx;
  110. right: 0;
  111. bottom: 0;
  112. z-index: -1;
  113. font-size: 32upx;
  114. margin: auto;
  115. color: #ccc;
  116. -webkit-animation: cuIcon-spin 2s infinite linear;
  117. animation: cuIcon-spin 2s infinite linear;
  118. display: block;
  119. }
  120. .response {
  121. width: 100%;
  122. }
  123. /* ==================
  124. 开关
  125. ==================== */
  126. switch,
  127. checkbox,
  128. radio {
  129. position: relative;
  130. }
  131. switch::after,
  132. switch::before {
  133. font-family: "cuIcon";
  134. content: "\e645";
  135. position: absolute;
  136. color: var(--white) !important;
  137. top: 0%;
  138. left: 0upx;
  139. font-size: 26upx;
  140. line-height: 26px;
  141. width: 50%;
  142. text-align: center;
  143. pointer-events: none;
  144. transform: scale(0, 0);
  145. transition: all 0.3s ease-in-out 0s;
  146. z-index: 9;
  147. bottom: 0;
  148. height: 26px;
  149. margin: auto;
  150. }
  151. switch::before {
  152. content: "\e646";
  153. right: 0;
  154. transform: scale(1, 1);
  155. left: auto;
  156. }
  157. switch[checked]::after,
  158. switch.checked::after {
  159. transform: scale(1, 1);
  160. }
  161. switch[checked]::before,
  162. switch.checked::before {
  163. transform: scale(0, 0);
  164. }
  165. /* #ifndef MP-ALIPAY */
  166. radio::before,
  167. checkbox::before {
  168. font-family: "cuIcon";
  169. content: "\e645";
  170. position: absolute;
  171. color: var(--white) !important;
  172. top: 50%;
  173. margin-top: -8px;
  174. right: 5px;
  175. font-size: 32upx;
  176. line-height: 16px;
  177. pointer-events: none;
  178. transform: scale(1, 1);
  179. transition: all 0.3s ease-in-out 0s;
  180. z-index: 9;
  181. }
  182. radio .wx-radio-input,
  183. checkbox .wx-checkbox-input,
  184. radio .uni-radio-input,
  185. checkbox .uni-checkbox-input {
  186. margin: 0;
  187. width: 24px;
  188. height: 24px;
  189. }
  190. checkbox.round .wx-checkbox-input,
  191. checkbox.round .uni-checkbox-input {
  192. border-radius: 100upx;
  193. }
  194. /* #endif */
  195. switch[checked]::before {
  196. transform: scale(0, 0);
  197. }
  198. switch .wx-switch-input,
  199. switch .uni-switch-input {
  200. border: none;
  201. padding: 0 24px;
  202. width: 48px;
  203. height: 26px;
  204. margin: 0;
  205. border-radius: 100upx;
  206. }
  207. switch .wx-switch-input:not([class*="bg-"]),
  208. switch .uni-switch-input:not([class*="bg-"]) {
  209. /* #ifdef H5 */
  210. background: var(--grey); /*去掉!important*/
  211. /* #endif */
  212. /* #ifndef H5 */
  213. background: var(--grey) !important;
  214. /* #endif */
  215. }
  216. switch .wx-switch-input::after,
  217. switch .uni-switch-input::after {
  218. margin: auto;
  219. width: 26px;
  220. height: 26px;
  221. border-radius: 100upx;
  222. left: 0upx;
  223. top: 0upx;
  224. bottom: 0upx;
  225. position: absolute;
  226. transform: scale(0.9, 0.9);
  227. transition: all 0.1s ease-in-out 0s;
  228. }
  229. switch .wx-switch-input.wx-switch-input-checked::after,
  230. switch .uni-switch-input.uni-switch-input-checked::after {
  231. margin: auto;
  232. left: 22px;
  233. box-shadow: none;
  234. transform: scale(0.9, 0.9);
  235. }
  236. radio-group {
  237. display: inline-block;
  238. }
  239. switch.radius .wx-switch-input::after,
  240. switch.radius .wx-switch-input,
  241. switch.radius .wx-switch-input::before,
  242. switch.radius .uni-switch-input::after,
  243. switch.radius .uni-switch-input,
  244. switch.radius .uni-switch-input::before {
  245. border-radius: 10upx;
  246. }
  247. switch .wx-switch-input::before,
  248. radio.radio::before,
  249. checkbox .wx-checkbox-input::before,
  250. radio .wx-radio-input::before,
  251. switch .uni-switch-input::before,
  252. radio.radio::before,
  253. checkbox .uni-checkbox-input::before,
  254. radio .uni-radio-input::before {
  255. display: none;
  256. }
  257. radio.radio[checked]::after,
  258. radio.radio .uni-radio-input-checked::after {
  259. content: "";
  260. background-color: transparent;
  261. display: block;
  262. position: absolute;
  263. width: 8px;
  264. height: 8px;
  265. z-index: 999;
  266. top: 0upx;
  267. left: 0upx;
  268. right: 0;
  269. bottom: 0;
  270. margin: auto;
  271. border-radius: 200upx;
  272. /* #ifndef MP */
  273. border: 7px solid var(--white) !important;
  274. /* #endif */
  275. /* #ifdef MP */
  276. border: 8px solid var(--white) !important;
  277. /* #endif */
  278. }
  279. .switch-sex::after {
  280. content: "\e71c";
  281. }
  282. .switch-sex::before {
  283. content: "\e71a";
  284. }
  285. .switch-sex .wx-switch-input,
  286. .switch-sex .uni-switch-input {
  287. background: var(--red) !important;
  288. border-color: var(--red) !important;
  289. }
  290. .switch-sex[checked] .wx-switch-input,
  291. .switch-sex.checked .uni-switch-input {
  292. background: var(--blue) !important;
  293. border-color: var(--blue) !important;
  294. }
  295. switch.red[checked] .wx-switch-input,
  296. checkbox.red[checked] .wx-checkbox-input,
  297. radio.red[checked] .wx-radio-input,
  298. switch.red.checked .uni-switch-input,
  299. checkbox.red.checked .uni-checkbox-input,
  300. radio.red.checked .uni-radio-input {
  301. border-color: var(--red) !important;
  302. }
  303. switch.orange[checked] .wx-switch-input,
  304. switch.orange.checked .uni-switch-input,
  305. checkbox.orange[checked] .wx-checkbox-input,
  306. checkbox.orange.checked .uni-checkbox-input,
  307. radio.orange[checked] .wx-radio-input,
  308. radio.orange.checked .uni-radio-input {
  309. border-color: var(--orange) !important;
  310. }
  311. switch.yellow[checked] .wx-switch-input,
  312. switch.yellow.checked .uni-switch-input,
  313. checkbox.yellow[checked] .wx-checkbox-input,
  314. checkbox.yellow.checked .uni-checkbox-input,
  315. radio.yellow[checked] .wx-radio-input,
  316. radio.yellow.checked .uni-radio-input {
  317. border-color: var(--yellow) !important;
  318. }
  319. switch.olive[checked] .wx-switch-input,
  320. switch.olive.checked .uni-switch-input,
  321. checkbox.olive[checked] .wx-checkbox-input,
  322. checkbox.olive.checked .uni-checkbox-input,
  323. radio.olive[checked] .wx-radio-input,
  324. radio.olive.checked .uni-radio-input {
  325. border-color: var(--olive) !important;
  326. }
  327. switch.green[checked] .wx-switch-input,
  328. checkbox.green[checked] .wx-checkbox-input,
  329. checkbox[checked] .wx-checkbox-input,
  330. radio.green[checked] .wx-radio-input,
  331. switch.green.checked .uni-switch-input,
  332. checkbox.green.checked .uni-checkbox-input,
  333. checkbox.checked .uni-checkbox-input,
  334. radio.green.checked .uni-radio-input,
  335. radio.checked .uni-radio-input {
  336. border-color: var(--green) !important;
  337. }
  338. switch.cyan[checked] .wx-switch-input,
  339. checkbox.cyan[checked] .wx-checkbox-input,
  340. radio.cyan[checked] .wx-radio-input,
  341. switch.cyan.checked .uni-switch-input,
  342. checkbox.cyan.checked .uni-checkbox-input,
  343. radio.cyan.checked .uni-radio-input {
  344. border-color: var(--cyan) !important;
  345. }
  346. switch.blue[checked] .wx-switch-input,
  347. checkbox.blue[checked] .wx-checkbox-input,
  348. radio.blue[checked] .wx-radio-input,
  349. switch.blue.checked .uni-switch-input,
  350. checkbox.blue.checked .uni-checkbox-input,
  351. radio.blue.checked .uni-radio-input {
  352. border-color: var(--blue) !important;
  353. }
  354. switch.purple[checked] .wx-switch-input,
  355. checkbox.purple[checked] .wx-checkbox-input,
  356. radio.purple[checked] .wx-radio-input,
  357. switch.purple.checked .uni-switch-input,
  358. checkbox.purple.checked .uni-checkbox-input,
  359. radio.purple.checked .uni-radio-input {
  360. border-color: var(--purple) !important;
  361. }
  362. switch.mauve[checked] .wx-switch-input,
  363. checkbox.mauve[checked] .wx-checkbox-input,
  364. radio.mauve[checked] .wx-radio-input,
  365. switch.mauve.checked .uni-switch-input,
  366. checkbox.mauve.checked .uni-checkbox-input,
  367. radio.mauve.checked .uni-radio-input {
  368. border-color: var(--mauve) !important;
  369. }
  370. switch.pink[checked] .wx-switch-input,
  371. checkbox.pink[checked] .wx-checkbox-input,
  372. radio.pink[checked] .wx-radio-input,
  373. switch.pink.checked .uni-switch-input,
  374. checkbox.pink.checked .uni-checkbox-input,
  375. radio.pink.checked .uni-radio-input {
  376. border-color: var(--pink) !important;
  377. }
  378. switch.brown[checked] .wx-switch-input,
  379. checkbox.brown[checked] .wx-checkbox-input,
  380. radio.brown[checked] .wx-radio-input,
  381. switch.brown.checked .uni-switch-input,
  382. checkbox.brown.checked .uni-checkbox-input,
  383. radio.brown.checked .uni-radio-input {
  384. border-color: var(--brown) !important;
  385. }
  386. switch.grey[checked] .wx-switch-input,
  387. checkbox.grey[checked] .wx-checkbox-input,
  388. radio.grey[checked] .wx-radio-input,
  389. switch.grey.checked .uni-switch-input,
  390. checkbox.grey.checked .uni-checkbox-input,
  391. radio.grey.checked .uni-radio-input {
  392. border-color: var(--grey) !important;
  393. }
  394. switch.gray[checked] .wx-switch-input,
  395. checkbox.gray[checked] .wx-checkbox-input,
  396. radio.gray[checked] .wx-radio-input,
  397. switch.gray.checked .uni-switch-input,
  398. checkbox.gray.checked .uni-checkbox-input,
  399. radio.gray.checked .uni-radio-input {
  400. border-color: var(--grey) !important;
  401. }
  402. switch.black[checked] .wx-switch-input,
  403. checkbox.black[checked] .wx-checkbox-input,
  404. radio.black[checked] .wx-radio-input,
  405. switch.black.checked .uni-switch-input,
  406. checkbox.black.checked .uni-checkbox-input,
  407. radio.black.checked .uni-radio-input {
  408. border-color: var(--black) !important;
  409. }
  410. switch.white[checked] .wx-switch-input,
  411. checkbox.white[checked] .wx-checkbox-input,
  412. radio.white[checked] .wx-radio-input,
  413. switch.white.checked .uni-switch-input,
  414. checkbox.white.checked .uni-checkbox-input,
  415. radio.white.checked .uni-radio-input {
  416. border-color: var(--white) !important;
  417. }
  418. switch.red[checked] .wx-switch-input.wx-switch-input-checked,
  419. checkbox.red[checked] .wx-checkbox-input,
  420. radio.red[checked] .wx-radio-input,
  421. switch.red.checked .uni-switch-input.uni-switch-input-checked,
  422. checkbox.red.checked .uni-checkbox-input,
  423. radio.red.checked .uni-radio-input {
  424. background-color: var(--red) !important;
  425. color: var(--white) !important;
  426. }
  427. switch.orange[checked] .wx-switch-input,
  428. checkbox.orange[checked] .wx-checkbox-input,
  429. radio.orange[checked] .wx-radio-input,
  430. switch.orange.checked .uni-switch-input,
  431. checkbox.orange.checked .uni-checkbox-input,
  432. radio.orange.checked .uni-radio-input {
  433. background-color: var(--orange) !important;
  434. color: var(--white) !important;
  435. }
  436. switch.yellow[checked] .wx-switch-input,
  437. checkbox.yellow[checked] .wx-checkbox-input,
  438. radio.yellow[checked] .wx-radio-input,
  439. switch.yellow.checked .uni-switch-input,
  440. checkbox.yellow.checked .uni-checkbox-input,
  441. radio.yellow.checked .uni-radio-input {
  442. background-color: var(--yellow) !important;
  443. color: var(--black) !important;
  444. }
  445. switch.olive[checked] .wx-switch-input,
  446. checkbox.olive[checked] .wx-checkbox-input,
  447. radio.olive[checked] .wx-radio-input,
  448. switch.olive.checked .uni-switch-input,
  449. checkbox.olive.checked .uni-checkbox-input,
  450. radio.olive.checked .uni-radio-input {
  451. background-color: var(--olive) !important;
  452. color: var(--white) !important;
  453. }
  454. switch.green[checked] .wx-switch-input,
  455. switch[checked] .wx-switch-input,
  456. checkbox.green[checked] .wx-checkbox-input,
  457. checkbox[checked] .wx-checkbox-input,
  458. radio.green[checked] .wx-radio-input,
  459. radio[checked] .wx-radio-input,
  460. switch.green.checked .uni-switch-input,
  461. switch.checked .uni-switch-input,
  462. checkbox.green.checked .uni-checkbox-input,
  463. checkbox.checked .uni-checkbox-input,
  464. radio.green.checked .uni-radio-input,
  465. radio.checked .uni-radio-input {
  466. background-color: var(--green) !important;
  467. color: var(--white) !important;
  468. }
  469. switch.cyan[checked] .wx-switch-input,
  470. checkbox.cyan[checked] .wx-checkbox-input,
  471. radio.cyan[checked] .wx-radio-input,
  472. switch.cyan.checked .uni-switch-input,
  473. checkbox.cyan.checked .uni-checkbox-input,
  474. radio.cyan.checked .uni-radio-input {
  475. background-color: var(--cyan) !important;
  476. color: var(--white) !important;
  477. }
  478. switch.blue[checked] .wx-switch-input,
  479. checkbox.blue[checked] .wx-checkbox-input,
  480. radio.blue[checked] .wx-radio-input,
  481. switch.blue.checked .uni-switch-input,
  482. checkbox.blue.checked .uni-checkbox-input,
  483. radio.blue.checked .uni-radio-input {
  484. background-color: var(--blue) !important;
  485. color: var(--white) !important;
  486. }
  487. switch.purple[checked] .wx-switch-input,
  488. checkbox.purple[checked] .wx-checkbox-input,
  489. radio.purple[checked] .wx-radio-input,
  490. switch.purple.checked .uni-switch-input,
  491. checkbox.purple.checked .uni-checkbox-input,
  492. radio.purple.checked .uni-radio-input {
  493. background-color: var(--purple) !important;
  494. color: var(--white) !important;
  495. }
  496. switch.mauve[checked] .wx-switch-input,
  497. checkbox.mauve[checked] .wx-checkbox-input,
  498. radio.mauve[checked] .wx-radio-input,
  499. switch.mauve.checked .uni-switch-input,
  500. checkbox.mauve.checked .uni-checkbox-input,
  501. radio.mauve.checked .uni-radio-input {
  502. background-color: var(--mauve) !important;
  503. color: var(--white) !important;
  504. }
  505. switch.pink[checked] .wx-switch-input,
  506. checkbox.pink[checked] .wx-checkbox-input,
  507. radio.pink[checked] .wx-radio-input,
  508. switch.pink.checked .uni-switch-input,
  509. checkbox.pink.checked .uni-checkbox-input,
  510. radio.pink.checked .uni-radio-input {
  511. background-color: var(--pink) !important;
  512. color: var(--white) !important;
  513. }
  514. switch.brown[checked] .wx-switch-input,
  515. checkbox.brown[checked] .wx-checkbox-input,
  516. radio.brown[checked] .wx-radio-input,
  517. switch.brown.checked .uni-switch-input,
  518. checkbox.brown.checked .uni-checkbox-input,
  519. radio.brown.checked .uni-radio-input {
  520. background-color: var(--brown) !important;
  521. color: var(--white) !important;
  522. }
  523. switch.grey[checked] .wx-switch-input,
  524. checkbox.grey[checked] .wx-checkbox-input,
  525. radio.grey[checked] .wx-radio-input,
  526. switch.grey.checked .uni-switch-input,
  527. checkbox.grey.checked .uni-checkbox-input,
  528. radio.grey.checked .uni-radio-input {
  529. background-color: var(--grey) !important;
  530. color: var(--white) !important;
  531. }
  532. switch.gray[checked] .wx-switch-input,
  533. checkbox.gray[checked] .wx-checkbox-input,
  534. radio.gray[checked] .wx-radio-input,
  535. switch.gray.checked .uni-switch-input,
  536. checkbox.gray.checked .uni-checkbox-input,
  537. radio.gray.checked .uni-radio-input {
  538. background-color: #f0f0f0 !important;
  539. color: var(--black) !important;
  540. }
  541. switch.black[checked] .wx-switch-input,
  542. checkbox.black[checked] .wx-checkbox-input,
  543. radio.black[checked] .wx-radio-input,
  544. switch.black.checked .uni-switch-input,
  545. checkbox.black.checked .uni-checkbox-input,
  546. radio.black.checked .uni-radio-input {
  547. background-color: var(--black) !important;
  548. color: var(--white) !important;
  549. }
  550. switch.white[checked] .wx-switch-input,
  551. checkbox.white[checked] .wx-checkbox-input,
  552. radio.white[checked] .wx-radio-input,
  553. switch.white.checked .uni-switch-input,
  554. checkbox.white.checked .uni-checkbox-input,
  555. radio.white.checked .uni-radio-input {
  556. background-color: var(--white) !important;
  557. color: var(--black) !important;
  558. }
  559. /* ==================
  560. 边框
  561. ==================== */
  562. /* -- 实线 -- */
  563. .solid,
  564. .solid-top,
  565. .solid-right,
  566. .solid-bottom,
  567. .solid-left,
  568. .solids,
  569. .solids-top,
  570. .solids-right,
  571. .solids-bottom,
  572. .solids-left,
  573. .dashed,
  574. .dashed-top,
  575. .dashed-right,
  576. .dashed-bottom,
  577. .dashed-left {
  578. position: relative;
  579. }
  580. .solid::after,
  581. .solid-top::after,
  582. .solid-right::after,
  583. .solid-bottom::after,
  584. .solid-left::after,
  585. .solids::after,
  586. .solids-top::after,
  587. .solids-right::after,
  588. .solids-bottom::after,
  589. .solids-left::after,
  590. .dashed::after,
  591. .dashed-top::after,
  592. .dashed-right::after,
  593. .dashed-bottom::after,
  594. .dashed-left::after {
  595. content: " ";
  596. width: 200%;
  597. height: 200%;
  598. position: absolute;
  599. top: 0;
  600. left: 0;
  601. border-radius: inherit;
  602. transform: scale(0.5);
  603. transform-origin: 0 0;
  604. pointer-events: none;
  605. box-sizing: border-box;
  606. }
  607. .solid::after {
  608. border: 1upx solid rgba(0, 0, 0, 0.1);
  609. }
  610. .solid-top::after {
  611. border-top: 1upx solid rgba(0, 0, 0, 0.1);
  612. }
  613. .solid-right::after {
  614. border-right: 1upx solid rgba(0, 0, 0, 0.1);
  615. }
  616. .solid-bottom::after {
  617. border-bottom: 1upx solid rgba(0, 0, 0, 0.1);
  618. }
  619. .solid-left::after {
  620. border-left: 1upx solid rgba(0, 0, 0, 0.1);
  621. }
  622. .solids::after {
  623. border: 8upx solid #eee;
  624. }
  625. .solids-top::after {
  626. border-top: 8upx solid #eee;
  627. }
  628. .solids-right::after {
  629. border-right: 8upx solid #eee;
  630. }
  631. .solids-bottom::after {
  632. border-bottom: 8upx solid #eee;
  633. }
  634. .solids-left::after {
  635. border-left: 8upx solid #eee;
  636. }
  637. /* -- 虚线 -- */
  638. .dashed::after {
  639. border: 1upx dashed #ddd;
  640. }
  641. .dashed-top::after {
  642. border-top: 1upx dashed #ddd;
  643. }
  644. .dashed-right::after {
  645. border-right: 1upx dashed #ddd;
  646. }
  647. .dashed-bottom::after {
  648. border-bottom: 1upx dashed #ddd;
  649. }
  650. .dashed-left::after {
  651. border-left: 1upx dashed #ddd;
  652. }
  653. /* -- 阴影 -- */
  654. .shadow[class*='white'] {
  655. --ShadowSize: 0 1upx 6upx;
  656. }
  657. .shadow-lg {
  658. --ShadowSize: 0upx 40upx 100upx 0upx;
  659. }
  660. .shadow-warp {
  661. position: relative;
  662. box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);
  663. }
  664. .shadow-warp:before,
  665. .shadow-warp:after {
  666. position: absolute;
  667. content: "";
  668. top: 20upx;
  669. bottom: 30upx;
  670. left: 20upx;
  671. width: 50%;
  672. box-shadow: 0 30upx 20upx rgba(0, 0, 0, 0.2);
  673. transform: rotate(-3deg);
  674. z-index: -1;
  675. }
  676. .shadow-warp:after {
  677. right: 20upx;
  678. left: auto;
  679. transform: rotate(3deg);
  680. }
  681. .shadow-blur {
  682. position: relative;
  683. }
  684. .shadow-blur::before {
  685. content: "";
  686. display: block;
  687. background: inherit;
  688. filter: blur(10upx);
  689. position: absolute;
  690. width: 100%;
  691. height: 100%;
  692. top: 10upx;
  693. left: 10upx;
  694. z-index: -1;
  695. opacity: 0.4;
  696. transform-origin: 0 0;
  697. border-radius: inherit;
  698. transform: scale(1, 1);
  699. }
  700. /* ==================
  701. 按钮
  702. ==================== */
  703. .cu-btn {
  704. position: relative;
  705. border: 0upx;
  706. display: inline-flex;
  707. align-items: center;
  708. justify-content: center;
  709. box-sizing: border-box;
  710. padding: 0 30upx;
  711. font-size: 28upx;
  712. height: 64upx;
  713. line-height: 1;
  714. text-align: center;
  715. text-decoration: none;
  716. overflow: visible;
  717. margin-left: initial;
  718. transform: translate(0upx, 0upx);
  719. margin-right: initial;
  720. }
  721. .cu-btn::after {
  722. display: none;
  723. }
  724. .cu-btn:not([class*="bg-"]) {
  725. background-color: #f0f0f0;
  726. }
  727. .cu-btn[class*="line"] {
  728. background-color: transparent;
  729. }
  730. .cu-btn[class*="line"]::after {
  731. content: " ";
  732. display: block;
  733. width: 200%;
  734. height: 200%;
  735. position: absolute;
  736. top: 0;
  737. left: 0;
  738. border: 1upx solid currentColor;
  739. transform: scale(0.5);
  740. transform-origin: 0 0;
  741. box-sizing: border-box;
  742. border-radius: 12upx;
  743. z-index: 1;
  744. pointer-events: none;
  745. }
  746. .cu-btn.round[class*="line"]::after {
  747. border-radius: 1000upx;
  748. }
  749. .cu-btn[class*="lines"]::after {
  750. border: 6upx solid currentColor;
  751. }
  752. .cu-btn[class*="bg-"]::after {
  753. display: none;
  754. }
  755. .cu-btn.sm {
  756. padding: 0 20upx;
  757. font-size: 20upx;
  758. height: 48upx;
  759. }
  760. .cu-btn.lg {
  761. padding: 0 40upx;
  762. font-size: 32upx;
  763. height: 80upx;
  764. }
  765. .cu-btn.icon.sm {
  766. width: 48upx;
  767. height: 48upx;
  768. }
  769. .cu-btn.icon {
  770. width: 64upx;
  771. height: 64upx;
  772. border-radius: 500upx;
  773. padding: 0;
  774. }
  775. button.icon.lg {
  776. width: 80upx;
  777. height: 80upx;
  778. }
  779. .cu-btn.shadow-blur::before {
  780. top: 4upx;
  781. left: 4upx;
  782. filter: blur(6upx);
  783. opacity: 0.6;
  784. }
  785. .cu-btn.button-hover {
  786. transform: translate(1upx, 1upx);
  787. }
  788. .block {
  789. display: block;
  790. }
  791. .cu-btn.block {
  792. display: flex;
  793. }
  794. .cu-btn[disabled] {
  795. opacity: 0.6;
  796. color: var(--white);
  797. }
  798. /* ==================
  799. 徽章
  800. ==================== */
  801. .cu-tag {
  802. font-size: 24upx;
  803. vertical-align: middle;
  804. position: relative;
  805. display: inline-flex;
  806. align-items: center;
  807. justify-content: center;
  808. box-sizing: border-box;
  809. padding: 0upx 16upx;
  810. height: 48upx;
  811. font-family: Helvetica Neue, Helvetica, sans-serif;
  812. white-space: nowrap;
  813. }
  814. .cu-tag:not([class*="bg"]):not([class*="line"]) {
  815. background-color: var(--ghostWhite);
  816. }
  817. .cu-tag[class*="line-"]::after {
  818. content: " ";
  819. width: 200%;
  820. height: 200%;
  821. position: absolute;
  822. top: 0;
  823. left: 0;
  824. border: 1upx solid currentColor;
  825. transform: scale(0.5);
  826. transform-origin: 0 0;
  827. box-sizing: border-box;
  828. border-radius: inherit;
  829. z-index: 1;
  830. pointer-events: none;
  831. }
  832. .cu-tag.radius[class*="line"]::after {
  833. border-radius: 12upx;
  834. }
  835. .cu-tag.round[class*="line"]::after {
  836. border-radius: 1000upx;
  837. }
  838. .cu-tag[class*="line-"]::after {
  839. border-radius: 0;
  840. }
  841. .cu-tag+.cu-tag {
  842. margin-left: 10upx;
  843. }
  844. .cu-tag.sm {
  845. font-size: 20upx;
  846. padding: 0upx 12upx;
  847. height: 32upx;
  848. }
  849. .cu-capsule {
  850. display: inline-flex;
  851. vertical-align: middle;
  852. }
  853. .cu-capsule+.cu-capsule {
  854. margin-left: 10upx;
  855. }
  856. .cu-capsule .cu-tag {
  857. margin: 0;
  858. }
  859. .cu-capsule .cu-tag[class*="line-"]:last-child::after {
  860. border-left: 0upx solid transparent;
  861. }
  862. .cu-capsule .cu-tag[class*="line-"]:first-child::after {
  863. border-right: 0upx solid transparent;
  864. }
  865. .cu-capsule.radius .cu-tag:first-child {
  866. border-top-left-radius: 6upx;
  867. border-bottom-left-radius: 6upx;
  868. }
  869. .cu-capsule.radius .cu-tag:last-child::after,
  870. .cu-capsule.radius .cu-tag[class*="line-"] {
  871. border-top-right-radius: 12upx;
  872. border-bottom-right-radius: 12upx;
  873. }
  874. .cu-capsule.round .cu-tag:first-child {
  875. border-top-left-radius: 200upx;
  876. border-bottom-left-radius: 200upx;
  877. text-indent: 4upx;
  878. }
  879. .cu-capsule.round .cu-tag:last-child::after,
  880. .cu-capsule.round .cu-tag:last-child {
  881. border-top-right-radius: 200upx;
  882. border-bottom-right-radius: 200upx;
  883. text-indent: -4upx;
  884. }
  885. .cu-tag.badge {
  886. border-radius: 200upx;
  887. position: absolute;
  888. top: -10upx;
  889. right: -10upx;
  890. font-size: 20upx;
  891. padding: 0upx 10upx;
  892. height: 28upx;
  893. color: var(--white);
  894. }
  895. .cu-tag.badge:not([class*="bg-"]) {
  896. background-color: #dd514c;
  897. }
  898. .cu-tag:empty:not([class*="cuIcon-"]) {
  899. padding: 0upx;
  900. width: 16upx;
  901. height: 16upx;
  902. top: -4upx;
  903. right: -4upx;
  904. }
  905. .cu-tag[class*="cuIcon-"] {
  906. width: 32upx;
  907. height: 32upx;
  908. top: -4upx;
  909. right: -4upx;
  910. }
  911. /* ==================
  912. 头像
  913. ==================== */
  914. .cu-avatar {
  915. font-variant: small-caps;
  916. margin: 0;
  917. padding: 0;
  918. display: inline-flex;
  919. text-align: center;
  920. justify-content: center;
  921. align-items: center;
  922. background-color: #ccc;
  923. color: var(--white);
  924. white-space: nowrap;
  925. position: relative;
  926. width: 64upx;
  927. height: 64upx;
  928. background-size: cover;
  929. background-position: center;
  930. vertical-align: middle;
  931. font-size: 1.5em;
  932. }
  933. .cu-avatar.sm {
  934. width: 48upx;
  935. height: 48upx;
  936. font-size: 1em;
  937. }
  938. .cu-avatar.lg {
  939. width: 96upx;
  940. height: 96upx;
  941. font-size: 2em;
  942. }
  943. .cu-avatar.xl {
  944. width: 128upx;
  945. height: 128upx;
  946. font-size: 2.5em;
  947. }
  948. .cu-avatar .avatar-text {
  949. font-size: 0.4em;
  950. }
  951. .cu-avatar-group {
  952. direction: rtl;
  953. unicode-bidi: bidi-override;
  954. padding: 0 10upx 0 40upx;
  955. display: inline-block;
  956. }
  957. .cu-avatar-group .cu-avatar {
  958. margin-left: -30upx;
  959. border: 4upx solid var(--ghostWhite);
  960. vertical-align: middle;
  961. }
  962. .cu-avatar-group .cu-avatar.sm {
  963. margin-left: -20upx;
  964. border: 1upx solid var(--ghostWhite);
  965. }
  966. /* ==================
  967. 进度条
  968. ==================== */
  969. .cu-progress {
  970. overflow: hidden;
  971. height: 28upx;
  972. background-color: #ebeef5;
  973. display: inline-flex;
  974. align-items: center;
  975. width: 100%;
  976. }
  977. .cu-progress+view,
  978. .cu-progress+text {
  979. line-height: 1;
  980. }
  981. .cu-progress.xs {
  982. height: 10upx;
  983. }
  984. .cu-progress.sm {
  985. height: 20upx;
  986. }
  987. .cu-progress view {
  988. width: 0;
  989. height: 100%;
  990. align-items: center;
  991. display: flex;
  992. justify-items: flex-end;
  993. justify-content: space-around;
  994. font-size: 20upx;
  995. color: var(--white);
  996. transition: width 0.6s ease;
  997. }
  998. .cu-progress text {
  999. align-items: center;
  1000. display: flex;
  1001. font-size: 20upx;
  1002. color: var(--black);
  1003. text-indent: 10upx;
  1004. }
  1005. .cu-progress.text-progress {
  1006. padding-right: 60upx;
  1007. }
  1008. .cu-progress.striped view {
  1009. background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  1010. background-size: 72upx 72upx;
  1011. }
  1012. .cu-progress.active view {
  1013. animation: progress-stripes 2s linear infinite;
  1014. }
  1015. @keyframes progress-stripes {
  1016. from {
  1017. background-position: 72upx 0;
  1018. }
  1019. to {
  1020. background-position: 0 0;
  1021. }
  1022. }
  1023. /* ==================
  1024. 加载
  1025. ==================== */
  1026. .cu-load {
  1027. display: block;
  1028. line-height: 3em;
  1029. text-align: center;
  1030. }
  1031. .cu-load::before {
  1032. font-family: "cuIcon";
  1033. display: inline-block;
  1034. margin-right: 6upx;
  1035. }
  1036. .cu-load.loading::before {
  1037. content: "\e67a";
  1038. animation: cuIcon-spin 2s infinite linear;
  1039. }
  1040. .cu-load.loading::after {
  1041. content: "加载中...";
  1042. }
  1043. .cu-load.over::before {
  1044. content: "\e64a";
  1045. }
  1046. .cu-load.over::after {
  1047. content: "没有更多了";
  1048. }
  1049. .cu-load.erro::before {
  1050. content: "\e658";
  1051. }
  1052. .cu-load.erro::after {
  1053. content: "加载失败";
  1054. }
  1055. .cu-load.load-icon::before {
  1056. font-size: 32upx;
  1057. }
  1058. .cu-load.load-icon::after {
  1059. display: none;
  1060. }
  1061. .cu-load.load-icon.over {
  1062. display: none;
  1063. }
  1064. .cu-load.load-modal {
  1065. position: fixed;
  1066. top: 0;
  1067. right: 0;
  1068. bottom: 140upx;
  1069. left: 0;
  1070. margin: auto;
  1071. width: 260upx;
  1072. height: 260upx;
  1073. background-color: var(--white);
  1074. border-radius: 10upx;
  1075. box-shadow: 0 0 0upx 2000upx rgba(0, 0, 0, 0.5);
  1076. display: flex;
  1077. align-items: center;
  1078. flex-direction: column;
  1079. justify-content: center;
  1080. font-size: 28upx;
  1081. z-index: 9999;
  1082. line-height: 2.4em;
  1083. }
  1084. .cu-load.load-modal [class*="cuIcon-"] {
  1085. font-size: 60upx;
  1086. }
  1087. .cu-load.load-modal image {
  1088. width: 70upx;
  1089. height: 70upx;
  1090. }
  1091. .cu-load.load-modal::after {
  1092. content: "";
  1093. position: absolute;
  1094. background-color: var(--white);
  1095. border-radius: 50%;
  1096. width: 200upx;
  1097. height: 200upx;
  1098. font-size: 10px;
  1099. border-top: 6upx solid rgba(0, 0, 0, 0.05);
  1100. border-right: 6upx solid rgba(0, 0, 0, 0.05);
  1101. border-bottom: 6upx solid rgba(0, 0, 0, 0.05);
  1102. border-left: 6upx solid var(--orange);
  1103. animation: cuIcon-spin 1s infinite linear;
  1104. z-index: -1;
  1105. }
  1106. .load-progress {
  1107. pointer-events: none;
  1108. top: 0;
  1109. position: fixed;
  1110. width: 100%;
  1111. left: 0;
  1112. z-index: 2000;
  1113. }
  1114. .load-progress.hide {
  1115. display: none;
  1116. }
  1117. .load-progress .load-progress-bar {
  1118. position: relative;
  1119. width: 100%;
  1120. height: 4upx;
  1121. overflow: hidden;
  1122. transition: all 200ms ease 0s;
  1123. }
  1124. .load-progress .load-progress-spinner {
  1125. position: absolute;
  1126. top: 10upx;
  1127. right: 10upx;
  1128. z-index: 2000;
  1129. display: block;
  1130. }
  1131. .load-progress .load-progress-spinner::after {
  1132. content: "";
  1133. display: block;
  1134. width: 24upx;
  1135. height: 24upx;
  1136. -webkit-box-sizing: border-box;
  1137. box-sizing: border-box;
  1138. border: solid 4upx transparent;
  1139. border-top-color: inherit;
  1140. border-left-color: inherit;
  1141. border-radius: 50%;
  1142. -webkit-animation: load-progress-spinner 0.4s linear infinite;
  1143. animation: load-progress-spinner 0.4s linear infinite;
  1144. }
  1145. @-webkit-keyframes load-progress-spinner {
  1146. 0% {
  1147. -webkit-transform: rotate(0);
  1148. transform: rotate(0);
  1149. }
  1150. 100% {
  1151. -webkit-transform: rotate(360deg);
  1152. transform: rotate(360deg);
  1153. }
  1154. }
  1155. @keyframes load-progress-spinner {
  1156. 0% {
  1157. -webkit-transform: rotate(0);
  1158. transform: rotate(0);
  1159. }
  1160. 100% {
  1161. -webkit-transform: rotate(360deg);
  1162. transform: rotate(360deg);
  1163. }
  1164. }
  1165. /* ==================
  1166. 列表
  1167. ==================== */
  1168. .grayscale {
  1169. filter: grayscale(1);
  1170. }
  1171. .cu-list+.cu-list {
  1172. margin-top: 30upx
  1173. }
  1174. .cu-list>.cu-item {
  1175. transition: all .6s ease-in-out 0s;
  1176. transform: translateX(0upx)
  1177. }
  1178. .cu-list>.cu-item.move-cur {
  1179. transform: translateX(-260upx)
  1180. }
  1181. .cu-list>.cu-item .move {
  1182. position: absolute;
  1183. right: 0;
  1184. display: flex;
  1185. width: 260upx;
  1186. height: 100%;
  1187. transform: translateX(100%)
  1188. }
  1189. .cu-list>.cu-item .move view {
  1190. display: flex;
  1191. flex: 1;
  1192. justify-content: center;
  1193. align-items: center
  1194. }
  1195. .cu-list.menu-avatar {
  1196. overflow: hidden;
  1197. }
  1198. .cu-list.menu-avatar>.cu-item {
  1199. position: relative;
  1200. display: flex;
  1201. padding-right: 10upx;
  1202. height: 140upx;
  1203. background-color: var(--white);
  1204. justify-content: flex-end;
  1205. align-items: center
  1206. }
  1207. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  1208. position: absolute;
  1209. left: 30upx
  1210. }
  1211. .cu-list.menu-avatar>.cu-item .flex .text-cut {
  1212. max-width: 510upx
  1213. }
  1214. .cu-list.menu-avatar>.cu-item .content {
  1215. position: absolute;
  1216. left: 146upx;
  1217. width: calc(100% - 96upx - 60upx - 120upx - 20upx);
  1218. line-height: 1.6em;
  1219. }
  1220. .cu-list.menu-avatar>.cu-item .content.flex-sub {
  1221. width: calc(100% - 96upx - 60upx - 20upx);
  1222. }
  1223. .cu-list.menu-avatar>.cu-item .content>view:first-child {
  1224. font-size: 30upx;
  1225. display: flex;
  1226. align-items: center
  1227. }
  1228. .cu-list.menu-avatar>.cu-item .content .cu-tag.sm {
  1229. display: inline-block;
  1230. margin-left: 10upx;
  1231. height: 28upx;
  1232. font-size: 16upx;
  1233. line-height: 32upx
  1234. }
  1235. .cu-list.menu-avatar>.cu-item .action {
  1236. width: 100upx;
  1237. text-align: center
  1238. }
  1239. .cu-list.menu-avatar>.cu-item .action view+view {
  1240. margin-top: 10upx
  1241. }
  1242. .cu-list.menu-avatar.comment>.cu-item .content {
  1243. position: relative;
  1244. left: 0;
  1245. width: auto;
  1246. flex: 1;
  1247. }
  1248. .cu-list.menu-avatar.comment>.cu-item {
  1249. padding: 30upx 30upx 30upx 120upx;
  1250. height: auto
  1251. }
  1252. .cu-list.menu-avatar.comment .cu-avatar {
  1253. align-self: flex-start
  1254. }
  1255. .cu-list.menu>.cu-item {
  1256. position: relative;
  1257. display: flex;
  1258. padding: 0 30upx;
  1259. min-height: 100upx;
  1260. background-color: var(--white);
  1261. justify-content: space-between;
  1262. align-items: center
  1263. }
  1264. .cu-list.menu>.cu-item:last-child:after {
  1265. border: none
  1266. }
  1267. .cu-list.menu>.cu-item:after {
  1268. position: absolute;
  1269. top: 0;
  1270. left: 0;
  1271. box-sizing: border-box;
  1272. width: 200%;
  1273. height: 200%;
  1274. border-bottom: 1upx solid #ddd;
  1275. border-radius: inherit;
  1276. content: " ";
  1277. transform: scale(.5);
  1278. transform-origin: 0 0;
  1279. pointer-events: none
  1280. }
  1281. .cu-list.menu>.cu-item.grayscale {
  1282. background-color: #f5f5f5
  1283. }
  1284. .cu-list.menu>.cu-item.cur {
  1285. background-color: #fcf7e9
  1286. }
  1287. .cu-list.menu>.cu-item.arrow {
  1288. padding-right: 90upx
  1289. }
  1290. .cu-list.menu>.cu-item.arrow:before {
  1291. position: absolute;
  1292. top: 0;
  1293. right: 30upx;
  1294. bottom: 0;
  1295. display: block;
  1296. margin: auto;
  1297. width: 30upx;
  1298. height: 30upx;
  1299. color: var(--grey);
  1300. content: "\e6a3";
  1301. text-align: center;
  1302. font-size: 34upx;
  1303. font-family: cuIcon;
  1304. line-height: 30upx
  1305. }
  1306. .cu-list.menu>.cu-item button.content {
  1307. padding: 0;
  1308. background-color: transparent;
  1309. justify-content: flex-start
  1310. }
  1311. .cu-list.menu>.cu-item button.content:after {
  1312. display: none
  1313. }
  1314. .cu-list.menu>.cu-item .cu-avatar-group .cu-avatar {
  1315. border-color: var(--white)
  1316. }
  1317. .cu-list.menu>.cu-item .content>view:first-child {
  1318. display: flex;
  1319. align-items: center
  1320. }
  1321. .cu-list.menu>.cu-item .content>text[class*=cuIcon] {
  1322. display: inline-block;
  1323. margin-right: 10upx;
  1324. width: 1.6em;
  1325. text-align: center
  1326. }
  1327. .cu-list.menu>.cu-item .content>image {
  1328. display: inline-block;
  1329. margin-right: 10upx;
  1330. width: 1.6em;
  1331. height: 1.6em;
  1332. vertical-align: middle
  1333. }
  1334. .cu-list.menu>.cu-item .content {
  1335. font-size: 30upx;
  1336. line-height: 1.6em;
  1337. flex: 1
  1338. }
  1339. .cu-list.menu>.cu-item .content .cu-tag.sm {
  1340. display: inline-block;
  1341. margin-left: 10upx;
  1342. height: 28upx;
  1343. font-size: 16upx;
  1344. line-height: 32upx
  1345. }
  1346. .cu-list.menu>.cu-item .action .cu-tag:empty {
  1347. right: 10upx
  1348. }
  1349. .cu-list.menu {
  1350. display: block;
  1351. overflow: hidden
  1352. }
  1353. .cu-list.menu.sm-border>.cu-item:after {
  1354. left: 30upx;
  1355. width: calc(200% - 120upx)
  1356. }
  1357. .cu-list.grid>.cu-item {
  1358. position: relative;
  1359. display: flex;
  1360. padding: 20upx 0 30upx;
  1361. transition-duration: 0s;
  1362. flex-direction: column
  1363. }
  1364. .cu-list.grid>.cu-item:after {
  1365. position: absolute;
  1366. top: 0;
  1367. left: 0;
  1368. box-sizing: border-box;
  1369. width: 200%;
  1370. height: 200%;
  1371. border-right: 1px solid rgba(0, 0, 0, .1);
  1372. border-bottom: 1px solid rgba(0, 0, 0, .1);
  1373. border-radius: inherit;
  1374. content: " ";
  1375. transform: scale(.5);
  1376. transform-origin: 0 0;
  1377. pointer-events: none
  1378. }
  1379. .cu-list.grid>.cu-item text {
  1380. display: block;
  1381. margin-top: 10upx;
  1382. color: #888;
  1383. font-size: 26upx;
  1384. line-height: 40upx
  1385. }
  1386. .cu-list.grid>.cu-item [class*=cuIcon] {
  1387. position: relative;
  1388. display: block;
  1389. margin-top: 20upx;
  1390. width: 100%;
  1391. font-size: 48upx
  1392. }
  1393. .cu-list.grid>.cu-item .cu-tag {
  1394. right: auto;
  1395. left: 50%;
  1396. margin-left: 20upx
  1397. }
  1398. .cu-list.grid {
  1399. background-color: var(--white);
  1400. text-align: center
  1401. }
  1402. .cu-list.grid.no-border>.cu-item {
  1403. padding-top: 10upx;
  1404. padding-bottom: 20upx
  1405. }
  1406. .cu-list.grid.no-border>.cu-item:after {
  1407. border: none
  1408. }
  1409. .cu-list.grid.no-border {
  1410. padding: 20upx 10upx
  1411. }
  1412. .cu-list.grid.col-3>.cu-item:nth-child(3n):after,
  1413. .cu-list.grid.col-4>.cu-item:nth-child(4n):after,
  1414. .cu-list.grid.col-5>.cu-item:nth-child(5n):after {
  1415. border-right-width: 0
  1416. }
  1417. .cu-list.card-menu {
  1418. overflow: hidden;
  1419. margin-right: 30upx;
  1420. margin-left: 30upx;
  1421. border-radius: 20upx
  1422. }
  1423. /* ==================
  1424. 操作条
  1425. ==================== */
  1426. .cu-bar {
  1427. display: flex;
  1428. position: relative;
  1429. align-items: center;
  1430. min-height: 100upx;
  1431. justify-content: space-between;
  1432. }
  1433. .cu-bar .action {
  1434. display: flex;
  1435. align-items: center;
  1436. height: 100%;
  1437. justify-content: center;
  1438. max-width: 100%;
  1439. }
  1440. .cu-bar .action.border-title {
  1441. position: relative;
  1442. top: -10upx;
  1443. }
  1444. .cu-bar .action.border-title text[class*="bg-"]:last-child {
  1445. position: absolute;
  1446. bottom: -0.5rem;
  1447. min-width: 2rem;
  1448. height: 6upx;
  1449. left: 0;
  1450. }
  1451. .cu-bar .action.sub-title {
  1452. position: relative;
  1453. top: -0.2rem;
  1454. }
  1455. .cu-bar .action.sub-title text {
  1456. position: relative;
  1457. z-index: 1;
  1458. }
  1459. .cu-bar .action.sub-title text[class*="bg-"]:last-child {
  1460. position: absolute;
  1461. display: inline-block;
  1462. bottom: -0.2rem;
  1463. border-radius: 6upx;
  1464. width: 100%;
  1465. height: 0.6rem;
  1466. left: 0.6rem;
  1467. opacity: 0.3;
  1468. z-index: 0;
  1469. }
  1470. .cu-bar .action.sub-title text[class*="text-"]:last-child {
  1471. position: absolute;
  1472. display: inline-block;
  1473. bottom: -0.7rem;
  1474. left: 0.5rem;
  1475. opacity: 0.2;
  1476. z-index: 0;
  1477. text-align: right;
  1478. font-weight: 900;
  1479. font-size: 36upx;
  1480. }
  1481. .cu-bar.justify-center .action.border-title text:last-child,
  1482. .cu-bar.justify-center .action.sub-title text:last-child {
  1483. left: 0;
  1484. right: 0;
  1485. margin: auto;
  1486. text-align: center;
  1487. }
  1488. .cu-bar .action:first-child {
  1489. margin-left: 30upx;
  1490. font-size: 30upx;
  1491. }
  1492. .cu-bar .action text.text-cut {
  1493. text-align: left;
  1494. width: 100%;
  1495. }
  1496. .cu-bar .cu-avatar:first-child {
  1497. margin-left: 20upx;
  1498. }
  1499. .cu-bar .action:first-child>text[class*="cuIcon-"] {
  1500. margin-left: -0.3em;
  1501. margin-right: 0.3em;
  1502. }
  1503. .cu-bar .action:last-child {
  1504. margin-right: 30upx;
  1505. }
  1506. .cu-bar .action>text[class*="cuIcon-"],
  1507. .cu-bar .action>view[class*="cuIcon-"] {
  1508. font-size: 36upx;
  1509. }
  1510. .cu-bar .action>text[class*="cuIcon-"]+text[class*="cuIcon-"] {
  1511. margin-left: 0.5em;
  1512. }
  1513. .cu-bar .content {
  1514. position: absolute;
  1515. text-align: center;
  1516. width: calc(100% - 340upx);
  1517. left: 0;
  1518. right: 0;
  1519. bottom: 0;
  1520. top: 0;
  1521. margin: auto;
  1522. height: 60upx;
  1523. font-size: 32upx;
  1524. line-height: 60upx;
  1525. cursor: none;
  1526. pointer-events: none;
  1527. text-overflow: ellipsis;
  1528. white-space: nowrap;
  1529. overflow: hidden;
  1530. }
  1531. .cu-bar.ios .content {
  1532. bottom: 7px;
  1533. height: 30px;
  1534. font-size: 32upx;
  1535. line-height: 30px;
  1536. }
  1537. .cu-bar.btn-group {
  1538. justify-content: space-around;
  1539. }
  1540. .cu-bar.btn-group button {
  1541. padding: 20upx 32upx;
  1542. }
  1543. .cu-bar.btn-group button {
  1544. flex: 1;
  1545. margin: 0 20upx;
  1546. max-width: 50%;
  1547. }
  1548. .cu-bar .search-form {
  1549. background-color: #f5f5f5;
  1550. line-height: 64upx;
  1551. height: 64upx;
  1552. font-size: 24upx;
  1553. color: var(--black);
  1554. flex: 1;
  1555. display: flex;
  1556. align-items: center;
  1557. margin: 0 30upx;
  1558. }
  1559. .cu-bar .search-form+.action {
  1560. margin-right: 30upx;
  1561. }
  1562. .cu-bar .search-form input {
  1563. flex: 1;
  1564. padding-right: 30upx;
  1565. height: 64upx;
  1566. line-height: 64upx;
  1567. font-size: 26upx;
  1568. background-color: transparent;
  1569. }
  1570. .cu-bar .search-form [class*="cuIcon-"] {
  1571. margin: 0 0.5em 0 0.8em;
  1572. }
  1573. .cu-bar .search-form [class*="cuIcon-"]::before {
  1574. top: 0upx;
  1575. }
  1576. .cu-bar.fixed,
  1577. .nav.fixed {
  1578. position: fixed;
  1579. width: 100%;
  1580. top: 0;
  1581. z-index: 1024;
  1582. box-shadow: 0 1upx 6upx rgba(0, 0, 0, 0.1);
  1583. }
  1584. .cu-bar.foot {
  1585. position: fixed;
  1586. width: 100%;
  1587. bottom: 0;
  1588. z-index: 1024;
  1589. box-shadow: 0 -1upx 6upx rgba(0, 0, 0, 0.1);
  1590. }
  1591. .cu-bar.tabbar {
  1592. padding: 0;
  1593. height: calc(100upx + env(safe-area-inset-bottom) / 2);
  1594. padding-bottom: calc(env(safe-area-inset-bottom) / 2);
  1595. }
  1596. .cu-tabbar-height {
  1597. min-height: 100upx;
  1598. height: calc(100upx + env(safe-area-inset-bottom) / 2);
  1599. }
  1600. .cu-bar.tabbar.shadow {
  1601. box-shadow: 0 -1upx 6upx rgba(0, 0, 0, 0.1);
  1602. }
  1603. .cu-bar.tabbar .action {
  1604. font-size: 22upx;
  1605. position: relative;
  1606. flex: 1;
  1607. text-align: center;
  1608. padding: 0;
  1609. display: block;
  1610. height: auto;
  1611. line-height: 1;
  1612. margin: 0;
  1613. background-color: inherit;
  1614. overflow: initial;
  1615. }
  1616. .cu-bar.tabbar.shop .action {
  1617. width: 140upx;
  1618. flex: initial;
  1619. }
  1620. .cu-bar.tabbar .action.add-action {
  1621. position: relative;
  1622. z-index: 2;
  1623. padding-top: 50upx;
  1624. }
  1625. .cu-bar.tabbar .action.add-action [class*="cuIcon-"] {
  1626. position: absolute;
  1627. width: 70upx;
  1628. z-index: 2;
  1629. height: 70upx;
  1630. border-radius: 50%;
  1631. line-height: 70upx;
  1632. font-size: 50upx;
  1633. top: -35upx;
  1634. left: 0;
  1635. right: 0;
  1636. margin: auto;
  1637. padding: 0;
  1638. }
  1639. .cu-bar.tabbar .action.add-action::after {
  1640. content: "";
  1641. position: absolute;
  1642. width: 100upx;
  1643. height: 100upx;
  1644. top: -50upx;
  1645. left: 0;
  1646. right: 0;
  1647. margin: auto;
  1648. box-shadow: 0 -3upx 8upx rgba(0, 0, 0, 0.08);
  1649. border-radius: 50upx;
  1650. background-color: inherit;
  1651. z-index: 0;
  1652. }
  1653. .cu-bar.tabbar .action.add-action::before {
  1654. content: "";
  1655. position: absolute;
  1656. width: 100upx;
  1657. height: 30upx;
  1658. bottom: 30upx;
  1659. left: 0;
  1660. right: 0;
  1661. margin: auto;
  1662. background-color: inherit;
  1663. z-index: 1;
  1664. }
  1665. .cu-bar.tabbar .btn-group {
  1666. flex: 1;
  1667. display: flex;
  1668. justify-content: space-around;
  1669. align-items: center;
  1670. padding: 0 10upx;
  1671. }
  1672. .cu-bar.tabbar button.action::after {
  1673. border: 0;
  1674. }
  1675. .cu-bar.tabbar .action [class*="cuIcon-"] {
  1676. width: 100upx;
  1677. position: relative;
  1678. display: block;
  1679. height: auto;
  1680. margin: 0 auto 10upx;
  1681. text-align: center;
  1682. font-size: 40upx;
  1683. }
  1684. .cu-bar.tabbar .action .cuIcon-cu-image {
  1685. margin: 0 auto;
  1686. }
  1687. .cu-bar.tabbar .action .cuIcon-cu-image image {
  1688. width: 50upx;
  1689. height: 50upx;
  1690. display: inline-block;
  1691. }
  1692. .cu-bar.tabbar .submit {
  1693. align-items: center;
  1694. display: flex;
  1695. justify-content: center;
  1696. text-align: center;
  1697. position: relative;
  1698. flex: 2;
  1699. align-self: stretch;
  1700. }
  1701. .cu-bar.tabbar .submit:last-child {
  1702. flex: 2.6;
  1703. }
  1704. .cu-bar.tabbar .submit+.submit {
  1705. flex: 2;
  1706. }
  1707. .cu-bar.tabbar.border .action::before {
  1708. content: " ";
  1709. width: 200%;
  1710. height: 200%;
  1711. position: absolute;
  1712. top: 0;
  1713. left: 0;
  1714. transform: scale(0.5);
  1715. transform-origin: 0 0;
  1716. border-right: 1upx solid rgba(0, 0, 0, 0.1);
  1717. z-index: 3;
  1718. }
  1719. .cu-bar.tabbar.border .action:last-child:before {
  1720. display: none;
  1721. }
  1722. .cu-bar.input {
  1723. padding-right: 20upx;
  1724. background-color: var(--white);
  1725. }
  1726. .cu-bar.input input {
  1727. overflow: initial;
  1728. line-height: 64upx;
  1729. height: 64upx;
  1730. min-height: 64upx;
  1731. flex: 1;
  1732. font-size: 30upx;
  1733. margin: 0 20upx;
  1734. }
  1735. .cu-bar.input .action {
  1736. margin-left: 20upx;
  1737. }
  1738. .cu-bar.input .action [class*="cuIcon-"] {
  1739. font-size: 48upx;
  1740. }
  1741. .cu-bar.input input+.action {
  1742. margin-right: 20upx;
  1743. margin-left: 0upx;
  1744. }
  1745. .cu-bar.input .action:first-child [class*="cuIcon-"] {
  1746. margin-left: 0upx;
  1747. }
  1748. .cu-custom {
  1749. display: block;
  1750. position: relative;
  1751. }
  1752. .cu-custom .cu-bar .content {
  1753. width: calc(100% - 440upx);
  1754. }
  1755. /* #ifdef MP-ALIPAY */
  1756. .cu-custom .cu-bar .action .cuIcon-back {
  1757. opacity: 0;
  1758. }
  1759. /* #endif */
  1760. .cu-custom .cu-bar .content image {
  1761. height: 60upx;
  1762. width: 240upx;
  1763. }
  1764. .cu-custom .cu-bar {
  1765. min-height: 0px;
  1766. /* #ifdef MP-WEIXIN */
  1767. padding-right: 220upx;
  1768. /* #endif */
  1769. /* #ifdef MP-ALIPAY */
  1770. padding-right: 150upx;
  1771. /* #endif */
  1772. box-shadow: 0upx 0upx 0upx;
  1773. z-index: 9999;
  1774. }
  1775. .cu-custom .cu-bar .border-custom {
  1776. position: relative;
  1777. background: rgba(0, 0, 0, 0.15);
  1778. border-radius: 1000upx;
  1779. height: 30px;
  1780. }
  1781. .cu-custom .cu-bar .border-custom::after {
  1782. content: " ";
  1783. width: 200%;
  1784. height: 200%;
  1785. position: absolute;
  1786. top: 0;
  1787. left: 0;
  1788. border-radius: inherit;
  1789. transform: scale(0.5);
  1790. transform-origin: 0 0;
  1791. pointer-events: none;
  1792. box-sizing: border-box;
  1793. border: 1upx solid var(--white);
  1794. opacity: 0.5;
  1795. }
  1796. .cu-custom .cu-bar .border-custom::before {
  1797. content: " ";
  1798. width: 1upx;
  1799. height: 110%;
  1800. position: absolute;
  1801. top: 22.5%;
  1802. left: 0;
  1803. right: 0;
  1804. margin: auto;
  1805. transform: scale(0.5);
  1806. transform-origin: 0 0;
  1807. pointer-events: none;
  1808. box-sizing: border-box;
  1809. opacity: 0.6;
  1810. background-color: var(--white);
  1811. }
  1812. .cu-custom .cu-bar .border-custom text {
  1813. display: block;
  1814. flex: 1;
  1815. margin: auto !important;
  1816. text-align: center;
  1817. font-size: 34upx;
  1818. }
  1819. /* ==================
  1820. 导航栏
  1821. ==================== */
  1822. .nav {
  1823. white-space: nowrap;
  1824. }
  1825. ::-webkit-scrollbar {
  1826. display: none;
  1827. }
  1828. .nav .cu-item {
  1829. height: 90upx;
  1830. display: inline-block;
  1831. line-height: 90upx;
  1832. margin: 0 10upx;
  1833. padding: 0 20upx;
  1834. }
  1835. .nav .cu-item.cur {
  1836. border-bottom: 4upx solid;
  1837. }
  1838. /* ==================
  1839. 时间轴
  1840. ==================== */
  1841. .cu-timeline {
  1842. display: block;
  1843. background-color: var(--white);
  1844. }
  1845. .cu-timeline .cu-time {
  1846. width: 120upx;
  1847. text-align: center;
  1848. padding: 20upx 0;
  1849. font-size: 26upx;
  1850. color: #888;
  1851. display: block;
  1852. }
  1853. .cu-timeline>.cu-item {
  1854. padding: 30upx 30upx 30upx 120upx;
  1855. position: relative;
  1856. display: block;
  1857. z-index: 0;
  1858. }
  1859. .cu-timeline>.cu-item:not([class*="text-"]) {
  1860. color: #ccc;
  1861. }
  1862. .cu-timeline>.cu-item::after {
  1863. content: "";
  1864. display: block;
  1865. position: absolute;
  1866. width: 1upx;
  1867. background-color: #ddd;
  1868. left: 60upx;
  1869. height: 100%;
  1870. top: 0;
  1871. z-index: 8;
  1872. }
  1873. .cu-timeline>.cu-item::before {
  1874. font-family: "cuIcon";
  1875. display: block;
  1876. position: absolute;
  1877. top: 36upx;
  1878. z-index: 9;
  1879. background-color: var(--white);
  1880. width: 50upx;
  1881. height: 50upx;
  1882. text-align: center;
  1883. border: none;
  1884. line-height: 50upx;
  1885. left: 36upx;
  1886. }
  1887. .cu-timeline>.cu-item:not([class*="cuIcon-"])::before {
  1888. content: "\e763";
  1889. }
  1890. .cu-timeline>.cu-item[class*="cuIcon-"]::before {
  1891. background-color: var(--white);
  1892. width: 50upx;
  1893. height: 50upx;
  1894. text-align: center;
  1895. border: none;
  1896. line-height: 50upx;
  1897. left: 36upx;
  1898. }
  1899. .cu-timeline>.cu-item>.content {
  1900. padding: 30upx;
  1901. border-radius: 6upx;
  1902. display: block;
  1903. line-height: 1.6;
  1904. }
  1905. .cu-timeline>.cu-item>.content:not([class*="bg-"]) {
  1906. background-color: var(--ghostWhite);
  1907. color: var(--black);
  1908. }
  1909. .cu-timeline>.cu-item>.content+.content {
  1910. margin-top: 20upx;
  1911. }
  1912. /* ==================
  1913. 聊天
  1914. ==================== */
  1915. .cu-chat {
  1916. display: flex;
  1917. flex-direction: column;
  1918. }
  1919. .cu-chat .cu-item {
  1920. display: flex;
  1921. padding: 30upx 30upx 70upx;
  1922. position: relative;
  1923. }
  1924. .cu-chat .cu-item>.cu-avatar {
  1925. width: 80upx;
  1926. height: 80upx;
  1927. }
  1928. .cu-chat .cu-item>.main {
  1929. max-width: calc(100% - 260upx);
  1930. margin: 0 40upx;
  1931. display: flex;
  1932. align-items: center;
  1933. }
  1934. .cu-chat .cu-item>image {
  1935. height: 320upx;
  1936. }
  1937. .cu-chat .cu-item>.main .content {
  1938. padding: 20upx;
  1939. border-radius: 6upx;
  1940. display: inline-flex;
  1941. max-width: 100%;
  1942. align-items: center;
  1943. font-size: 30upx;
  1944. position: relative;
  1945. min-height: 80upx;
  1946. line-height: 40upx;
  1947. text-align: left;
  1948. }
  1949. .cu-chat .cu-item>.main .content:not([class*="bg-"]) {
  1950. background-color: var(--white);
  1951. color: var(--black);
  1952. }
  1953. .cu-chat .cu-item .date {
  1954. position: absolute;
  1955. font-size: 24upx;
  1956. color: var(--grey);
  1957. width: calc(100% - 320upx);
  1958. bottom: 20upx;
  1959. left: 160upx;
  1960. }
  1961. .cu-chat .cu-item .action {
  1962. padding: 0 30upx;
  1963. display: flex;
  1964. align-items: center;
  1965. }
  1966. .cu-chat .cu-item>.main .content::after {
  1967. content: "";
  1968. top: 27upx;
  1969. transform: rotate(45deg);
  1970. position: absolute;
  1971. z-index: 100;
  1972. display: inline-block;
  1973. overflow: hidden;
  1974. width: 24upx;
  1975. height: 24upx;
  1976. left: -12upx;
  1977. right: initial;
  1978. background-color: inherit;
  1979. }
  1980. .cu-chat .cu-item.self>.main .content::after {
  1981. left: auto;
  1982. right: -12upx;
  1983. }
  1984. .cu-chat .cu-item>.main .content::before {
  1985. content: "";
  1986. top: 30upx;
  1987. transform: rotate(45deg);
  1988. position: absolute;
  1989. z-index: -1;
  1990. display: inline-block;
  1991. overflow: hidden;
  1992. width: 24upx;
  1993. height: 24upx;
  1994. left: -12upx;
  1995. right: initial;
  1996. background-color: inherit;
  1997. filter: blur(5upx);
  1998. opacity: 0.3;
  1999. }
  2000. .cu-chat .cu-item>.main .content:not([class*="bg-"])::before {
  2001. background-color: var(--black);
  2002. opacity: 0.1;
  2003. }
  2004. .cu-chat .cu-item.self>.main .content::before {
  2005. left: auto;
  2006. right: -12upx;
  2007. }
  2008. .cu-chat .cu-item.self {
  2009. justify-content: flex-end;
  2010. text-align: right;
  2011. }
  2012. .cu-chat .cu-info {
  2013. display: inline-block;
  2014. margin: 20upx auto;
  2015. font-size: 24upx;
  2016. padding: 8upx 12upx;
  2017. background-color: rgba(0, 0, 0, 0.2);
  2018. border-radius: 6upx;
  2019. color: var(--white);
  2020. max-width: 400upx;
  2021. line-height: 1.4;
  2022. }
  2023. /* ==================
  2024. 卡片
  2025. ==================== */
  2026. .cu-card {
  2027. display: block;
  2028. overflow: hidden;
  2029. }
  2030. .cu-card>.cu-item {
  2031. display: block;
  2032. background-color: var(--white);
  2033. overflow: hidden;
  2034. border-radius: 10upx;
  2035. margin: 30upx;
  2036. }
  2037. .cu-card>.cu-item.shadow-blur {
  2038. overflow: initial;
  2039. }
  2040. .cu-card.no-card>.cu-item {
  2041. margin: 0upx;
  2042. border-radius: 0upx;
  2043. }
  2044. .cu-card .grid.grid-square {
  2045. margin-bottom: -20upx;
  2046. }
  2047. .cu-card.case .image {
  2048. position: relative;
  2049. }
  2050. .cu-card.case .image image {
  2051. width: 100%;
  2052. }
  2053. .cu-card.case .image .cu-tag {
  2054. position: absolute;
  2055. right: 0;
  2056. top: 0;
  2057. }
  2058. .cu-card.case .image .cu-bar {
  2059. position: absolute;
  2060. bottom: 0;
  2061. width: 100%;
  2062. background-color: transparent;
  2063. padding: 0upx 30upx;
  2064. }
  2065. .cu-card.case.no-card .image {
  2066. margin: 30upx 30upx 0;
  2067. overflow: hidden;
  2068. border-radius: 10upx;
  2069. }
  2070. .cu-card.dynamic {
  2071. display: block;
  2072. }
  2073. .cu-card.dynamic>.cu-item {
  2074. display: block;
  2075. background-color: var(--white);
  2076. overflow: hidden;
  2077. }
  2078. .cu-card.dynamic>.cu-item>.text-content {
  2079. padding: 0 30upx 0;
  2080. max-height: 6.4em;
  2081. overflow: hidden;
  2082. font-size: 30upx;
  2083. margin-bottom: 20upx;
  2084. }
  2085. .cu-card.dynamic>.cu-item .square-img {
  2086. width: 100%;
  2087. height: 200upx;
  2088. border-radius: 6upx;
  2089. }
  2090. .cu-card.dynamic>.cu-item .only-img {
  2091. width: 100%;
  2092. height: 320upx;
  2093. border-radius: 6upx;
  2094. }
  2095. /* card.dynamic>.cu-item .comment {
  2096. padding: 20upx;
  2097. background-color: var(--ghostWhite);
  2098. margin: 0 30upx 30upx;
  2099. border-radius: 6upx;
  2100. } */
  2101. .cu-card.article {
  2102. display: block;
  2103. }
  2104. .cu-card.article>.cu-item {
  2105. padding-bottom: 30upx;
  2106. }
  2107. .cu-card.article>.cu-item .title {
  2108. font-size: 30upx;
  2109. font-weight: 900;
  2110. color: var(--black);
  2111. line-height: 100upx;
  2112. padding: 0 30upx;
  2113. }
  2114. .cu-card.article>.cu-item .content {
  2115. display: flex;
  2116. padding: 0 30upx;
  2117. }
  2118. .cu-card.article>.cu-item .content>image {
  2119. width: 240upx;
  2120. height: 6.4em;
  2121. margin-right: 20upx;
  2122. border-radius: 6upx;
  2123. }
  2124. .cu-card.article>.cu-item .content .desc {
  2125. flex: 1;
  2126. display: flex;
  2127. flex-direction: column;
  2128. justify-content: space-between;
  2129. }
  2130. .cu-card.article>.cu-item .content .text-content {
  2131. font-size: 28upx;
  2132. color: #888;
  2133. height: 4.8em;
  2134. overflow: hidden;
  2135. }
  2136. /* ==================
  2137. 表单
  2138. ==================== */
  2139. .cu-form-group {
  2140. background-color: var(--white);
  2141. padding: 1upx 30upx;
  2142. display: flex;
  2143. align-items: center;
  2144. min-height: 100upx;
  2145. justify-content: space-between;
  2146. }
  2147. .cu-form-group+.cu-form-group {
  2148. border-top: 1upx solid #eee;
  2149. }
  2150. .cu-form-group .title {
  2151. text-align: justify;
  2152. padding-right: 30upx;
  2153. font-size: 30upx;
  2154. position: relative;
  2155. height: 60upx;
  2156. line-height: 60upx;
  2157. }
  2158. .cu-form-group input {
  2159. flex: 1;
  2160. font-size: 30upx;
  2161. color: #555;
  2162. padding-right: 20upx;
  2163. }
  2164. .cu-form-group>text[class*="cuIcon-"] {
  2165. font-size: 36upx;
  2166. padding: 0;
  2167. box-sizing: border-box;
  2168. }
  2169. .cu-form-group textarea {
  2170. margin: 32upx 0 30upx;
  2171. height: 4.6em;
  2172. width: 100%;
  2173. line-height: 1.2em;
  2174. flex: 1;
  2175. font-size: 28upx;
  2176. padding: 0;
  2177. }
  2178. .cu-form-group.align-start .title {
  2179. height: 1em;
  2180. margin-top: 32upx;
  2181. line-height: 1em;
  2182. }
  2183. .cu-form-group picker {
  2184. flex: 1;
  2185. padding-right: 40upx;
  2186. overflow: hidden;
  2187. position: relative;
  2188. }
  2189. .cu-form-group picker .picker {
  2190. line-height: 100upx;
  2191. font-size: 28upx;
  2192. text-overflow: ellipsis;
  2193. white-space: nowrap;
  2194. overflow: hidden;
  2195. width: 100%;
  2196. text-align: right;
  2197. }
  2198. .cu-form-group picker::after {
  2199. font-family: cuIcon;
  2200. display: block;
  2201. content: "\e6a3";
  2202. position: absolute;
  2203. font-size: 34upx;
  2204. color: var(--grey);
  2205. line-height: 100upx;
  2206. width: 60upx;
  2207. text-align: center;
  2208. top: 0;
  2209. bottom: 0;
  2210. right: -20upx;
  2211. margin: auto;
  2212. }
  2213. .cu-form-group textarea[disabled],
  2214. .cu-form-group textarea[disabled] .placeholder {
  2215. color: transparent;
  2216. }
  2217. /* ==================
  2218. 模态窗口
  2219. ==================== */
  2220. .cu-modal {
  2221. position: fixed;
  2222. top: 0;
  2223. right: 0;
  2224. bottom: 0;
  2225. left: 0;
  2226. z-index: 1110;
  2227. opacity: 0;
  2228. outline: 0;
  2229. text-align: center;
  2230. -ms-transform: scale(1.185);
  2231. transform: scale(1.185);
  2232. backface-visibility: hidden;
  2233. perspective: 2000upx;
  2234. background: rgba(0, 0, 0, 0.6);
  2235. transition: all 0.3s ease-in-out 0s;
  2236. pointer-events: none;
  2237. }
  2238. .cu-modal::before {
  2239. content: "\200B";
  2240. display: inline-block;
  2241. height: 100%;
  2242. vertical-align: middle;
  2243. }
  2244. .cu-modal.show {
  2245. opacity: 1;
  2246. transition-duration: 0.3s;
  2247. -ms-transform: scale(1);
  2248. transform: scale(1);
  2249. overflow-x: hidden;
  2250. overflow-y: auto;
  2251. pointer-events: auto;
  2252. }
  2253. .cu-dialog {
  2254. position: relative;
  2255. display: inline-block;
  2256. vertical-align: middle;
  2257. margin-left: auto;
  2258. margin-right: auto;
  2259. width: 680upx;
  2260. max-width: 100%;
  2261. background-color: #f8f8f8;
  2262. border-radius: 10upx;
  2263. overflow: hidden;
  2264. }
  2265. .cu-modal.bottom-modal::before {
  2266. vertical-align: bottom;
  2267. }
  2268. .cu-modal.bottom-modal .cu-dialog {
  2269. width: 100%;
  2270. border-radius: 0;
  2271. }
  2272. .cu-modal.bottom-modal {
  2273. margin-bottom: -1000upx;
  2274. }
  2275. .cu-modal.bottom-modal.show {
  2276. margin-bottom: 0;
  2277. }
  2278. .cu-modal.drawer-modal {
  2279. transform: scale(1);
  2280. display: flex;
  2281. }
  2282. .cu-modal.drawer-modal .cu-dialog {
  2283. height: 100%;
  2284. min-width: 200upx;
  2285. border-radius: 0;
  2286. margin: initial;
  2287. transition-duration: 0.3s;
  2288. }
  2289. .cu-modal.drawer-modal.justify-start .cu-dialog {
  2290. transform: translateX(-100%);
  2291. }
  2292. .cu-modal.drawer-modal.justify-end .cu-dialog {
  2293. transform: translateX(100%);
  2294. }
  2295. .cu-modal.drawer-modal.show .cu-dialog {
  2296. transform: translateX(0%);
  2297. }
  2298. .cu-modal .cu-dialog>.cu-bar:first-child .action{
  2299. min-width: 100rpx;
  2300. margin-right: 0;
  2301. min-height: 100rpx;
  2302. }
  2303. /* ==================
  2304. 轮播
  2305. ==================== */
  2306. swiper .a-swiper-dot {
  2307. display: inline-block;
  2308. width: 16upx;
  2309. height: 16upx;
  2310. background: rgba(0, 0, 0, .3);
  2311. border-radius: 50%;
  2312. vertical-align: middle;
  2313. }
  2314. swiper[class*="-dot"] .wx-swiper-dots,
  2315. swiper[class*="-dot"] .a-swiper-dots,
  2316. swiper[class*="-dot"] .uni-swiper-dots {
  2317. display: flex;
  2318. align-items: center;
  2319. width: 100%;
  2320. justify-content: center;
  2321. }
  2322. swiper.square-dot .wx-swiper-dot,
  2323. swiper.square-dot .a-swiper-dot,
  2324. swiper.square-dot .uni-swiper-dot {
  2325. background-color: var(--white);
  2326. opacity: 0.4;
  2327. width: 10upx;
  2328. height: 10upx;
  2329. border-radius: 20upx;
  2330. margin: 0 8upx !important;
  2331. }
  2332. swiper.square-dot .wx-swiper-dot.wx-swiper-dot-active,
  2333. swiper.square-dot .a-swiper-dot.a-swiper-dot-active,
  2334. swiper.square-dot .uni-swiper-dot.uni-swiper-dot-active {
  2335. opacity: 1;
  2336. width: 30upx;
  2337. }
  2338. swiper.round-dot .wx-swiper-dot,
  2339. swiper.round-dot .a-swiper-dot,
  2340. swiper.round-dot .uni-swiper-dot {
  2341. width: 10upx;
  2342. height: 10upx;
  2343. position: relative;
  2344. margin: 4upx 8upx !important;
  2345. }
  2346. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active::after,
  2347. swiper.round-dot .a-swiper-dot.a-swiper-dot-active::after,
  2348. swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active::after {
  2349. content: "";
  2350. position: absolute;
  2351. width: 10upx;
  2352. height: 10upx;
  2353. top: 0upx;
  2354. left: 0upx;
  2355. right: 0;
  2356. bottom: 0;
  2357. margin: auto;
  2358. background-color: var(--white);
  2359. border-radius: 20upx;
  2360. }
  2361. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active,
  2362. swiper.round-dot .a-swiper-dot.a-swiper-dot-active,
  2363. swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active {
  2364. width: 18upx;
  2365. height: 18upx;
  2366. }
  2367. .screen-swiper {
  2368. min-height: 375upx;
  2369. }
  2370. .screen-swiper image,
  2371. .screen-swiper video,
  2372. .swiper-item image,
  2373. .swiper-item video {
  2374. width: 100%;
  2375. display: block;
  2376. height: 100%;
  2377. margin: 0;
  2378. pointer-events: none;
  2379. }
  2380. .card-swiper {
  2381. height: 420upx !important;
  2382. }
  2383. .card-swiper swiper-item {
  2384. width: 610upx !important;
  2385. left: 70upx;
  2386. box-sizing: border-box;
  2387. padding: 40upx 0upx 70upx;
  2388. overflow: initial;
  2389. }
  2390. .card-swiper swiper-item .swiper-item {
  2391. width: 100%;
  2392. display: block;
  2393. height: 100%;
  2394. border-radius: 10upx;
  2395. transform: scale(0.9);
  2396. transition: all 0.2s ease-in 0s;
  2397. overflow: hidden;
  2398. }
  2399. .card-swiper swiper-item.cur .swiper-item {
  2400. transform: none;
  2401. transition: all 0.2s ease-in 0s;
  2402. }
  2403. .tower-swiper {
  2404. height: 420upx;
  2405. position: relative;
  2406. max-width: 750upx;
  2407. overflow: hidden;
  2408. }
  2409. .tower-swiper .tower-item {
  2410. position: absolute;
  2411. width: 300upx;
  2412. height: 380upx;
  2413. top: 0;
  2414. bottom: 0;
  2415. left: 50%;
  2416. margin: auto;
  2417. transition: all 0.2s ease-in 0s;
  2418. opacity: 1;
  2419. }
  2420. .tower-swiper .tower-item.none {
  2421. opacity: 0;
  2422. }
  2423. .tower-swiper .tower-item .swiper-item {
  2424. width: 100%;
  2425. height: 100%;
  2426. border-radius: 6upx;
  2427. overflow: hidden;
  2428. }
  2429. /* ==================
  2430. 步骤条
  2431. ==================== */
  2432. .cu-steps {
  2433. display: flex;
  2434. }
  2435. scroll-view.cu-steps {
  2436. display: block;
  2437. white-space: nowrap;
  2438. }
  2439. scroll-view.cu-steps .cu-item {
  2440. display: inline-block;
  2441. }
  2442. .cu-steps .cu-item {
  2443. flex: 1;
  2444. text-align: center;
  2445. position: relative;
  2446. min-width: 100upx;
  2447. }
  2448. .cu-steps .cu-item:not([class*="text-"]) {
  2449. color: var(--grey);
  2450. }
  2451. .cu-steps .cu-item [class*="cuIcon-"],
  2452. .cu-steps .cu-item .num {
  2453. display: block;
  2454. font-size: 40upx;
  2455. line-height: 80upx;
  2456. }
  2457. .cu-steps .cu-item::before,
  2458. .cu-steps .cu-item::after,
  2459. .cu-steps.steps-arrow .cu-item::before,
  2460. .cu-steps.steps-arrow .cu-item::after {
  2461. content: "";
  2462. display: block;
  2463. position: absolute;
  2464. height: 0px;
  2465. width: calc(100% - 80upx);
  2466. border-bottom: 1px solid #ccc;
  2467. left: calc(0px - (100% - 80upx) / 2);
  2468. top: 40upx;
  2469. z-index: 0;
  2470. }
  2471. .cu-steps.steps-arrow .cu-item::before,
  2472. .cu-steps.steps-arrow .cu-item::after {
  2473. content: "\e6a3";
  2474. font-family: 'cuIcon';
  2475. height: 30upx;
  2476. border-bottom-width: 0px;
  2477. line-height: 30upx;
  2478. top: 0;
  2479. bottom: 0;
  2480. margin: auto;
  2481. color: #ccc;
  2482. }
  2483. .cu-steps.steps-bottom .cu-item::before,
  2484. .cu-steps.steps-bottom .cu-item::after {
  2485. bottom: 40upx;
  2486. top: initial;
  2487. }
  2488. .cu-steps .cu-item::after {
  2489. border-bottom: 1px solid currentColor;
  2490. width: 0px;
  2491. transition: all 0.3s ease-in-out 0s;
  2492. }
  2493. .cu-steps .cu-item[class*="text-"]::after {
  2494. width: calc(100% - 80upx);
  2495. color: currentColor;
  2496. }
  2497. .cu-steps .cu-item:first-child::before,
  2498. .cu-steps .cu-item:first-child::after {
  2499. display: none;
  2500. }
  2501. .cu-steps .cu-item .num {
  2502. width: 40upx;
  2503. height: 40upx;
  2504. border-radius: 50%;
  2505. line-height: 40upx;
  2506. margin: 20upx auto;
  2507. font-size: 24upx;
  2508. border: 1px solid currentColor;
  2509. position: relative;
  2510. overflow: hidden;
  2511. }
  2512. .cu-steps .cu-item[class*="text-"] .num {
  2513. background-color: currentColor;
  2514. }
  2515. .cu-steps .cu-item .num::before,
  2516. .cu-steps .cu-item .num::after {
  2517. content: attr(data-index);
  2518. position: absolute;
  2519. left: 0;
  2520. right: 0;
  2521. top: 0;
  2522. bottom: 0;
  2523. margin: auto;
  2524. transition: all 0.3s ease-in-out 0s;
  2525. transform: translateY(0upx);
  2526. }
  2527. .cu-steps .cu-item[class*="text-"] .num::before {
  2528. transform: translateY(-40upx);
  2529. color: var(--white);
  2530. }
  2531. .cu-steps .cu-item .num::after {
  2532. transform: translateY(40upx);
  2533. color: var(--white);
  2534. transition: all 0.3s ease-in-out 0s;
  2535. }
  2536. .cu-steps .cu-item[class*="text-"] .num::after {
  2537. content: "\e645";
  2538. font-family: 'cuIcon';
  2539. color: var(--white);
  2540. transform: translateY(0upx);
  2541. }
  2542. .cu-steps .cu-item[class*="text-"] .num.err::after {
  2543. content: "\e646";
  2544. }
  2545. /* ==================
  2546. 布局
  2547. ==================== */
  2548. /* -- flex弹性布局 -- */
  2549. .flex {
  2550. display: flex;
  2551. }
  2552. .basis-xs {
  2553. flex-basis: 20%;
  2554. }
  2555. .basis-sm {
  2556. flex-basis: 40%;
  2557. }
  2558. .basis-df {
  2559. flex-basis: 50%;
  2560. }
  2561. .basis-lg {
  2562. flex-basis: 60%;
  2563. }
  2564. .basis-xl {
  2565. flex-basis: 80%;
  2566. }
  2567. .flex-sub {
  2568. flex: 1;
  2569. }
  2570. .flex-twice {
  2571. flex: 2;
  2572. }
  2573. .flex-treble {
  2574. flex: 3;
  2575. }
  2576. .flex-direction {
  2577. flex-direction: column;
  2578. }
  2579. .flex-wrap {
  2580. flex-wrap: wrap;
  2581. }
  2582. .align-start {
  2583. align-items: flex-start;
  2584. }
  2585. .align-end {
  2586. align-items: flex-end;
  2587. }
  2588. .align-center {
  2589. align-items: center;
  2590. }
  2591. .align-stretch {
  2592. align-items: stretch;
  2593. }
  2594. .self-start {
  2595. align-self: flex-start;
  2596. }
  2597. .self-center {
  2598. align-self: flex-center;
  2599. }
  2600. .self-end {
  2601. align-self: flex-end;
  2602. }
  2603. .self-stretch {
  2604. align-self: stretch;
  2605. }
  2606. .align-stretch {
  2607. align-items: stretch;
  2608. }
  2609. .justify-start {
  2610. justify-content: flex-start;
  2611. }
  2612. .justify-end {
  2613. justify-content: flex-end;
  2614. }
  2615. .justify-center {
  2616. justify-content: center;
  2617. }
  2618. .justify-between {
  2619. justify-content: space-between;
  2620. }
  2621. .justify-around {
  2622. justify-content: space-around;
  2623. }
  2624. /* grid布局 */
  2625. .grid {
  2626. display: flex;
  2627. flex-wrap: wrap;
  2628. }
  2629. .grid.grid-square {
  2630. overflow: hidden;
  2631. }
  2632. .grid.grid-square .cu-tag {
  2633. position: absolute;
  2634. right: 0;
  2635. top: 0;
  2636. border-bottom-left-radius: 6upx;
  2637. padding: 6upx 12upx;
  2638. height: auto;
  2639. background-color: rgba(0, 0, 0, 0.5);
  2640. }
  2641. .grid.grid-square>view>text[class*="cuIcon-"] {
  2642. font-size: 52upx;
  2643. position: absolute;
  2644. color: var(--grey);
  2645. margin: auto;
  2646. top: 0;
  2647. bottom: 0;
  2648. left: 0;
  2649. right: 0;
  2650. display: flex;
  2651. justify-content: center;
  2652. align-items: center;
  2653. flex-direction: column;
  2654. }
  2655. .grid.grid-square>view {
  2656. margin-right: 20upx;
  2657. margin-bottom: 20upx;
  2658. border-radius: 6upx;
  2659. position: relative;
  2660. overflow: hidden;
  2661. }
  2662. .grid.grid-square>view.bg-img image {
  2663. width: 100%;
  2664. height: 100%;
  2665. position: absolute;
  2666. }
  2667. .grid.col-1.grid-square>view {
  2668. padding-bottom: 100%;
  2669. height: 0;
  2670. margin-right: 0;
  2671. }
  2672. .grid.col-2.grid-square>view {
  2673. padding-bottom: calc((100% - 20upx)/2);
  2674. height: 0;
  2675. width: calc((100% - 20upx)/2);
  2676. }
  2677. .grid.col-3.grid-square>view {
  2678. padding-bottom: calc((100% - 40upx)/3);
  2679. height: 0;
  2680. width: calc((100% - 40upx)/3);
  2681. }
  2682. .grid.col-4.grid-square>view {
  2683. padding-bottom: calc((100% - 60upx)/4);
  2684. height: 0;
  2685. width: calc((100% - 60upx)/4);
  2686. }
  2687. .grid.col-5.grid-square>view {
  2688. padding-bottom: calc((100% - 80upx)/5);
  2689. height: 0;
  2690. width: calc((100% - 80upx)/5);
  2691. }
  2692. .grid.col-2.grid-square>view:nth-child(2n),
  2693. .grid.col-3.grid-square>view:nth-child(3n),
  2694. .grid.col-4.grid-square>view:nth-child(4n),
  2695. .grid.col-5.grid-square>view:nth-child(5n) {
  2696. margin-right: 0;
  2697. }
  2698. .grid.col-1>view {
  2699. width: 100%;
  2700. }
  2701. .grid.col-2>view {
  2702. width: 50%;
  2703. }
  2704. .grid.col-3>view {
  2705. width: 33.33%;
  2706. }
  2707. .grid.col-4>view {
  2708. width: 25%;
  2709. }
  2710. .grid.col-5>view {
  2711. width: 20%;
  2712. }
  2713. /* -- 内外边距 -- */
  2714. .margin-0 {
  2715. margin: 0;
  2716. }
  2717. .margin-xs {
  2718. margin: 10upx;
  2719. }
  2720. .margin-sm {
  2721. margin: 20upx;
  2722. }
  2723. .margin {
  2724. margin: 30upx;
  2725. }
  2726. .margin-lg {
  2727. margin: 40upx;
  2728. }
  2729. .margin-xl {
  2730. margin: 50upx;
  2731. }
  2732. .margin-top-xs {
  2733. margin-top: 10upx;
  2734. }
  2735. .margin-top-sm {
  2736. margin-top: 20upx;
  2737. }
  2738. .margin-top {
  2739. margin-top: 30upx;
  2740. }
  2741. .margin-top-lg {
  2742. margin-top: 40upx;
  2743. }
  2744. .margin-top-xl {
  2745. margin-top: 50upx;
  2746. }
  2747. .margin-right-xs {
  2748. margin-right: 10upx;
  2749. }
  2750. .margin-right-sm {
  2751. margin-right: 20upx;
  2752. }
  2753. .margin-right {
  2754. margin-right: 30upx;
  2755. }
  2756. .margin-right-lg {
  2757. margin-right: 40upx;
  2758. }
  2759. .margin-right-xl {
  2760. margin-right: 50upx;
  2761. }
  2762. .margin-bottom-xs {
  2763. margin-bottom: 10upx;
  2764. }
  2765. .margin-bottom-sm {
  2766. margin-bottom: 20upx;
  2767. }
  2768. .margin-bottom {
  2769. margin-bottom: 30upx;
  2770. }
  2771. .margin-bottom-lg {
  2772. margin-bottom: 40upx;
  2773. }
  2774. .margin-bottom-xl {
  2775. margin-bottom: 50upx;
  2776. }
  2777. .margin-left-xs {
  2778. margin-left: 10upx;
  2779. }
  2780. .margin-left-sm {
  2781. margin-left: 20upx;
  2782. }
  2783. .margin-left {
  2784. margin-left: 30upx;
  2785. }
  2786. .margin-left-lg {
  2787. margin-left: 40upx;
  2788. }
  2789. .margin-left-xl {
  2790. margin-left: 50upx;
  2791. }
  2792. .margin-lr-xs {
  2793. margin-left: 10upx;
  2794. margin-right: 10upx;
  2795. }
  2796. .margin-lr-sm {
  2797. margin-left: 20upx;
  2798. margin-right: 20upx;
  2799. }
  2800. .margin-lr {
  2801. margin-left: 30upx;
  2802. margin-right: 30upx;
  2803. }
  2804. .margin-lr-lg {
  2805. margin-left: 40upx;
  2806. margin-right: 40upx;
  2807. }
  2808. .margin-lr-xl {
  2809. margin-left: 50upx;
  2810. margin-right: 50upx;
  2811. }
  2812. .margin-tb-xs {
  2813. margin-top: 10upx;
  2814. margin-bottom: 10upx;
  2815. }
  2816. .margin-tb-sm {
  2817. margin-top: 20upx;
  2818. margin-bottom: 20upx;
  2819. }
  2820. .margin-tb {
  2821. margin-top: 30upx;
  2822. margin-bottom: 30upx;
  2823. }
  2824. .margin-tb-lg {
  2825. margin-top: 40upx;
  2826. margin-bottom: 40upx;
  2827. }
  2828. .margin-tb-xl {
  2829. margin-top: 50upx;
  2830. margin-bottom: 50upx;
  2831. }
  2832. .padding-0 {
  2833. padding: 0;
  2834. }
  2835. .padding-xs {
  2836. padding: 10upx;
  2837. }
  2838. .padding-sm {
  2839. padding: 20upx;
  2840. }
  2841. .padding {
  2842. padding: 30upx;
  2843. }
  2844. .padding-lg {
  2845. padding: 40upx;
  2846. }
  2847. .padding-xl {
  2848. padding: 50upx;
  2849. }
  2850. .padding-top-xs {
  2851. padding-top: 10upx;
  2852. }
  2853. .padding-top-sm {
  2854. padding-top: 20upx;
  2855. }
  2856. .padding-top {
  2857. padding-top: 30upx;
  2858. }
  2859. .padding-top-lg {
  2860. padding-top: 40upx;
  2861. }
  2862. .padding-top-xl {
  2863. padding-top: 50upx;
  2864. }
  2865. .padding-right-xs {
  2866. padding-right: 10upx;
  2867. }
  2868. .padding-right-sm {
  2869. padding-right: 20upx;
  2870. }
  2871. .padding-right {
  2872. padding-right: 30upx;
  2873. }
  2874. .padding-right-lg {
  2875. padding-right: 40upx;
  2876. }
  2877. .padding-right-xl {
  2878. padding-right: 50upx;
  2879. }
  2880. .padding-bottom-xs {
  2881. padding-bottom: 10upx;
  2882. }
  2883. .padding-bottom-sm {
  2884. padding-bottom: 20upx;
  2885. }
  2886. .padding-bottom {
  2887. padding-bottom: 30upx;
  2888. }
  2889. .padding-bottom-lg {
  2890. padding-bottom: 40upx;
  2891. }
  2892. .padding-bottom-xl {
  2893. padding-bottom: 50upx;
  2894. }
  2895. .padding-left-xs {
  2896. padding-left: 10upx;
  2897. }
  2898. .padding-left-sm {
  2899. padding-left: 20upx;
  2900. }
  2901. .padding-left {
  2902. padding-left: 30upx;
  2903. }
  2904. .padding-left-lg {
  2905. padding-left: 40upx;
  2906. }
  2907. .padding-left-xl {
  2908. padding-left: 50upx;
  2909. }
  2910. .padding-lr-xs {
  2911. padding-left: 10upx;
  2912. padding-right: 10upx;
  2913. }
  2914. .padding-lr-sm {
  2915. padding-left: 20upx;
  2916. padding-right: 20upx;
  2917. }
  2918. .padding-lr {
  2919. padding-left: 30upx;
  2920. padding-right: 30upx;
  2921. }
  2922. .padding-lr-lg {
  2923. padding-left: 40upx;
  2924. padding-right: 40upx;
  2925. }
  2926. .padding-lr-xl {
  2927. padding-left: 50upx;
  2928. padding-right: 50upx;
  2929. }
  2930. .padding-tb-xs {
  2931. padding-top: 10upx;
  2932. padding-bottom: 10upx;
  2933. }
  2934. .padding-tb-sm {
  2935. padding-top: 20upx;
  2936. padding-bottom: 20upx;
  2937. }
  2938. .padding-tb {
  2939. padding-top: 30upx;
  2940. padding-bottom: 30upx;
  2941. }
  2942. .padding-tb-lg {
  2943. padding-top: 40upx;
  2944. padding-bottom: 40upx;
  2945. }
  2946. .padding-tb-xl {
  2947. padding-top: 50upx;
  2948. padding-bottom: 50upx;
  2949. }
  2950. /* -- 浮动 -- */
  2951. .cf::after,
  2952. .cf::before {
  2953. content: " ";
  2954. display: table;
  2955. }
  2956. .cf::after {
  2957. clear: both;
  2958. }
  2959. .fl {
  2960. float: left;
  2961. }
  2962. .fr {
  2963. float: right;
  2964. }
  2965. /* ==================
  2966. 背景
  2967. ==================== */
  2968. .line-red::after,
  2969. .lines-red::after {
  2970. border-color: var(--red);
  2971. }
  2972. .line-orange::after,
  2973. .lines-orange::after {
  2974. border-color: var(--orange);
  2975. }
  2976. .line-yellow::after,
  2977. .lines-yellow::after {
  2978. border-color: var(--yellow);
  2979. }
  2980. .line-olive::after,
  2981. .lines-olive::after {
  2982. border-color: var(--olive);
  2983. }
  2984. .line-green::after,
  2985. .lines-green::after {
  2986. border-color: var(--green);
  2987. }
  2988. .line-cyan::after,
  2989. .lines-cyan::after {
  2990. border-color: var(--cyan);
  2991. }
  2992. .line-blue::after,
  2993. .lines-blue::after {
  2994. border-color: var(--blue);
  2995. }
  2996. .line-purple::after,
  2997. .lines-purple::after {
  2998. border-color: var(--purple);
  2999. }
  3000. .line-mauve::after,
  3001. .lines-mauve::after {
  3002. border-color: var(--mauve);
  3003. }
  3004. .line-pink::after,
  3005. .lines-pink::after {
  3006. border-color: var(--pink);
  3007. }
  3008. .line-brown::after,
  3009. .lines-brown::after {
  3010. border-color: var(--brown);
  3011. }
  3012. .line-grey::after,
  3013. .lines-grey::after {
  3014. border-color: var(--grey);
  3015. }
  3016. .line-gray::after,
  3017. .lines-gray::after {
  3018. border-color: var(--gray);
  3019. }
  3020. .line-black::after,
  3021. .lines-black::after {
  3022. border-color: var(--black);
  3023. }
  3024. .line-white::after,
  3025. .lines-white::after {
  3026. border-color: var(--white);
  3027. }
  3028. .bg-red {
  3029. background-color: var(--red);
  3030. color: var(--white);
  3031. }
  3032. .bg-orange {
  3033. background-color: var(--orange);
  3034. color: var(--white);
  3035. }
  3036. .bg-yellow {
  3037. background-color: var(--yellow);
  3038. color: var(--black);
  3039. }
  3040. .bg-olive {
  3041. background-color: var(--olive);
  3042. color: var(--white);
  3043. }
  3044. .bg-green {
  3045. background-color: var(--green);
  3046. color: var(--white);
  3047. }
  3048. .bg-cyan {
  3049. background-color: var(--cyan);
  3050. color: var(--white);
  3051. }
  3052. .bg-blue {
  3053. background-color: var(--blue);
  3054. color: var(--white);
  3055. }
  3056. .bg-purple {
  3057. background-color: var(--purple);
  3058. color: var(--white);
  3059. }
  3060. .bg-mauve {
  3061. background-color: var(--mauve);
  3062. color: var(--white);
  3063. }
  3064. .bg-pink {
  3065. background-color: var(--pink);
  3066. color: var(--white);
  3067. }
  3068. .bg-brown {
  3069. background-color: var(--brown);
  3070. color: var(--white);
  3071. }
  3072. .bg-grey {
  3073. background-color: var(--grey);
  3074. color: var(--white);
  3075. }
  3076. .bg-gray {
  3077. background-color: #f0f0f0;
  3078. color: var(--black);
  3079. }
  3080. .bg-black {
  3081. background-color: var(--black);
  3082. color: var(--white);
  3083. }
  3084. .bg-white {
  3085. background-color: var(--white);
  3086. color: var(--darkGray);
  3087. }
  3088. .bg-shadeTop {
  3089. background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
  3090. color: var(--white);
  3091. }
  3092. .bg-shadeBottom {
  3093. background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
  3094. color: var(--white);
  3095. }
  3096. .bg-red.light {
  3097. color: var(--red);
  3098. background-color: var(--redLight);
  3099. }
  3100. .bg-orange.light {
  3101. color: var(--orange);
  3102. background-color: var(--orangeLight);
  3103. }
  3104. .bg-yellow.light {
  3105. color: var(--yellow);
  3106. background-color: var(--yellowLight);
  3107. }
  3108. .bg-olive.light {
  3109. color: var(--olive);
  3110. background-color: var(--oliveLight);
  3111. }
  3112. .bg-green.light {
  3113. color: var(--green);
  3114. background-color: var(--greenLight);
  3115. }
  3116. .bg-cyan.light {
  3117. color: var(--cyan);
  3118. background-color: var(--cyanLight);
  3119. }
  3120. .bg-blue.light {
  3121. color: var(--blue);
  3122. background-color: var(--blueLight);
  3123. }
  3124. .bg-purple.light {
  3125. color: var(--purple);
  3126. background-color: var(--purpleLight);
  3127. }
  3128. .bg-mauve.light {
  3129. color: var(--mauve);
  3130. background-color: var(--mauveLight);
  3131. }
  3132. .bg-pink.light {
  3133. color: var(--pink);
  3134. background-color: var(--pinkLight);
  3135. }
  3136. .bg-brown.light {
  3137. color: var(--brown);
  3138. background-color: var(--brownLight);
  3139. }
  3140. .bg-grey.light {
  3141. color: var(--grey);
  3142. background-color: var(--greyLight);
  3143. }
  3144. .bg-gradual-red {
  3145. background-image: var(--gradualRed);
  3146. color: var(--white);
  3147. }
  3148. .bg-gradual-orange {
  3149. background-image: var(--gradualOrange);
  3150. color: var(--white);
  3151. }
  3152. .bg-gradual-green {
  3153. background-image: var(--gradualGreen);
  3154. color: var(--white);
  3155. }
  3156. .bg-gradual-purple {
  3157. background-image: var(--gradualPurple);
  3158. color: var(--white);
  3159. }
  3160. .bg-gradual-pink {
  3161. background-image: var(--gradualPink);
  3162. color: var(--white);
  3163. }
  3164. .bg-gradual-blue {
  3165. background-image: var(--gradualBlue);
  3166. color: var(--white);
  3167. }
  3168. .shadow[class*="-red"] {
  3169. box-shadow: var(--ShadowSize) var(--redShadow);
  3170. }
  3171. .shadow[class*="-orange"] {
  3172. box-shadow: var(--ShadowSize) var(--orangeShadow);
  3173. }
  3174. .shadow[class*="-yellow"] {
  3175. box-shadow: var(--ShadowSize) var(--yellowShadow);
  3176. }
  3177. .shadow[class*="-olive"] {
  3178. box-shadow: var(--ShadowSize) var(--oliveShadow);
  3179. }
  3180. .shadow[class*="-green"] {
  3181. box-shadow: var(--ShadowSize) var(--greenShadow);
  3182. }
  3183. .shadow[class*="-cyan"] {
  3184. box-shadow: var(--ShadowSize) var(--cyanShadow);
  3185. }
  3186. .shadow[class*="-blue"] {
  3187. box-shadow: var(--ShadowSize) var(--blueShadow);
  3188. }
  3189. .shadow[class*="-purple"] {
  3190. box-shadow: var(--ShadowSize) var(--purpleShadow);
  3191. }
  3192. .shadow[class*="-mauve"] {
  3193. box-shadow: var(--ShadowSize) var(--mauveShadow);
  3194. }
  3195. .shadow[class*="-pink"] {
  3196. box-shadow: var(--ShadowSize) var(--pinkShadow);
  3197. }
  3198. .shadow[class*="-brown"] {
  3199. box-shadow: var(--ShadowSize) var(--brownShadow);
  3200. }
  3201. .shadow[class*="-grey"] {
  3202. box-shadow: var(--ShadowSize) var(--greyShadow);
  3203. }
  3204. .shadow[class*="-gray"] {
  3205. box-shadow: var(--ShadowSize) var(--grayShadow);
  3206. }
  3207. .shadow[class*="-black"] {
  3208. box-shadow: var(--ShadowSize) var(--blackShadow);
  3209. }
  3210. .shadow[class*="-white"] {
  3211. box-shadow: var(--ShadowSize) var(--blackShadow);
  3212. }
  3213. .text-shadow[class*="-red"] {
  3214. text-shadow: var(--ShadowSize) var(--redShadow);
  3215. }
  3216. .text-shadow[class*="-orange"] {
  3217. text-shadow: var(--ShadowSize) var(--orangeShadow);
  3218. }
  3219. .text-shadow[class*="-yellow"] {
  3220. text-shadow: var(--ShadowSize) var(--yellowShadow);
  3221. }
  3222. .text-shadow[class*="-olive"] {
  3223. text-shadow: var(--ShadowSize) var(--oliveShadow);
  3224. }
  3225. .text-shadow[class*="-green"] {
  3226. text-shadow: var(--ShadowSize) var(--greenShadow);
  3227. }
  3228. .text-shadow[class*="-cyan"] {
  3229. text-shadow: var(--ShadowSize) var(--cyanShadow);
  3230. }
  3231. .text-shadow[class*="-blue"] {
  3232. text-shadow: var(--ShadowSize) var(--blueShadow);
  3233. }
  3234. .text-shadow[class*="-purple"] {
  3235. text-shadow: var(--ShadowSize) var(--purpleShadow);
  3236. }
  3237. .text-shadow[class*="-mauve"] {
  3238. text-shadow: var(--ShadowSize) var(--mauveShadow);
  3239. }
  3240. .text-shadow[class*="-pink"] {
  3241. text-shadow: var(--ShadowSize) var(--pinkShadow);
  3242. }
  3243. .text-shadow[class*="-brown"] {
  3244. text-shadow: var(--ShadowSize) var(--brownShadow);
  3245. }
  3246. .text-shadow[class*="-grey"] {
  3247. text-shadow: var(--ShadowSize) var(--greyShadow);
  3248. }
  3249. .text-shadow[class*="-gray"] {
  3250. text-shadow: var(--ShadowSize) var(--grayShadow);
  3251. }
  3252. .text-shadow[class*="-black"] {
  3253. text-shadow: var(--ShadowSize) var(--blackShadow);
  3254. }
  3255. .bg-img {
  3256. background-size: cover;
  3257. background-position: center;
  3258. background-repeat: no-repeat;
  3259. }
  3260. .bg-mask {
  3261. background-color: var(--black);
  3262. position: relative;
  3263. }
  3264. .bg-mask::after {
  3265. content: "";
  3266. border-radius: inherit;
  3267. width: 100%;
  3268. height: 100%;
  3269. display: block;
  3270. background-color: rgba(0, 0, 0, 0.4);
  3271. position: absolute;
  3272. left: 0;
  3273. right: 0;
  3274. bottom: 0;
  3275. top: 0;
  3276. }
  3277. .bg-mask view,
  3278. .bg-mask cover-view {
  3279. z-index: 5;
  3280. position: relative;
  3281. }
  3282. .bg-video {
  3283. position: relative;
  3284. }
  3285. .bg-video video {
  3286. display: block;
  3287. height: 100%;
  3288. width: 100%;
  3289. -o-object-fit: cover;
  3290. object-fit: cover;
  3291. position: absolute;
  3292. top: 0;
  3293. z-index: 0;
  3294. pointer-events: none;
  3295. }
  3296. /* ==================
  3297. 文本
  3298. ==================== */
  3299. .text-xs {
  3300. font-size: 20upx;
  3301. }
  3302. .text-sm {
  3303. font-size: 24upx;
  3304. }
  3305. .text-df {
  3306. font-size: 28upx;
  3307. }
  3308. .text-lg {
  3309. font-size: 32upx;
  3310. }
  3311. .text-xl {
  3312. font-size: 36upx;
  3313. }
  3314. .text-xxl {
  3315. font-size: 44upx;
  3316. }
  3317. .text-sl {
  3318. font-size: 80upx;
  3319. }
  3320. .text-xsl {
  3321. font-size: 120upx;
  3322. }
  3323. .text-Abc {
  3324. text-transform: Capitalize;
  3325. }
  3326. .text-ABC {
  3327. text-transform: Uppercase;
  3328. }
  3329. .text-abc {
  3330. text-transform: Lowercase;
  3331. }
  3332. .text-price::before {
  3333. content: "¥";
  3334. font-size: 80%;
  3335. margin-right: 4upx;
  3336. }
  3337. .text-cut {
  3338. text-overflow: ellipsis;
  3339. white-space: nowrap;
  3340. overflow: hidden;
  3341. }
  3342. .text-bold {
  3343. font-weight: bold;
  3344. }
  3345. .text-center {
  3346. text-align: center;
  3347. }
  3348. .text-content {
  3349. line-height: 1.6;
  3350. }
  3351. .text-left {
  3352. text-align: left;
  3353. }
  3354. .text-right {
  3355. text-align: right;
  3356. }
  3357. .text-red,
  3358. .line-red,
  3359. .lines-red {
  3360. color: var(--red);
  3361. }
  3362. .text-orange,
  3363. .line-orange,
  3364. .lines-orange {
  3365. color: var(--orange);
  3366. }
  3367. .text-yellow,
  3368. .line-yellow,
  3369. .lines-yellow {
  3370. color: var(--yellow);
  3371. }
  3372. .text-olive,
  3373. .line-olive,
  3374. .lines-olive {
  3375. color: var(--olive);
  3376. }
  3377. .text-green,
  3378. .line-green,
  3379. .lines-green {
  3380. color: var(--green);
  3381. }
  3382. .text-cyan,
  3383. .line-cyan,
  3384. .lines-cyan {
  3385. color: var(--cyan);
  3386. }
  3387. .text-blue,
  3388. .line-blue,
  3389. .lines-blue {
  3390. color: var(--blue);
  3391. }
  3392. .text-purple,
  3393. .line-purple,
  3394. .lines-purple {
  3395. color: var(--purple);
  3396. }
  3397. .text-mauve,
  3398. .line-mauve,
  3399. .lines-mauve {
  3400. color: var(--mauve);
  3401. }
  3402. .text-pink,
  3403. .line-pink,
  3404. .lines-pink {
  3405. color: var(--pink);
  3406. }
  3407. .text-brown,
  3408. .line-brown,
  3409. .lines-brown {
  3410. color: var(--brown);
  3411. }
  3412. .text-grey,
  3413. .line-grey,
  3414. .lines-grey {
  3415. color: var(--grey);
  3416. }
  3417. .text-gray,
  3418. .line-gray,
  3419. .lines-gray {
  3420. color: var(--gray);
  3421. }
  3422. .text-black,
  3423. .line-black,
  3424. .lines-black {
  3425. color: var(--black);
  3426. }
  3427. .text-white,
  3428. .line-white,
  3429. .lines-white {
  3430. color: var(--white);
  3431. }