main.css 63 KB

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