main.css 66 KB

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