main.css 64 KB

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