main.css 63 KB

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