main.css 63 KB

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