colorui.css 63 KB

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