main.css 66 KB

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