style.css 75 KB

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