main.css 63 KB

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