main.css 63 KB

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