main.css 69 KB

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