main.css 54 KB

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