style.css 73 KB

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