colorui.css 65 KB

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