main.scss 63 KB

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