app.wxss 68 KB

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