main.css 62 KB

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