main.css 64 KB

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