blog.css 62 KB

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