main.css 58 KB

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