main.css 69 KB

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