main.css 63 KB

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