main.css 72 KB

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