main.css 63 KB

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