main.css 61 KB

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