colorui.css 63 KB

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