main.css 62 KB

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