main.css 64 KB

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