main.css 61 KB

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