12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926 |
- /*
- ColorUi for uniApp v2.1.6 | by 文晓港 2019-05-31 10:44:24
- 仅供学习交流,如作它用所承受的法律责任一概与作者无关
-
- *使用ColorUi开发扩展与插件时,请注明基于ColorUi开发
-
- (QQ交流群:240787041)
- */
- /* ==================
- 初始化
- ==================== */
- body {
- background-color: #f8f8f8;
- font-size: 28upx;
- color: #333333;
- font-family: Helvetica Neue, Helvetica, sans-serif;
- }
- view,
- scroll-view,
- swiper,
- button,
- input,
- textarea,
- label,
- navigator,
- image {
- box-sizing: border-box;
- }
- .round {
- border-radius: 5000upx;
- }
- .radius {
- border-radius: 6upx;
- }
- /* ==================
- 图片
- ==================== */
- image {
- max-width: 100%;
- display: inline-block;
- position: relative;
- z-index: 0;
- }
- image.loading::before {
- content: "";
- background-color: #f5f5f5;
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- z-index: -2;
- }
- image.loading::after {
- content: "\e7f1";
- font-family: "cuIcon";
- position: absolute;
- top: 0;
- left: 0;
- width: 32upx;
- height: 32upx;
- line-height: 32upx;
- right: 0;
- bottom: 0;
- z-index: -1;
- font-size: 32upx;
- margin: auto;
- color: #ccc;
- -webkit-animation: cuIcon-spin 2s infinite linear;
- animation: cuIcon-spin 2s infinite linear;
- display: block;
- }
- .response {
- width: 100%;
- }
- /* ==================
- 开关
- ==================== */
- switch,
- checkbox,
- radio {
- position: relative;
- }
- switch::after,
- switch::before {
- font-family: "cuIcon";
- content: "\e645";
- position: absolute;
- color: #ffffff !important;
- top: 0%;
- left: 0upx;
- font-size: 26upx;
- line-height: 26px;
- width: 50%;
- text-align: center;
- pointer-events: none;
- transform: scale(0, 0);
- transition: all 0.3s ease-in-out 0s;
- z-index: 9;
- bottom: 0;
- height: 26px;
- margin: auto;
- }
- switch::before {
- content: "\e646";
- right: 0;
- transform: scale(1, 1);
- left: auto;
- }
- switch[checked]::after,
- switch.checked::after {
- transform: scale(1, 1);
- }
- switch[checked]::before,
- switch.checked::before {
- transform: scale(0, 0);
- }
- /* #ifndef MP-ALIPAY */
- radio::before,
- checkbox::before {
- font-family: "cuIcon";
- content: "\e645";
- position: absolute;
- color: #ffffff !important;
- top: 50%;
- margin-top: -8px;
- right: 5px;
- font-size: 32upx;
- line-height: 16px;
- pointer-events: none;
- transform: scale(1, 1);
- transition: all 0.3s ease-in-out 0s;
- z-index: 9;
- }
- radio .wx-radio-input,
- checkbox .wx-checkbox-input,
- radio .uni-radio-input,
- checkbox .uni-checkbox-input {
- margin: 0;
- width: 24px;
- height: 24px;
- }
- checkbox.round .wx-checkbox-input,
- checkbox.round .uni-checkbox-input {
- border-radius: 100upx;
- }
- /* #endif */
- switch[checked]::before {
- transform: scale(0, 0);
- }
- switch .wx-switch-input,
- switch .uni-switch-input {
- border: none;
- padding: 0 24px;
- width: 48px;
- height: 26px;
- margin: 0;
- border-radius: 100upx;
- }
- switch .wx-switch-input:not([class*="bg-"]),
- switch .uni-switch-input:not([class*="bg-"]) {
- background: #8799a3 !important;
- }
- switch .wx-switch-input::after,
- switch .uni-switch-input::after {
- margin: auto;
- width: 26px;
- height: 26px;
- border-radius: 100upx;
- left: 0upx;
- top: 0upx;
- bottom: 0upx;
- position: absolute;
- transform: scale(0.9, 0.9);
- transition: all 0.1s ease-in-out 0s;
- }
- switch .wx-switch-input.wx-switch-input-checked::after,
- switch .uni-switch-input.uni-switch-input-checked::after {
- margin: auto;
- left: 22px;
- box-shadow: none;
- transform: scale(0.9, 0.9);
- }
- radio-group {
- display: inline-block;
- }
- switch.radius .wx-switch-input::after,
- switch.radius .wx-switch-input,
- switch.radius .wx-switch-input::before,
- switch.radius .uni-switch-input::after,
- switch.radius .uni-switch-input,
- switch.radius .uni-switch-input::before {
- border-radius: 10upx;
- }
- switch .wx-switch-input::before,
- radio.radio::before,
- checkbox .wx-checkbox-input::before,
- radio .wx-radio-input::before,
- switch .uni-switch-input::before,
- radio.radio::before,
- checkbox .uni-checkbox-input::before,
- radio .uni-radio-input::before {
- display: none;
- }
- radio.radio[checked]::after,
- radio.radio .uni-radio-input-checked::after {
- content: "";
- background-color: transparent;
- display: block;
- position: absolute;
- width: 8px;
- height: 8px;
- z-index: 999;
- top: 0upx;
- left: 0upx;
- right: 0;
- bottom: 0;
- margin: auto;
- border-radius: 200upx;
- /* #ifndef MP */
- border: 7px solid #ffffff !important;
- /* #endif */
- /* #ifdef MP */
- border: 8px solid #ffffff !important;
- /* #endif */
- }
- .switch-sex::after {
- content: "\e71c";
- }
- .switch-sex::before {
- content: "\e71a";
- }
- .switch-sex .wx-switch-input,
- .switch-sex .uni-switch-input {
- background: #e54d42 !important;
- border-color: #e54d42 !important;
- }
- .switch-sex[checked] .wx-switch-input,
- .switch-sex.checked .uni-switch-input {
- background: #0081ff !important;
- border-color: #0081ff !important;
- }
- switch.red[checked] .wx-switch-input.wx-switch-input-checked,
- checkbox.red[checked] .wx-checkbox-input,
- radio.red[checked] .wx-radio-input,
- switch.red.checked .uni-switch-input.uni-switch-input-checked,
- checkbox.red.checked .uni-checkbox-input,
- radio.red.checked .uni-radio-input {
- background-color: #e54d42 !important;
- border-color: #e54d42 !important;
- color: #ffffff !important;
- }
- switch.orange[checked] .wx-switch-input,
- checkbox.orange[checked] .wx-checkbox-input,
- radio.orange[checked] .wx-radio-input,
- switch.orange.checked .uni-switch-input,
- checkbox.orange.checked .uni-checkbox-input,
- radio.orange.checked .uni-radio-input {
- background-color: #f37b1d !important;
- border-color: #f37b1d !important;
- color: #ffffff !important;
- }
- switch.yellow[checked] .wx-switch-input,
- checkbox.yellow[checked] .wx-checkbox-input,
- radio.yellow[checked] .wx-radio-input,
- switch.yellow.checked .uni-switch-input,
- checkbox.yellow.checked .uni-checkbox-input,
- radio.yellow.checked .uni-radio-input {
- background-color: #fbbd08 !important;
- border-color: #fbbd08 !important;
- color: #333333 !important;
- }
- switch.olive[checked] .wx-switch-input,
- checkbox.olive[checked] .wx-checkbox-input,
- radio.olive[checked] .wx-radio-input,
- switch.olive.checked .uni-switch-input,
- checkbox.olive.checked .uni-checkbox-input,
- radio.olive.checked .uni-radio-input {
- background-color: #8dc63f !important;
- border-color: #8dc63f !important;
- color: #ffffff !important;
- }
- switch.green[checked] .wx-switch-input,
- switch[checked] .wx-switch-input,
- checkbox.green[checked] .wx-checkbox-input,
- checkbox[checked] .wx-checkbox-input,
- radio.green[checked] .wx-radio-input,
- radio[checked] .wx-radio-input,
- switch.green.checked .uni-switch-input,
- switch.checked .uni-switch-input,
- checkbox.green.checked .uni-checkbox-input,
- checkbox.checked .uni-checkbox-input,
- radio.green.checked .uni-radio-input,
- radio.checked .uni-radio-input {
- background-color: #39b54a !important;
- border-color: #39b54a !important;
- color: #ffffff !important;
- border-color: #39B54A !important;
- }
- switch.cyan[checked] .wx-switch-input,
- checkbox.cyan[checked] .wx-checkbox-input,
- radio.cyan[checked] .wx-radio-input,
- switch.cyan.checked .uni-switch-input,
- checkbox.cyan.checked .uni-checkbox-input,
- radio.cyan.checked .uni-radio-input {
- background-color: #1cbbb4 !important;
- border-color: #1cbbb4 !important;
- color: #ffffff !important;
- }
- switch.blue[checked] .wx-switch-input,
- checkbox.blue[checked] .wx-checkbox-input,
- radio.blue[checked] .wx-radio-input,
- switch.blue.checked .uni-switch-input,
- checkbox.blue.checked .uni-checkbox-input,
- radio.blue.checked .uni-radio-input {
- background-color: #0081ff !important;
- border-color: #0081ff !important;
- color: #ffffff !important;
- }
- switch.purple[checked] .wx-switch-input,
- checkbox.purple[checked] .wx-checkbox-input,
- radio.purple[checked] .wx-radio-input,
- switch.purple.checked .uni-switch-input,
- checkbox.purple.checked .uni-checkbox-input,
- radio.purple.checked .uni-radio-input {
- background-color: #6739b6 !important;
- border-color: #6739b6 !important;
- color: #ffffff !important;
- }
- switch.mauve[checked] .wx-switch-input,
- checkbox.mauve[checked] .wx-checkbox-input,
- radio.mauve[checked] .wx-radio-input,
- switch.mauve.checked .uni-switch-input,
- checkbox.mauve.checked .uni-checkbox-input,
- radio.mauve.checked .uni-radio-input {
- background-color: #9c26b0 !important;
- border-color: #9c26b0 !important;
- color: #ffffff !important;
- }
- switch.pink[checked] .wx-switch-input,
- checkbox.pink[checked] .wx-checkbox-input,
- radio.pink[checked] .wx-radio-input,
- switch.pink.checked .uni-switch-input,
- checkbox.pink.checked .uni-checkbox-input,
- radio.pink.checked .uni-radio-input {
- background-color: #e03997 !important;
- border-color: #e03997 !important;
- color: #ffffff !important;
- }
- switch.brown[checked] .wx-switch-input,
- checkbox.brown[checked] .wx-checkbox-input,
- radio.brown[checked] .wx-radio-input,
- switch.brown.checked .uni-switch-input,
- checkbox.brown.checked .uni-checkbox-input,
- radio.brown.checked .uni-radio-input {
- background-color: #a5673f !important;
- border-color: #a5673f !important;
- color: #ffffff !important;
- }
- switch.grey[checked] .wx-switch-input,
- checkbox.grey[checked] .wx-checkbox-input,
- radio.grey[checked] .wx-radio-input,
- switch.grey.checked .uni-switch-input,
- checkbox.grey.checked .uni-checkbox-input,
- radio.grey.checked .uni-radio-input {
- background-color: #8799a3 !important;
- border-color: #8799a3 !important;
- color: #ffffff !important;
- }
- switch.gray[checked] .wx-switch-input,
- checkbox.gray[checked] .wx-checkbox-input,
- radio.gray[checked] .wx-radio-input,
- switch.gray.checked .uni-switch-input,
- checkbox.gray.checked .uni-checkbox-input,
- radio.gray.checked .uni-radio-input {
- background-color: #f0f0f0 !important;
- border-color: #f0f0f0 !important;
- color: #333333 !important;
- }
- switch.black[checked] .wx-switch-input,
- checkbox.black[checked] .wx-checkbox-input,
- radio.black[checked] .wx-radio-input,
- switch.black.checked .uni-switch-input,
- checkbox.black.checked .uni-checkbox-input,
- radio.black.checked .uni-radio-input {
- background-color: #333333 !important;
- border-color: #333333 !important;
- color: #ffffff !important;
- }
- switch.white[checked] .wx-switch-input,
- checkbox.white[checked] .wx-checkbox-input,
- radio.white[checked] .wx-radio-input,
- switch.white.checked .uni-switch-input,
- checkbox.white.checked .uni-checkbox-input,
- radio.white.checked .uni-radio-input {
- background-color: #ffffff !important;
- border-color: #ffffff !important;
- color: #333333 !important;
- }
- /* ==================
- 边框
- ==================== */
- /* -- 实线 -- */
- .solid,
- .solid-top,
- .solid-right,
- .solid-bottom,
- .solid-left,
- .solids,
- .solids-top,
- .solids-right,
- .solids-bottom,
- .solids-left,
- .dashed,
- .dashed-top,
- .dashed-right,
- .dashed-bottom,
- .dashed-left {
- position: relative;
- }
- .solid::after,
- .solid-top::after,
- .solid-right::after,
- .solid-bottom::after,
- .solid-left::after,
- .solids::after,
- .solids-top::after,
- .solids-right::after,
- .solids-bottom::after,
- .solids-left::after,
- .dashed::after,
- .dashed-top::after,
- .dashed-right::after,
- .dashed-bottom::after,
- .dashed-left::after {
- content: " ";
- width: 200%;
- height: 200%;
- position: absolute;
- top: 0;
- left: 0;
- border-radius: inherit;
- transform: scale(0.5);
- transform-origin: 0 0;
- pointer-events: none;
- box-sizing: border-box;
- }
- .solid::after {
- border: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-top::after {
- border-top: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-right::after {
- border-right: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-bottom::after {
- border-bottom: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-left::after {
- border-left: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solids::after {
- border: 8upx solid #eee;
- }
- .solids-top::after {
- border-top: 8upx solid #eee;
- }
- .solids-right::after {
- border-right: 8upx solid #eee;
- }
- .solids-bottom::after {
- border-bottom: 8upx solid #eee;
- }
- .solids-left::after {
- border-left: 8upx solid #eee;
- }
- /* -- 虚线 -- */
- .dashed::after {
- border: 1upx dashed #ddd;
- }
- .dashed-top::after {
- border-top: 1upx dashed #ddd;
- }
- .dashed-right::after {
- border-right: 1upx dashed #ddd;
- }
- .dashed-bottom::after {
- border-bottom: 1upx dashed #ddd;
- }
- .dashed-left::after {
- border-left: 1upx dashed #ddd;
- }
- /* -- 阴影 -- */
- .shadow[class*='white'] {
- --ShadowSize: 0 1upx 6upx;
- }
- .shadow-lg {
- --ShadowSize: 0upx 40upx 100upx 0upx;
- }
- .shadow-warp {
- position: relative;
- box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);
- }
- .shadow-warp:before,
- .shadow-warp:after {
- position: absolute;
- content: "";
- top: 20upx;
- bottom: 30upx;
- left: 20upx;
- width: 50%;
- box-shadow: 0 30upx 20upx rgba(0, 0, 0, 0.2);
- transform: rotate(-3deg);
- z-index: -1;
- }
- .shadow-warp:after {
- right: 20upx;
- left: auto;
- transform: rotate(3deg);
- }
- .shadow-blur {
- position: relative;
- }
- .shadow-blur::before {
- content: "";
- display: block;
- background: inherit;
- filter: blur(10upx);
- position: absolute;
- width: 100%;
- height: 100%;
- top: 10upx;
- left: 10upx;
- z-index: -1;
- opacity: 0.4;
- transform-origin: 0 0;
- border-radius: inherit;
- transform: scale(1, 1);
- }
- /* ==================
- 按钮
- ==================== */
- .cu-btn {
- position: relative;
- border: 0upx;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- padding: 0 30upx;
- font-size: 28upx;
- height: 64upx;
- line-height: 1;
- text-align: center;
- text-decoration: none;
- overflow: visible;
- margin-left: initial;
- transform: translate(0upx, 0upx);
- margin-right: initial;
- }
- .cu-btn::after {
- display: none;
- }
- .cu-btn:not([class*="bg-"]) {
- background-color: #f0f0f0;
- }
- .cu-btn[class*="line"] {
- background-color: transparent;
- }
- .cu-btn[class*="line"]::after {
- content: " ";
- display: block;
- width: 200%;
- height: 200%;
- position: absolute;
- top: 0;
- left: 0;
- border: 1upx solid currentColor;
- transform: scale(0.5);
- transform-origin: 0 0;
- box-sizing: border-box;
- border-radius: 12upx;
- z-index: 1;
- pointer-events: none;
- }
- .cu-btn.round[class*="line"]::after {
- border-radius: 1000upx;
- }
- .cu-btn[class*="lines"]::after {
- border: 6upx solid currentColor;
- }
- .cu-btn[class*="bg-"]::after {
- display: none;
- }
- .cu-btn.sm {
- padding: 0 20upx;
- font-size: 20upx;
- height: 48upx;
- }
- .cu-btn.lg {
- padding: 0 40upx;
- font-size: 32upx;
- height: 80upx;
- }
- .cu-btn.cuIcon.sm {
- width: 48upx;
- height: 48upx;
- }
- .cu-btn.cuIcon {
- width: 64upx;
- height: 64upx;
- border-radius: 500upx;
- padding: 0;
- }
- button.cuIcon.lg {
- width: 80upx;
- height: 80upx;
- }
- .cu-btn.shadow-blur::before {
- top: 4upx;
- left: 4upx;
- filter: blur(6upx);
- opacity: 0.6;
- }
- .cu-btn.button-hover {
- transform: translate(1upx, 1upx);
- }
- .block {
- display: block;
- }
- .cu-btn.block {
- display: flex;
- }
- .cu-btn[disabled] {
- opacity: 0.6;
- color: #ffffff;
- }
- /* ==================
- 徽章
- ==================== */
- .cu-tag {
- font-size: 22upx;
- vertical-align: middle;
- position: relative;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- padding: 0upx 16upx;
- height: 40upx;
- font-family: Helvetica Neue, Helvetica, sans-serif;
- white-space: nowrap;
- }
- .cu-tag:not([class*="bg"]):not([class*="line"]) {
- background-color: #f1f1f1;
- }
- .cu-tag[class*="line-"]::after {
- content: " ";
- width: 200%;
- height: 200%;
- position: absolute;
- top: 0;
- left: 0;
- border: 1upx solid currentColor;
- transform: scale(0.5);
- transform-origin: 0 0;
- box-sizing: border-box;
- border-radius: inherit;
- z-index: 1;
- pointer-events: none;
- }
- .cu-tag.radius[class*="line"]::after {
- border-radius: 12upx;
- }
- .cu-tag.round[class*="line"]::after {
- border-radius: 1000upx;
- }
- .cu-tag[class*="line-"]::after {
- border-radius: 0;
- }
- .cu-tag+.cu-tag {
- margin-left: 10upx;
- }
- .cu-tag.sm {
- font-size: 20upx;
- padding: 0upx 12upx;
- height: 32upx;
- }
- .cu-capsule {
- display: inline-flex;
- vertical-align: middle;
- }
- .cu-capsule+.cu-capsule {
- margin-left: 10upx;
- }
- .cu-capsule .cu-tag {
- margin: 0;
- }
- .cu-capsule .cu-tag[class*="line-"]:last-child::after {
- border-left: 0upx solid transparent;
- }
- .cu-capsule .cu-tag[class*="line-"]:first-child::after {
- border-right: 0upx solid transparent;
- }
- .cu-capsule.radius .cu-tag:first-child {
- border-top-left-radius: 6upx;
- border-bottom-left-radius: 6upx;
- }
- .cu-capsule.radius .cu-tag:last-child::after,
- .cu-capsule.radius .cu-tag[class*="line-"] {
- border-top-right-radius: 12upx;
- border-bottom-right-radius: 12upx;
- }
- .cu-capsule.round .cu-tag:first-child {
- border-top-left-radius: 200upx;
- border-bottom-left-radius: 200upx;
- text-indent: 4upx;
- }
- .cu-capsule.round .cu-tag:last-child::after,
- .cu-capsule.round .cu-tag:last-child {
- border-top-right-radius: 200upx;
- border-bottom-right-radius: 200upx;
- text-indent: -4upx;
- }
- .cu-tag.badge {
- border-radius: 200upx;
- position: absolute;
- top: -10upx;
- right: -10upx;
- font-size: 20upx;
- padding: 0upx 10upx;
- height: 28upx;
- color: #ffffff;
- }
- .cu-tag.badge:not([class*="bg-"]) {
- background-color: #dd514c;
- }
- .cu-tag:empty:not([class*="cuIcon-"]) {
- padding: 0upx;
- width: 16upx;
- height: 16upx;
- top: -4upx;
- right: -4upx;
- }
- .cu-tag[class*="cuIcon-"] {
- width: 32upx;
- height: 32upx;
- top: -4upx;
- right: -4upx;
- }
- /* ==================
- 头像
- ==================== */
- .cu-avatar {
- font-variant: small-caps;
- margin: 0;
- padding: 0;
- display: inline-flex;
- text-align: center;
- justify-content: center;
- align-items: center;
- background-color: #ccc;
- color: #ffffff;
- white-space: nowrap;
- position: relative;
- width: 64upx;
- height: 64upx;
- background-size: cover;
- background-position: center;
- vertical-align: middle;
- font-size: 1.5em;
- }
- .cu-avatar.sm {
- width: 48upx;
- height: 48upx;
- font-size: 1em;
- }
- .cu-avatar.lg {
- width: 96upx;
- height: 96upx;
- font-size: 2em;
- }
- .cu-avatar.xl {
- width: 128upx;
- height: 128upx;
- font-size: 2.5em;
- }
- .cu-avatar .avatar-text {
- font-size: 0.4em;
- }
- .cu-avatar-group {
- direction: rtl;
- unicode-bidi: bidi-override;
- padding: 0 10upx 0 40upx;
- display: inline-block;
- }
- .cu-avatar-group .cu-avatar {
- margin-left: -30upx;
- border: 4upx solid #f1f1f1;
- vertical-align: middle;
- }
- .cu-avatar-group .cu-avatar.sm {
- margin-left: -20upx;
- border: 1upx solid #f1f1f1;
- }
- /* ==================
- 进度条
- ==================== */
- .cu-progress {
- overflow: hidden;
- height: 28upx;
- background-color: #ebeef5;
- display: inline-flex;
- align-items: center;
- width: 100%;
- }
- .cu-progress+view,
- .cu-progress+text {
- line-height: 1;
- }
- .cu-progress.xs {
- height: 10upx;
- }
- .cu-progress.sm {
- height: 20upx;
- }
- .cu-progress view {
- width: 0;
- height: 100%;
- align-items: center;
- display: flex;
- justify-items: flex-end;
- justify-content: space-around;
- font-size: 20upx;
- color: #ffffff;
- transition: width 0.6s ease;
- }
- .cu-progress text {
- align-items: center;
- display: flex;
- font-size: 20upx;
- color: #333333;
- text-indent: 10upx;
- }
- .cu-progress.text-progress {
- padding-right: 60upx;
- }
- .cu-progress.striped view {
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
- background-size: 72upx 72upx;
- }
- .cu-progress.active view {
- animation: progress-stripes 2s linear infinite;
- }
- @keyframes progress-stripes {
- from {
- background-position: 72upx 0;
- }
- to {
- background-position: 0 0;
- }
- }
- /* ==================
- 加载
- ==================== */
- .cu-load {
- display: block;
- line-height: 3em;
- text-align: center;
- }
- .cu-load::before {
- font-family: "cuIcon";
- display: inline-block;
- margin-right: 6upx;
- }
- .cu-load.loading::before {
- content: "\e67a";
- animation: cuIcon-spin 2s infinite linear;
- }
- .cu-load.loading::after {
- content: "加载中...";
- }
- .cu-load.over::before {
- content: "\e64a";
- }
- .cu-load.over::after {
- content: "没有更多了";
- }
- .cu-load.erro::before {
- content: "\e658";
- }
- .cu-load.erro::after {
- content: "加载失败";
- }
- .cu-load.load-cuIcon::before {
- font-size: 32upx;
- }
- .cu-load.load-cuIcon::after {
- display: none;
- }
- .cu-load.load-cuIcon.over {
- display: none;
- }
- .cu-load.load-modal {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 140upx;
- left: 0;
- margin: auto;
- width: 260upx;
- height: 260upx;
- background-color: #ffffff;
- border-radius: 10upx;
- box-shadow: 0 0 0upx 2000upx rgba(0, 0, 0, 0.5);
- display: flex;
- align-items: center;
- flex-direction: column;
- justify-content: center;
- font-size: 28upx;
- z-index: 9999;
- line-height: 2.4em;
- }
- .cu-load.load-modal [class*="cuIcon-"] {
- font-size: 60upx;
- }
- .cu-load.load-modal image {
- width: 70upx;
- height: 70upx;
- }
- .cu-load.load-modal::after {
- content: "";
- position: absolute;
- background-color: #ffffff;
- border-radius: 50%;
- width: 200upx;
- height: 200upx;
- font-size: 10px;
- border-top: 6upx solid rgba(0, 0, 0, 0.05);
- border-right: 6upx solid rgba(0, 0, 0, 0.05);
- border-bottom: 6upx solid rgba(0, 0, 0, 0.05);
- border-left: 6upx solid #f37b1d;
- animation: cuIcon-spin 1s infinite linear;
- z-index: -1;
- }
- .load-progress {
- pointer-events: none;
- top: 0;
- position: fixed;
- width: 100%;
- left: 0;
- z-index: 2000;
- }
- .load-progress.hide {
- display: none;
- }
- .load-progress .load-progress-bar {
- position: relative;
- width: 100%;
- height: 4upx;
- overflow: hidden;
- transition: all 200ms ease 0s;
- }
- .load-progress .load-progress-spinner {
- position: absolute;
- top: 10upx;
- right: 10upx;
- z-index: 2000;
- display: block;
- }
- .load-progress .load-progress-spinner::after {
- content: "";
- display: block;
- width: 24upx;
- height: 24upx;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- border: solid 4upx transparent;
- border-top-color: inherit;
- border-left-color: inherit;
- border-radius: 50%;
- -webkit-animation: load-progress-spinner 0.4s linear infinite;
- animation: load-progress-spinner 0.4s linear infinite;
- }
- @-webkit-keyframes load-progress-spinner {
- 0% {
- -webkit-transform: rotate(0);
- transform: rotate(0);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- @keyframes load-progress-spinner {
- 0% {
- -webkit-transform: rotate(0);
- transform: rotate(0);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- /* ==================
- 列表
- ==================== */
- .grayscale {
- filter: grayscale(1);
- }
- .cu-list+.cu-list {
- margin-top: 30upx
- }
- .cu-list>.cu-item {
- transition: all .6s ease-in-out 0s;
- transform: translateX(0upx)
- }
- .cu-list>.cu-item.move-cur {
- transform: translateX(-180upx)
- }
- .cu-list>.cu-item .move {
- position: absolute;
- right: 0;
- display: flex;
- width: 260upx;
- height: 100%;
- transform: translateX(100%)
- }
- .cu-list>.cu-item .move view {
- display: flex;
- flex: 1;
- justify-content: center;
- align-items: center
- }
- .cu-list.menu-avatar {
- overflow: hidden;
- }
- .cu-list.menu-avatar>.cu-item {
- position: relative;
- display: flex;
- padding-right: 10upx;
- height: 140upx;
- background-color: #ffffff;
- justify-content: flex-end;
- align-items: center
- }
- .cu-list.menu-avatar>.cu-item>.cu-avatar {
- position: absolute;
- left: 30upx
- }
- .cu-list.menu-avatar>.cu-item .flex .text-cut {
- max-width: 510upx
- }
- .cu-list.menu-avatar>.cu-item .content {
- position: absolute;
- left: 146upx;
- width: calc(100% - 96upx - 60upx - 120upx - 20upx);
- line-height: 1.6em;
- }
- .cu-list.menu-avatar>.cu-item .content.flex-sub {
- width: calc(100% - 96upx - 60upx - 20upx);
- }
- .cu-list.menu-avatar>.cu-item .content>view:first-child {
- font-size: 30upx;
- display: flex;
- align-items: center
- }
- .cu-list.menu-avatar>.cu-item .content .cu-tag.sm {
- display: inline-block;
- margin-left: 10upx;
- height: 28upx;
- font-size: 16upx;
- line-height: 32upx
- }
- .cu-list.menu-avatar>.cu-item .action {
- width: 100upx;
- text-align: center
- }
- .cu-list.menu-avatar>.cu-item .action view+view {
- margin-top: 10upx
- }
- .cu-list.menu-avatar.comment>.cu-item .content {
- position: relative;
- left: 0;
- width: auto;
- flex: 1;
- }
- .cu-list.menu-avatar.comment>.cu-item {
- padding: 30upx 30upx 30upx 120upx;
- height: auto
- }
- .cu-list.menu-avatar.comment .cu-avatar {
- align-self: flex-start
- }
- .cu-list.menu>.cu-item {
- position: relative;
- display: flex;
- padding: 0 30upx;
- min-height: 100upx;
- background-color: #ffffff;
- justify-content: space-between;
- align-items: center
- }
- .cu-list.menu>.cu-item:last-child:after {
- border: none
- }
- .cu-list.menu-avatar>.cu-item:after,
- .cu-list.menu>.cu-item:after {
- position: absolute;
- top: 0;
- left: 0;
- box-sizing: border-box;
- width: 200%;
- height: 200%;
- border-bottom: 1upx solid #ddd;
- border-radius: inherit;
- content: " ";
- transform: scale(.5);
- transform-origin: 0 0;
- pointer-events: none
- }
- .cu-list.menu>.cu-item.grayscale {
- background-color: #f5f5f5
- }
- .cu-list.menu>.cu-item.cur {
- background-color: #fcf7e9
- }
- .cu-list.menu>.cu-item.arrow {
- padding-right: 90upx
- }
- .cu-list.menu>.cu-item.arrow:before {
- position: absolute;
- top: 0;
- right: 30upx;
- bottom: 0;
- display: block;
- margin: auto;
- width: 30upx;
- height: 30upx;
- color: #8799a3;
- content: "\e6a3";
- text-align: center;
- font-size: 34upx;
- font-family: cuIcon;
- line-height: 30upx
- }
- .cu-list.menu>.cu-item button.content {
- padding: 0;
- background-color: transparent;
- justify-content: flex-start
- }
- .cu-list.menu>.cu-item button.content:after {
- display: none
- }
- .cu-list.menu>.cu-item .cu-avatar-group .cu-avatar {
- border-color: #ffffff
- }
- .cu-list.menu>.cu-item .content>view:first-child {
- display: flex;
- align-items: center
- }
- .cu-list.menu>.cu-item .content>text[class*=cuIcon] {
- display: inline-block;
- margin-right: 10upx;
- width: 1.6em;
- text-align: center
- }
- .cu-list.menu>.cu-item .content>image {
- display: inline-block;
- margin-right: 10upx;
- width: 1.6em;
- height: 1.6em;
- vertical-align: middle
- }
- .cu-list.menu>.cu-item .content {
- font-size: 30upx;
- line-height: 1.6em;
- flex: 1
- }
- .cu-list.menu>.cu-item .content .cu-tag.sm {
- display: inline-block;
- margin-left: 10upx;
- height: 28upx;
- font-size: 16upx;
- line-height: 32upx
- }
- .cu-list.menu>.cu-item .action .cu-tag:empty {
- right: 10upx
- }
- .cu-list.menu {
- display: block;
- overflow: hidden
- }
- .cu-list.menu.sm-border>.cu-item:after {
- left: 30upx;
- width: calc(200% - 120upx)
- }
- .cu-list.grid>.cu-item {
- position: relative;
- display: flex;
- padding: 20upx 0 30upx;
- transition-duration: 0s;
- flex-direction: column
- }
- .cu-list.grid>.cu-item:after {
- position: absolute;
- top: 0;
- left: 0;
- box-sizing: border-box;
- width: 200%;
- height: 200%;
- border-right: 1px solid rgba(0, 0, 0, .1);
- border-bottom: 1px solid rgba(0, 0, 0, .1);
- border-radius: inherit;
- content: " ";
- transform: scale(.5);
- transform-origin: 0 0;
- pointer-events: none
- }
- .cu-list.grid>.cu-item text {
- display: block;
- margin-top: 10upx;
- color: #888;
- font-size: 26upx;
- line-height: 40upx
- }
- .cu-list.grid>.cu-item [class*=cuIcon] {
- position: relative;
- display: block;
- margin-top: 20upx;
- width: 100%;
- font-size: 48upx
- }
- .cu-list.grid>.cu-item .cu-tag {
- right: auto;
- left: 50%;
- margin-left: 20upx
- }
- .cu-list.grid {
- background-color: #ffffff;
- text-align: center
- }
- .cu-list.grid.no-border>.cu-item {
- padding-top: 10upx;
- padding-bottom: 20upx
- }
- .cu-list.grid.no-border>.cu-item:after {
- border: none
- }
- .cu-list.grid.no-border {
- padding: 20upx 10upx
- }
- .cu-list.grid.col-3>.cu-item:nth-child(3n):after,
- .cu-list.grid.col-4>.cu-item:nth-child(4n):after,
- .cu-list.grid.col-5>.cu-item:nth-child(5n):after {
- border-right-width: 0
- }
- .cu-list.card-menu {
- overflow: hidden;
- margin-right: 30upx;
- margin-left: 30upx;
- border-radius: 20upx
- }
- /* ==================
- 操作条
- ==================== */
- .cu-bar {
- display: flex;
- position: relative;
- align-items: center;
- min-height: 100upx;
- justify-content: space-between;
- }
- .cu-bar .action {
- display: flex;
- align-items: center;
- height: 100%;
- justify-content: center;
- max-width: 100%;
- }
- .cu-bar .action.border-title {
- position: relative;
- top: -10upx;
- }
- .cu-bar .action.border-title text[class*="bg-"]:last-child {
- position: absolute;
- bottom: -0.5rem;
- min-width: 2rem;
- height: 6upx;
- left: 0;
- }
- .cu-bar .action.sub-title {
- position: relative;
- top: -0.2rem;
- }
- .cu-bar .action.sub-title text {
- position: relative;
- z-index: 1;
- }
- .cu-bar .action.sub-title text[class*="bg-"]:last-child {
- position: absolute;
- display: inline-block;
- bottom: -0.2rem;
- border-radius: 6upx;
- width: 100%;
- height: 0.6rem;
- left: 0.6rem;
- opacity: 0.3;
- z-index: 0;
- }
- .cu-bar .action.sub-title text[class*="text-"]:last-child {
- position: absolute;
- display: inline-block;
- bottom: -0.7rem;
- left: 0.5rem;
- opacity: 0.2;
- z-index: 0;
- text-align: right;
- font-weight: 900;
- font-size: 36upx;
- }
- .cu-bar.justify-center .action.border-title text:last-child,
- .cu-bar.justify-center .action.sub-title text:last-child {
- left: 0;
- right: 0;
- margin: auto;
- text-align: center;
- }
- .cu-bar .action:first-child {
- margin-left: 30upx;
- font-size: 30upx;
- }
- .cu-bar .action text.text-cut {
- text-align: left;
- width: 100%;
- }
- .cu-bar .cu-avatar:first-child {
- margin-left: 20upx;
- }
- .cu-bar .action:first-child>text[class*="cuIcon-"] {
- margin-left: -0.3em;
- margin-right: 0.3em;
- }
- .cu-bar .action:last-child {
- margin-right: 30upx;
- }
- .cu-bar .action>text[class*="cuIcon-"],
- .cu-bar .action>view[class*="cuIcon-"] {
- font-size: 36upx;
- }
- .cu-bar .action>text[class*="cuIcon-"]+text[class*="cuIcon-"] {
- margin-left: 0.5em;
- }
- .cu-bar .content {
- position: absolute;
- text-align: center;
- width: calc(100% - 340upx);
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- margin: auto;
- height: 60upx;
- font-size: 32upx;
- line-height: 60upx;
- cursor: none;
- pointer-events: none;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
- .cu-bar.ios .content {
- bottom: 7px;
- height: 30px;
- font-size: 32upx;
- line-height: 30px;
- }
- .cu-bar.btn-group {
- justify-content: space-around;
- }
- .cu-bar.btn-group button {
- padding: 20upx 32upx;
- }
- .cu-bar.btn-group button {
- flex: 1;
- margin: 0 20upx;
- max-width: 50%;
- }
- .cu-bar .search-form {
- background-color: #f5f5f5;
- line-height: 64upx;
- height: 64upx;
- font-size: 24upx;
- color: #333333;
- flex: 1;
- display: flex;
- align-items: center;
- margin: 0 30upx;
- }
- .cu-bar .search-form+.action {
- margin-right: 30upx;
- }
- .cu-bar .search-form input {
- flex: 1;
- padding-right: 30upx;
- height: 64upx;
- line-height: 64upx;
- font-size: 26upx;
- background-color: transparent;
- }
- .cu-bar .search-form [class*="cuIcon-"] {
- margin: 0 0.5em 0 0.8em;
- }
- .cu-bar .search-form [class*="cuIcon-"]::before {
- top: 0upx;
- }
- .cu-bar.fixed,
- .nav.fixed {
- position: fixed;
- width: 100%;
- top: 0;
- z-index: 1024;
- box-shadow: 0 1upx 6upx rgba(0, 0, 0, 0.1);
- }
- .cu-bar.foot {
- position: fixed;
- width: 100%;
- bottom: 0;
- z-index: 1024;
- box-shadow: 0 -1upx 6upx rgba(0, 0, 0, 0.1);
- }
- .cu-bar.tabbar {
- padding: 0;
- height: calc(100upx + env(safe-area-inset-bottom) / 2);
- padding-bottom: calc(env(safe-area-inset-bottom) / 2);
- }
- .cu-tabbar-height {
- min-height: 100upx;
- height: calc(100upx + env(safe-area-inset-bottom) / 2);
- }
- .cu-bar.tabbar.shadow {
- box-shadow: 0 -1upx 6upx rgba(0, 0, 0, 0.1);
- }
- .cu-bar.tabbar .action {
- font-size: 22upx;
- position: relative;
- flex: 1;
- text-align: center;
- padding: 0;
- display: block;
- height: auto;
- line-height: 1;
- margin: 0;
- background-color: inherit;
- overflow: initial;
- }
- .cu-bar.tabbar.shop .action {
- width: 140upx;
- flex: initial;
- }
- .cu-bar.tabbar .action.add-action {
- position: relative;
- z-index: 2;
- padding-top: 52upx;
- }
- .cu-bar.tabbar .action.add-action [class*="cuIcon-"] {
- position: absolute;
- width: 70upx;
- z-index: 2;
- height: 70upx;
- border-radius: 50%;
- line-height: 70upx;
- font-size: 50upx;
- top: -35upx;
- left: 0;
- right: 0;
- margin: auto;
- padding: 0;
- }
- .cu-bar.tabbar .action.add-action::after {
- content: "";
- position: absolute;
- width: 100upx;
- height: 100upx;
- top: -52upx;
- left: 0;
- right: 0;
- margin: auto;
- box-shadow: 0 -3upx 8upx rgba(0, 0, 0, 0.08);
- border-radius: 50upx;
- background-color: inherit;
- z-index: 0;
- }
- .cu-bar.tabbar .action.add-action::before {
- content: "";
- position: absolute;
- width: 100upx;
- height: 30upx;
- bottom: 30upx;
- left: 0;
- right: 0;
- margin: auto;
- background-color: inherit;
- z-index: 1;
- }
- .cu-bar.tabbar .btn-group {
- flex: 1;
- display: flex;
- justify-content: space-around;
- align-items: center;
- padding: 0 10upx;
- }
- .cu-bar.tabbar button.action::after {
- border: 0;
- }
- .cu-bar.tabbar .action [class*="cuIcon-"] {
- width: 100upx;
- position: relative;
- display: block;
- height: auto;
- margin: 0 auto 10upx;
- text-align: center;
- font-size: 40upx;
- }
- .cu-bar.tabbar .action .cuIcon-cu-image {
- margin: 0 auto;
- }
- .cu-bar.tabbar .action .cuIcon-cu-image image {
- width: 50upx;
- height: 50upx;
- display: inline-block;
- }
- .cu-bar.tabbar .submit {
- align-items: center;
- display: flex;
- justify-content: center;
- text-align: center;
- position: relative;
- flex: 2;
- align-self: stretch;
- }
- .cu-bar.tabbar .submit:last-child {
- flex: 2.6;
- }
- .cu-bar.tabbar .submit+.submit {
- flex: 2;
- }
- .cu-bar.tabbar.border .action::before {
- content: " ";
- width: 200%;
- height: 200%;
- position: absolute;
- top: 0;
- left: 0;
- transform: scale(0.5);
- transform-origin: 0 0;
- border-right: 1upx solid rgba(0, 0, 0, 0.1);
- z-index: 3;
- }
- .cu-bar.tabbar.border .action:last-child:before {
- display: none;
- }
- .cu-bar.input {
- padding-right: 20upx;
- background-color: #ffffff;
- }
- .cu-bar.input input {
- overflow: initial;
- line-height: 64upx;
- height: 64upx;
- min-height: 64upx;
- flex: 1;
- font-size: 30upx;
- margin: 0 20upx;
- }
- .cu-bar.input .action {
- margin-left: 20upx;
- }
- .cu-bar.input .action [class*="cuIcon-"] {
- font-size: 48upx;
- }
- .cu-bar.input input+.action {
- margin-right: 20upx;
- margin-left: 0upx;
- }
- .cu-bar.input .action:first-child [class*="cuIcon-"] {
- margin-left: 0upx;
- }
- .cu-custom {
- display: block;
- position: relative;
- }
- .cu-custom .cu-bar .content {
- width: calc(100% - 440upx);
- }
- /* #ifdef MP-ALIPAY */
- .cu-custom .cu-bar .action .cuIcon-back {
- opacity: 0;
- }
- /* #endif */
- .cu-custom .cu-bar .content image {
- height: 60upx;
- width: 240upx;
- }
- .cu-custom .cu-bar {
- min-height: 0px;
- /* #ifdef MP-WEIXIN */
- padding-right: 220upx;
- /* #endif */
- /* #ifdef MP-ALIPAY */
- padding-right: 150upx;
- /* #endif */
- box-shadow: 0upx 0upx 0upx;
- z-index: 9999;
- }
- .cu-custom .cu-bar .border-custom {
- position: relative;
- background: rgba(0, 0, 0, 0.15);
- border-radius: 1000upx;
- height: 30px;
- }
- .cu-custom .cu-bar .border-custom::after {
- content: " ";
- width: 200%;
- height: 200%;
- position: absolute;
- top: 0;
- left: 0;
- border-radius: inherit;
- transform: scale(0.5);
- transform-origin: 0 0;
- pointer-events: none;
- box-sizing: border-box;
- border: 1upx solid #ffffff;
- opacity: 0.5;
- }
- .cu-custom .cu-bar .border-custom::before {
- content: " ";
- width: 1upx;
- height: 110%;
- position: absolute;
- top: 22.5%;
- left: 0;
- right: 0;
- margin: auto;
- transform: scale(0.5);
- transform-origin: 0 0;
- pointer-events: none;
- box-sizing: border-box;
- opacity: 0.6;
- background-color: #ffffff;
- }
- .cu-custom .cu-bar .border-custom text {
- display: block;
- flex: 1;
- margin: auto !important;
- text-align: center;
- font-size: 34upx;
- }
- /* ==================
- 导航栏
- ==================== */
- .nav {
- white-space: nowrap;
- }
- ::-webkit-scrollbar {
- display: none;
- }
- .nav .cu-item {
- height: 80upx;
- display: inline-block;
- line-height: 80upx;
- /* margin: 0 10upx;
- padding: 0 20upx; */
- }
- .nav .cu-item.cur {
- border-bottom: 4upx solid;
- }
- /* ==================
- 时间轴
- ==================== */
- .cu-timeline {
- display: block;
- background-color: #ffffff;
- }
- .cu-timeline .cu-time {
- width: 120upx;
- text-align: center;
- padding: 20upx 0;
- font-size: 26upx;
- color: #888;
- display: block;
- }
- .cu-timeline>.cu-item {
- padding: 30upx 30upx 30upx 120upx;
- position: relative;
- display: block;
- z-index: 0;
- }
- .cu-timeline>.cu-item:not([class*="text-"]) {
- color: #ccc;
- }
- .cu-timeline>.cu-item::after {
- content: "";
- display: block;
- position: absolute;
- width: 1upx;
- background-color: #ddd;
- left: 60upx;
- height: 100%;
- top: 0;
- z-index: 8;
- }
- .cu-timeline>.cu-item::before {
- font-family: "cuIcon";
- display: block;
- position: absolute;
- top: 36upx;
- z-index: 9;
- background-color: #ffffff;
- width: 50upx;
- height: 50upx;
- text-align: center;
- border: none;
- line-height: 50upx;
- left: 36upx;
- }
- .cu-timeline>.cu-item:not([class*="cuIcon-"])::before {
- content: "\e763";
- }
- .cu-timeline>.cu-item[class*="cuIcon-"]::before {
- background-color: #ffffff;
- width: 50upx;
- height: 50upx;
- text-align: center;
- border: none;
- line-height: 50upx;
- left: 36upx;
- }
- .cu-timeline>.cu-item>.content {
- padding: 30upx;
- border-radius: 6upx;
- display: block;
- line-height: 1.6;
- }
- .cu-timeline>.cu-item>.content:not([class*="bg-"]) {
- background-color: #f1f1f1;
- color: #333333;
- }
- .cu-timeline>.cu-item>.content+.content {
- margin-top: 20upx;
- }
- /* ==================
- 聊天
- ==================== */
- .cu-chat {
- display: flex;
- flex-direction: column;
- }
- .cu-chat .cu-item {
- display: flex;
- padding: 30upx 30upx 70upx;
- position: relative;
- }
- .cu-chat .cu-item>.cu-avatar {
- width: 80upx;
- height: 80upx;
- }
- .cu-chat .cu-item>.main {
- max-width: calc(100% - 260upx);
- margin: 0 40upx;
- display: flex;
- align-items: center;
- }
- .cu-chat .cu-item>image {
- height: 320upx;
- }
- .cu-chat .cu-item>.main .content {
- padding: 20upx;
- border-radius: 6upx;
- display: inline-flex;
- max-width: 100%;
- align-items: center;
- font-size: 30upx;
- position: relative;
- min-height: 80upx;
- line-height: 40upx;
- text-align: left;
- }
- .cu-chat .cu-item>.main .content:not([class*="bg-"]) {
- background-color: #ffffff;
- color: #333333;
- }
- .cu-chat .cu-item .date {
- position: absolute;
- font-size: 24upx;
- color: #8799a3;
- width: calc(100% - 320upx);
- bottom: 20upx;
- left: 160upx;
- }
- .cu-chat .cu-item .action {
- padding: 0 30upx;
- display: flex;
- align-items: center;
- }
- .cu-chat .cu-item>.main .content::after {
- content: "";
- top: 27upx;
- transform: rotate(45deg);
- position: absolute;
- z-index: 100;
- display: inline-block;
- overflow: hidden;
- width: 24upx;
- height: 24upx;
- left: -12upx;
- right: initial;
- background-color: inherit;
- }
- .cu-chat .cu-item.self>.main .content::after {
- left: auto;
- right: -12upx;
- }
- .cu-chat .cu-item>.main .content::before {
- content: "";
- top: 30upx;
- transform: rotate(45deg);
- position: absolute;
- z-index: -1;
- display: inline-block;
- overflow: hidden;
- width: 24upx;
- height: 24upx;
- left: -12upx;
- right: initial;
- background-color: inherit;
- filter: blur(5upx);
- opacity: 0.3;
- }
- .cu-chat .cu-item>.main .content:not([class*="bg-"])::before {
- background-color: #333333;
- opacity: 0.1;
- }
- .cu-chat .cu-item.self>.main .content::before {
- left: auto;
- right: -12upx;
- }
- .cu-chat .cu-item.self {
- justify-content: flex-end;
- text-align: right;
- }
- .cu-chat .cu-info {
- display: inline-block;
- margin: 20upx auto;
- font-size: 24upx;
- padding: 8upx 12upx;
- background-color: rgba(0, 0, 0, 0.2);
- border-radius: 6upx;
- color: #ffffff;
- max-width: 400upx;
- line-height: 1.4;
- }
- /* ==================
- 卡片
- ==================== */
- .cu-card {
- display: block;
- overflow: hidden;
- }
- .cu-card>.cu-item {
- display: block;
- background-color: #ffffff;
- overflow: hidden;
- border-radius: 10upx;
- margin: 30upx;
- }
- .cu-card>.cu-item.shadow-blur {
- overflow: initial;
- }
- .cu-card.no-card>.cu-item {
- margin: 0upx;
- border-radius: 0upx;
- }
- .cu-card .grid.grid-square {
- margin-bottom: -20upx;
- }
- .cu-card.case .image {
- position: relative;
- }
- .cu-card.case .image image {
- width: 100%;
- }
- .cu-card.case .image .cu-tag {
- position: absolute;
- right: 0;
- top: 0;
- }
- .cu-card.case .image .cu-bar {
- position: absolute;
- bottom: 0;
- width: 100%;
- background-color: transparent;
- padding: 0upx 30upx;
- }
- .cu-card.case.no-card .image {
- margin: 30upx 30upx 0;
- overflow: hidden;
- border-radius: 10upx;
- }
- .cu-card.dynamic {
- display: block;
- }
- .cu-card.dynamic>.cu-item {
- display: block;
- background-color: #ffffff;
- overflow: hidden;
- }
- .cu-card.dynamic>.cu-item>.text-content {
- padding: 0 30upx 0;
- max-height: 6.4em;
- overflow: hidden;
- font-size: 24upx;
- margin-bottom: 20upx;
- }
- .cu-card.dynamic>.cu-item .square-img {
- width: 100%;
- height: 200upx;
- border-radius: 6upx;
- }
- .cu-card.dynamic>.cu-item .only-img {
- width: 100%;
- height: 320upx;
- border-radius: 6upx;
- }
- /* card.dynamic>.cu-item .comment {
- padding: 20upx;
- background-color: #f1f1f1;
- margin: 0 30upx 30upx;
- border-radius: 6upx;
- } */
- .cu-card.article {
- display: block;
- }
- .cu-card.article>.cu-item {
- /* padding-bottom: 30upx; */
- }
- .cu-card.article>.cu-item .title {
- font-size: 30upx;
- font-weight: 900;
- color: #333333;
- line-height: 80upx;
- /* padding: 0 30upx; */
- }
- .cu-card.article>.cu-item .content {
- display: flex;
- /* padding: 0 30upx; */
- }
- .cu-card.article>.cu-item .content>image {
- width: 240upx;
- height: 6.4em;
- margin-right: 20upx;
- margin-bottom: 20upx;
- border-radius: 6upx;
- }
- .cu-card.article>.cu-item .content .desc {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .cu-card.article>.cu-item .content .text-content {
- font-size: 24upx;
- color: #888;
- height: 4.8em;
- overflow: hidden;
- }
- /* ==================
- 表单
- ==================== */
- .cu-form-group {
- background-color: #ffffff;
- padding: 1upx 30upx;
- display: flex;
- align-items: center;
- min-height: 80upx;
- justify-content: space-between;
- font-size: 24upx;
- }
- .cu-form-group+.cu-form-group {
- border-top: 1upx solid #eee;
- }
- .cu-form-group .title {
- text-align: justify;
- padding-right: 30upx;
- font-size: 24upx;
- position: relative;
- height: 60upx;
- line-height: 60upx;
- /* width: 160upx; */
- }
- .cu-form-group input {
- flex: 1;
- font-size: 24upx;
- color: #555;
- padding-right: 20upx;
- }
- .cu-form-group>text[class*="cuIcon-"] {
- font-size: 36upx;
- padding: 0;
- box-sizing: border-box;
- }
- .cu-form-group textarea {
- margin: 32upx 0 30upx;
- height: 4.6em;
- width: 100%;
- line-height: 1.2em;
- flex: 1;
- font-size: 28upx;
- padding: 0;
- }
- .cu-form-group.align-start .title {
- height: 1em;
- margin-top: 32upx;
- line-height: 1em;
- }
- .cu-form-group picker {
- flex: 1;
- padding-right: 40upx;
- overflow: hidden;
- position: relative;
- }
- .cu-form-group picker .picker {
- line-height: 80upx;
- font-size: 24upx;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- width: 100%;
- text-align: right;
- }
- .cu-form-group picker::after {
- font-family: cuIcon;
- display: block;
- content: "\e6a3";
- position: absolute;
- font-size: 34upx;
- color: #8799a3;
- line-height: 80upx;
- width: 60upx;
- text-align: center;
- top: 0;
- bottom: 0;
- right: -20upx;
- margin: auto;
- }
- .cu-form-group textarea[disabled],
- .cu-form-group textarea[disabled] .placeholder {
- color: transparent;
- }
- /* ==================
- 模态窗口
- ==================== */
- .cu-modal {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1110;
- opacity: 0;
- outline: 0;
- text-align: center;
- -ms-transform: scale(1.185);
- transform: scale(1.185);
- backface-visibility: hidden;
- perspective: 2000upx;
- background: rgba(0, 0, 0, 0.6);
- transition: all 0.3s ease-in-out 0s;
- pointer-events: none;
- }
- .cu-modal::before {
- content: "\200B";
- display: inline-block;
- height: 100%;
- vertical-align: middle;
- }
- .cu-modal.show {
- opacity: 1;
- transition-duration: 0.3s;
- -ms-transform: scale(1);
- transform: scale(1);
- overflow-x: hidden;
- overflow-y: auto;
- pointer-events: auto;
- }
- .cu-dialog {
- position: relative;
- display: inline-block;
- vertical-align: middle;
- margin-left: auto;
- margin-right: auto;
- width: 680upx;
- max-width: 100%;
- background-color: #f8f8f8;
- border-radius: 10upx;
- overflow: hidden;
- }
- .cu-modal.bottom-modal::before {
- vertical-align: bottom;
- }
- .cu-modal.bottom-modal .cu-dialog {
- width: 100%;
- border-radius: 0;
- }
- .cu-modal.bottom-modal {
- margin-bottom: -1000upx;
- }
- .cu-modal.bottom-modal.show {
- margin-bottom: 0;
- }
- .cu-modal.drawer-modal {
- transform: scale(1);
- display: flex;
- }
- .cu-modal.drawer-modal .cu-dialog {
- height: 100%;
- min-width: 200upx;
- border-radius: 0;
- margin: initial;
- transition-duration: 0.3s;
- }
- .cu-modal.drawer-modal.justify-start .cu-dialog {
- transform: translateX(-100%);
- }
- .cu-modal.drawer-modal.justify-end .cu-dialog {
- transform: translateX(100%);
- }
- .cu-modal.drawer-modal.show .cu-dialog {
- transform: translateX(0%);
- }
- .cu-modal .cu-dialog>.cu-bar:first-child .action{
- min-width: 100rpx;
- margin-right: 0;
- min-height: 100rpx;
- }
- /* ==================
- 轮播
- ==================== */
- swiper .a-swiper-dot {
- display: inline-block;
- width: 16upx;
- height: 16upx;
- background: rgba(0, 0, 0, .3);
- border-radius: 50%;
- vertical-align: middle;
- }
- swiper[class*="-dot"] .wx-swiper-dots,
- swiper[class*="-dot"] .a-swiper-dots,
- swiper[class*="-dot"] .uni-swiper-dots {
- display: flex;
- align-items: center;
- width: 100%;
- justify-content: center;
- }
- swiper.square-dot .wx-swiper-dot,
- swiper.square-dot .a-swiper-dot,
- swiper.square-dot .uni-swiper-dot {
- background-color: #ffffff;
- opacity: 0.4;
- width: 10upx;
- height: 10upx;
- border-radius: 20upx;
- margin: 0 8upx !important;
- }
- swiper.square-dot .wx-swiper-dot.wx-swiper-dot-active,
- swiper.square-dot .a-swiper-dot.a-swiper-dot-active,
- swiper.square-dot .uni-swiper-dot.uni-swiper-dot-active {
- opacity: 1;
- width: 30upx;
- }
- swiper.round-dot .wx-swiper-dot,
- swiper.round-dot .a-swiper-dot,
- swiper.round-dot .uni-swiper-dot {
- width: 10upx;
- height: 10upx;
- position: relative;
- margin: 4upx 8upx !important;
- }
- swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active::after,
- swiper.round-dot .a-swiper-dot.a-swiper-dot-active::after,
- swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active::after {
- content: "";
- position: absolute;
- width: 10upx;
- height: 10upx;
- top: 0upx;
- left: 0upx;
- right: 0;
- bottom: 0;
- margin: auto;
- background-color: #ffffff;
- border-radius: 20upx;
- }
- swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active,
- swiper.round-dot .a-swiper-dot.a-swiper-dot-active,
- swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active {
- width: 18upx;
- height: 18upx;
- }
- .screen-swiper {
- min-height: 375upx;
- }
- .screen-swiper image,
- .screen-swiper video,
- .swiper-item image,
- .swiper-item video {
- width: 100%;
- display: block;
- height: 100%;
- margin: 0;
- pointer-events: none;
- }
- .card-swiper {
- height: 420upx !important;
- }
- .card-swiper swiper-item {
- width: 610upx !important;
- left: 70upx;
- box-sizing: border-box;
- padding: 40upx 0upx 70upx;
- overflow: initial;
- }
- .card-swiper swiper-item .swiper-item {
- width: 100%;
- display: block;
- height: 100%;
- border-radius: 10upx;
- transform: scale(0.9);
- transition: all 0.2s ease-in 0s;
- overflow: hidden;
- }
- .card-swiper swiper-item.cur .swiper-item {
- transform: none;
- transition: all 0.2s ease-in 0s;
- }
- .tower-swiper {
- height: 420upx;
- position: relative;
- max-width: 750upx;
- overflow: hidden;
- }
- .tower-swiper .tower-item {
- position: absolute;
- width: 300upx;
- height: 380upx;
- top: 0;
- bottom: 0;
- left: 50%;
- margin: auto;
- transition: all 0.2s ease-in 0s;
- opacity: 1;
- }
- .tower-swiper .tower-item.none {
- opacity: 0;
- }
- .tower-swiper .tower-item .swiper-item {
- width: 100%;
- height: 100%;
- border-radius: 6upx;
- overflow: hidden;
- }
- /* ==================
- 步骤条
- ==================== */
- .cu-steps {
- display: flex;
- }
- scroll-view.cu-steps {
- display: block;
- white-space: nowrap;
- }
- scroll-view.cu-steps .cu-item {
- display: inline-block;
- }
- .cu-steps .cu-item {
- flex: 1;
- text-align: center;
- position: relative;
- min-width: 100upx;
- }
- .cu-steps .cu-item:not([class*="text-"]) {
- color: #8799a3;
- }
- .cu-steps .cu-item [class*="cuIcon-"],
- .cu-steps .cu-item .num {
- display: block;
- font-size: 40upx;
- line-height: 80upx;
- }
- .cu-steps .cu-item::before,
- .cu-steps .cu-item::after,
- .cu-steps.steps-arrow .cu-item::before,
- .cu-steps.steps-arrow .cu-item::after {
- content: "";
- display: block;
- position: absolute;
- height: 0px;
- width: calc(100% - 80upx);
- border-bottom: 1px solid #ccc;
- left: calc(0px - (100% - 80upx) / 2);
- top: 40upx;
- z-index: 0;
- }
- .cu-steps.steps-arrow .cu-item::before,
- .cu-steps.steps-arrow .cu-item::after {
- content: "\e6a3";
- font-family: 'cuIcon';
- height: 30upx;
- border-bottom-width: 0px;
- line-height: 30upx;
- top: 0;
- bottom: 0;
- margin: auto;
- color: #ccc;
- }
- .cu-steps.steps-bottom .cu-item::before,
- .cu-steps.steps-bottom .cu-item::after {
- bottom: 40upx;
- top: initial;
- }
- .cu-steps .cu-item::after {
- border-bottom: 1px solid currentColor;
- width: 0px;
- transition: all 0.3s ease-in-out 0s;
- }
- .cu-steps .cu-item[class*="text-"]::after {
- width: calc(100% - 80upx);
- color: currentColor;
- }
- .cu-steps .cu-item:first-child::before,
- .cu-steps .cu-item:first-child::after {
- display: none;
- }
- .cu-steps .cu-item .num {
- width: 40upx;
- height: 40upx;
- border-radius: 50%;
- line-height: 40upx;
- margin: 20upx auto;
- font-size: 24upx;
- border: 1px solid currentColor;
- position: relative;
- overflow: hidden;
- }
- .cu-steps .cu-item[class*="text-"] .num {
- background-color: currentColor;
- }
- .cu-steps .cu-item .num::before,
- .cu-steps .cu-item .num::after {
- content: attr(data-index);
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- margin: auto;
- transition: all 0.3s ease-in-out 0s;
- transform: translateY(0upx);
- }
- .cu-steps .cu-item[class*="text-"] .num::before {
- transform: translateY(-40upx);
- color: #ffffff;
- }
- .cu-steps .cu-item .num::after {
- transform: translateY(40upx);
- color: #ffffff;
- transition: all 0.3s ease-in-out 0s;
- }
- .cu-steps .cu-item[class*="text-"] .num::after {
- content: "\e645";
- font-family: 'cuIcon';
- color: #ffffff;
- transform: translateY(0upx);
- }
- .cu-steps .cu-item[class*="text-"] .num.err::after {
- content: "\e646";
- }
- /* ==================
- 布局
- ==================== */
- /* -- flex弹性布局 -- */
- .flex {
- display: flex;
- }
- .basis-xs {
- flex-basis: 20%;
- }
- .basis-sm {
- flex-basis: 40%;
- }
- .basis-df {
- flex-basis: 50%;
- }
- .basis-lg {
- flex-basis: 60%;
- }
- .basis-xl {
- flex-basis: 80%;
- }
- .flex-sub {
- flex: 1;
- }
- .flex-twice {
- flex: 2;
- }
- .flex-treble {
- flex: 3;
- }
- .flex-direction {
- flex-direction: column;
- }
- .flex-wrap {
- flex-wrap: wrap;
- }
- .align-start {
- align-items: flex-start;
- }
- .align-end {
- align-items: flex-end;
- }
- .align-center {
- align-items: center;
- }
- .align-stretch {
- align-items: stretch;
- }
- .self-start {
- align-self: flex-start;
- }
- .self-center {
- align-self: flex-center;
- }
- .self-end {
- align-self: flex-end;
- }
- .self-stretch {
- align-self: stretch;
- }
- .align-stretch {
- align-items: stretch;
- }
- .justify-start {
- justify-content: flex-start;
- }
- .justify-end {
- justify-content: flex-end;
- }
- .justify-center {
- justify-content: center;
- }
- .justify-between {
- justify-content: space-between;
- }
- .justify-around {
- justify-content: space-around;
- }
- /* grid布局 */
- .grid {
- display: flex;
- flex-wrap: wrap;
- }
- .grid.grid-square {
- overflow: hidden;
- }
- .grid.grid-square .cu-tag {
- position: absolute;
- right: 0;
- top: 0;
- border-bottom-left-radius: 6upx;
- padding: 6upx 12upx;
- height: auto;
- background-color: rgba(0, 0, 0, 0.5);
- }
- .grid.grid-square>view>text[class*="cuIcon-"] {
- font-size: 52upx;
- position: absolute;
- color: #8799a3;
- margin: auto;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- }
- .grid.grid-square>view {
- margin-right: 20upx;
- margin-bottom: 20upx;
- border-radius: 6upx;
- position: relative;
- overflow: hidden;
- }
- .grid.grid-square>view.bg-img image {
- width: 100%;
- height: 100%;
- position: absolute;
- }
- .grid.col-1.grid-square>view {
- padding-bottom: 100%;
- height: 0;
- margin-right: 0;
- }
- .grid.col-2.grid-square>view {
- padding-bottom: calc((100% - 20upx)/2);
- height: 0;
- width: calc((100% - 20upx)/2);
- }
- .grid.col-3.grid-square>view {
- padding-bottom: calc((100% - 40upx)/3);
- height: 0;
- width: calc((100% - 40upx)/3);
- }
- .grid.col-4.grid-square>view {
- padding-bottom: calc((100% - 60upx)/4);
- height: 0;
- width: calc((100% - 60upx)/4);
- }
- .grid.col-5.grid-square>view {
- padding-bottom: calc((100% - 80upx)/5);
- height: 0;
- width: calc((100% - 80upx)/5);
- }
- .grid.col-2.grid-square>view:nth-child(2n),
- .grid.col-3.grid-square>view:nth-child(3n),
- .grid.col-4.grid-square>view:nth-child(4n),
- .grid.col-5.grid-square>view:nth-child(5n) {
- margin-right: 0;
- }
- .grid.col-1>view {
- width: 100%;
- }
- .grid.col-2>view {
- width: 50%;
- }
- .grid.col-3>view {
- width: 33.33%;
- }
- .grid.col-4>view {
- width: 25%;
- }
- .grid.col-5>view {
- width: 20%;
- }
- /* -- 内外边距 -- */
- .margin-0 {
- margin: 0;
- }
- .margin-xs {
- margin: 10upx;
- }
- .margin-sm {
- margin: 20upx;
- }
- .margin {
- margin: 30upx;
- }
- .margin-lg {
- margin: 40upx;
- }
- .margin-xl {
- margin: 50upx;
- }
- .margin-top-xs {
- margin-top: 10upx;
- }
- .margin-top-sm {
- margin-top: 20upx;
- }
- .margin-top {
- margin-top: 30upx;
- }
- .margin-top-lg {
- margin-top: 40upx;
- }
- .margin-top-xl {
- margin-top: 50upx;
- }
- .margin-right-xs {
- margin-right: 10upx;
- }
- .margin-right-sm {
- margin-right: 20upx;
- }
- .margin-right {
- margin-right: 30upx;
- }
- .margin-right-lg {
- margin-right: 40upx;
- }
- .margin-right-xl {
- margin-right: 50upx;
- }
- .margin-bottom-xs {
- margin-bottom: 10upx;
- }
- .margin-bottom-sm {
- margin-bottom: 20upx;
- }
- .margin-bottom {
- margin-bottom: 30upx;
- }
- .margin-bottom-lg {
- margin-bottom: 40upx;
- }
- .margin-bottom-xl {
- margin-bottom: 50upx;
- }
- .margin-left-xs {
- margin-left: 10upx;
- }
- .margin-left-sm {
- margin-left: 20upx;
- }
- .margin-left {
- margin-left: 30upx;
- }
- .margin-left-lg {
- margin-left: 40upx;
- }
- .margin-left-xl {
- margin-left: 50upx;
- }
- .margin-lr-xs {
- margin-left: 10upx;
- margin-right: 10upx;
- }
- .margin-lr-sm {
- margin-left: 20upx;
- margin-right: 20upx;
- }
- .margin-lr {
- margin-left: 30upx;
- margin-right: 30upx;
- }
- .margin-lr-lg {
- margin-left: 40upx;
- margin-right: 40upx;
- }
- .margin-lr-xl {
- margin-left: 50upx;
- margin-right: 50upx;
- }
- .margin-tb-xs {
- margin-top: 10upx;
- margin-bottom: 10upx;
- }
- .margin-tb-sm {
- /* margin-top: 20upx; */
- margin-bottom: 20upx;
- }
- .margin-tb {
- margin-top: 30upx;
- margin-bottom: 30upx;
- }
- .margin-tb-lg {
- margin-top: 40upx;
- margin-bottom: 40upx;
- }
- .margin-tb-xl {
- margin-top: 50upx;
- margin-bottom: 50upx;
- }
- .padding-0 {
- padding: 0;
- }
- .padding-xs {
- padding: 10upx;
- }
- .padding-sm {
- padding: 20upx;
- }
- .padding {
- padding: 30upx;
- }
- .padding-lg {
- padding: 40upx;
- }
- .padding-xl {
- padding: 50upx;
- }
- .padding-top-xs {
- padding-top: 10upx;
- }
- .padding-top-sm {
- padding-top: 20upx;
- }
- .padding-top {
- padding-top: 30upx;
- }
- .padding-top-lg {
- padding-top: 40upx;
- }
- .padding-top-xl {
- padding-top: 50upx;
- }
- .padding-right-xs {
- padding-right: 10upx;
- }
- .padding-right-sm {
- padding-right: 20upx;
- }
- .padding-right {
- padding-right: 30upx;
- }
- .padding-right-lg {
- padding-right: 40upx;
- }
- .padding-right-xl {
- padding-right: 50upx;
- }
- .padding-bottom-xs {
- padding-bottom: 10upx;
- }
- .padding-bottom-sm {
- padding-bottom: 20upx;
- }
- .padding-bottom {
- padding-bottom: 30upx;
- }
- .padding-bottom-lg {
- padding-bottom: 40upx;
- }
- .padding-bottom-xl {
- padding-bottom: 50upx;
- }
- .padding-left-xs {
- padding-left: 10upx;
- }
- .padding-left-sm {
- padding-left: 20upx;
- }
- .padding-left {
- padding-left: 30upx;
- }
- .padding-left-lg {
- padding-left: 40upx;
- }
- .padding-left-xl {
- padding-left: 50upx;
- }
- .padding-lr-xs {
- padding-left: 10upx;
- padding-right: 10upx;
- }
- .padding-lr-sm {
- padding-left: 20upx;
- padding-right: 20upx;
- }
- .padding-lr {
- padding-left: 30upx;
- padding-right: 30upx;
- }
- .padding-lr-lg {
- padding-left: 40upx;
- padding-right: 40upx;
- }
- .padding-lr-xl {
- padding-left: 50upx;
- padding-right: 50upx;
- }
- .padding-tb-xs {
- padding-top: 10upx;
- padding-bottom: 10upx;
- }
- .padding-tb-sm {
- padding-top: 20upx;
- padding-bottom: 20upx;
- }
- .padding-tb {
- padding-top: 30upx;
- padding-bottom: 30upx;
- }
- .padding-tb-lg {
- padding-top: 40upx;
- padding-bottom: 40upx;
- }
- .padding-tb-xl {
- padding-top: 50upx;
- padding-bottom: 50upx;
- }
- /* -- 浮动 -- */
- .cf::after,
- .cf::before {
- content: " ";
- display: table;
- }
- .cf::after {
- clear: both;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- /* ==================
- 背景
- ==================== */
- .line-red::after,
- .lines-red::after {
- border-color: #e54d42;
- }
- .line-orange::after,
- .lines-orange::after {
- border-color: #f37b1d;
- }
- .line-yellow::after,
- .lines-yellow::after {
- border-color: #fbbd08;
- }
- .line-olive::after,
- .lines-olive::after {
- border-color: #8dc63f;
- }
- .line-green::after,
- .lines-green::after {
- border-color: #39b54a;
- }
- .line-cyan::after,
- .lines-cyan::after {
- border-color: #1cbbb4;
- }
- .line-blue::after,
- .lines-blue::after {
- border-color: #0081ff;
- }
- .line-purple::after,
- .lines-purple::after {
- border-color: #6739b6;
- }
- .line-mauve::after,
- .lines-mauve::after {
- border-color: #9c26b0;
- }
- .line-pink::after,
- .lines-pink::after {
- border-color: #e03997;
- }
- .line-brown::after,
- .lines-brown::after {
- border-color: #a5673f;
- }
- .line-grey::after,
- .lines-grey::after {
- border-color: #8799a3;
- }
- .line-gray::after,
- .lines-gray::after {
- border-color: #aaaaaa;
- }
- .line-black::after,
- .lines-black::after {
- border-color: #333333;
- }
- .line-white::after,
- .lines-white::after {
- border-color: #ffffff;
- }
- .bg-red {
- background-color: #de1c31;
- color: #ffffff;
- }
- .bg-orange {
- background-color: #f37b1d;
- color: #ffffff;
- }
- .bg-yellow {
- background-color: #fbbd08;
- color: #333333;
- }
- .bg-olive {
- background-color: #8dc63f;
- color: #ffffff;
- }
- .bg-green {
- background-color: #39b54a;
- color: #ffffff;
- }
- .bg-cyan {
- background-color: #1cbbb4;
- color: #ffffff;
- }
- .bg-blue {
- background-color: #56ccf2;
- color: #ffffff;
- }
- .bg-purple {
- background-color: #6739b6;
- color: #ffffff;
- }
- .bg-mauve {
- background-color: #9c26b0;
- color: #ffffff;
- }
- .bg-pink {
- background-color: #e03997;
- color: #ffffff;
- }
- .bg-brown {
- background-color: #a5673f;
- color: #ffffff;
- }
- .bg-grey {
- background-color: #8799a3;
- color: #ffffff;
- }
- .bg-gray {
- background-color: #f0f0f0;
- color: #333333;
- }
- .bg-black {
- background-color: #333333;
- color: #ffffff;
- }
- .bg-white {
- background-color: #ffffff;
- color: #666666;
- }
- .bg-shadeTop {
- background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
- color: #ffffff;
- }
- .bg-shadeBottom {
- background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
- color: #ffffff;
- }
- .bg-red.light {
- color: #e54d42;
- background-color: #fadbd9;
- }
- .bg-orange.light {
- color: #f37b1d;
- background-color: #fde6d2;
- }
- .bg-yellow.light {
- color: #fbbd08;
- background-color: #fef2ced2;
- }
- .bg-olive.light {
- color: #8dc63f;
- background-color: #e8f4d9;
- }
- .bg-green.light {
- color: #39b54a;
- background-color: #d7f0dbff;
- }
- .bg-cyan.light {
- color: #1cbbb4;
- background-color: #d2f1f0;
- }
- .bg-blue.light {
- color: #0081ff;
- background-color: #cce6ff;
- }
- .bg-purple.light {
- color: #6739b6;
- background-color: #e1d7f0;
- }
- .bg-mauve.light {
- color: #9c26b0;
- background-color: #ebd4ef;
- }
- .bg-pink.light {
- color: #e03997;
- background-color: #f9d7ea;
- }
- .bg-brown.light {
- color: #a5673f;
- background-color: #ede1d9;
- }
- .bg-grey.light {
- color: #8799a3;
- background-color: #e7ebed;
- }
- .bg-gradual-red {
- background-image: linear-gradient(45deg, #f43f3b, #ec008c);
- color: #ffffff;
- }
- .bg-gradual-orange {
- background-image: linear-gradient(45deg, #ff9700, #ed1c24);
- color: #ffffff;
- }
- .bg-gradual-green {
- background-image: linear-gradient(45deg, #39b54a, #8dc63f);
- color: #ffffff;
- }
- .bg-gradual-purple {
- background-image: linear-gradient(45deg, #9000ff, #5e00ff);
- color: #ffffff;
- }
- .bg-gradual-pink {
- background-image: linear-gradient(45deg, #ec008c, #6739b6);
- color: #ffffff;
- }
- .bg-gradual-blue {
- background-image: linear-gradient(45deg, #0081ff, #1cbbb4);
- color: #ffffff;
- }
- .shadow[class*="-red"] {
- box-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
- }
- .shadow[class*="-orange"] {
- box-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
- }
- .shadow[class*="-yellow"] {
- box-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
- }
- .shadow[class*="-olive"] {
- box-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
- }
- .shadow[class*="-green"] {
- box-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
- }
- .shadow[class*="-cyan"] {
- box-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
- }
- .shadow[class*="-blue"] {
- box-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
- }
- .shadow[class*="-purple"] {
- box-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
- }
- .shadow[class*="-mauve"] {
- box-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
- }
- .shadow[class*="-pink"] {
- box-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
- }
- .shadow[class*="-brown"] {
- box-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
- }
- .shadow[class*="-grey"] {
- box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .shadow[class*="-gray"] {
- box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .shadow[class*="-black"] {
- box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
- }
- .shadow[class*="-white"] {
- box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
- }
- .text-shadow[class*="-red"] {
- text-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
- }
- .text-shadow[class*="-orange"] {
- text-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
- }
- .text-shadow[class*="-yellow"] {
- text-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
- }
- .text-shadow[class*="-olive"] {
- text-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
- }
- .text-shadow[class*="-green"] {
- text-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
- }
- .text-shadow[class*="-cyan"] {
- text-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
- }
- .text-shadow[class*="-blue"] {
- text-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
- }
- .text-shadow[class*="-purple"] {
- text-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
- }
- .text-shadow[class*="-mauve"] {
- text-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
- }
- .text-shadow[class*="-pink"] {
- text-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
- }
- .text-shadow[class*="-brown"] {
- text-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
- }
- .text-shadow[class*="-grey"] {
- text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .text-shadow[class*="-gray"] {
- text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .text-shadow[class*="-black"] {
- text-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
- }
- .bg-img {
- background-size: cover;
- background-position: center;
- background-repeat: no-repeat;
- }
- .bg-mask {
- background-color: #333333;
- position: relative;
- }
- .bg-mask::after {
- content: "";
- border-radius: inherit;
- width: 100%;
- height: 100%;
- display: block;
- background-color: rgba(0, 0, 0, 0.4);
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- }
- .bg-mask view,
- .bg-mask cover-view {
- z-index: 5;
- position: relative;
- }
- .bg-video {
- position: relative;
- }
- .bg-video video {
- display: block;
- height: 100%;
- width: 100%;
- -o-object-fit: cover;
- object-fit: cover;
- position: absolute;
- top: 0;
- z-index: 0;
- pointer-events: none;
- }
- /* ==================
- 文本
- ==================== */
- .text-xs {
- font-size: 20upx;
- }
- .text-sm {
- font-size: 24upx;
- }
- .text-df {
- font-size: 28upx;
- }
- .text-lg {
- font-size: 32upx;
- }
- .text-xl {
- font-size: 36upx;
- }
- .text-xxl {
- font-size: 44upx;
- }
- .text-sl {
- font-size: 80upx;
- }
- .text-xsl {
- font-size: 120upx;
- }
- .text-Abc {
- text-transform: Capitalize;
- }
- .text-ABC {
- text-transform: Uppercase;
- }
- .text-abc {
- text-transform: Lowercase;
- }
- .text-price::before {
- content: "¥";
- font-size: 80%;
- margin-right: 4upx;
- }
- .text-water::before {
- content: "💧<=";
- font-size: 80%;
- margin-right: 4upx;
- }
- .text-bluk::before {
- content: "▨>=";
- font-size: 80%;
- margin-right: 4upx;
- }
- .text-cut {
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
- .text-bold {
- font-weight: bold;
- }
- .text-center {
- text-align: center;
- }
- .text-content {
- line-height: 1.6;
- }
- .text-left {
- text-align: left;
- }
- .text-right {
- text-align: right;
- }
- .text-red,
- .line-red,
- .lines-red {
- color: #e54d42;
- }
- .text-orange,
- .line-orange,
- .lines-orange {
- color: #f37b1d;
- }
- .text-yellow,
- .line-yellow,
- .lines-yellow {
- color: #fbbd08;
- }
- .text-olive,
- .line-olive,
- .lines-olive {
- color: #8dc63f;
- }
- .text-green,
- .line-green,
- .lines-green {
- color: #39b54a;
- }
- .text-cyan,
- .line-cyan,
- .lines-cyan {
- color: #1cbbb4;
- }
- .text-blue,
- .line-blue,
- .lines-blue {
- color: #56ccf2;;
- }
- .text-purple,
- .line-purple,
- .lines-purple {
- color: #6739b6;
- }
- .text-mauve,
- .line-mauve,
- .lines-mauve {
- color: #9c26b0;
- }
- .text-pink,
- .line-pink,
- .lines-pink {
- /* color: #0081ff; */
- color:#26781B;
- /* color:#4eadfe; */
- }
- .text-brown,
- .line-brown,
- .lines-brown {
- color: #a5673f;
- }
- .text-grey,
- .line-grey,
- .lines-grey {
- color: #8799a3;
- }
- .text-gray,
- .line-gray,
- .lines-gray {
- color: #aaaaaa;
- }
- .text-black,
- .line-black,
- .lines-black {
- color: #333333;
- }
- .text-white,
- .line-white,
- .lines-white {
- color: #ffffff;
- }
|