main.css 73 KB

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