style.css 73 KB

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