main.css 64 KB

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