main.css 63 KB

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