style.css 78 KB

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