main.css 57 KB

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