main.css 62 KB

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