main.css 62 KB

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