colorui.css 65 KB

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