colorui.css 63 KB

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