main.acss 69 KB

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