colorui-main.css 63 KB

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