main.css 63 KB

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