main.css 62 KB

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