main.css 63 KB

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