main.css 64 KB

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