摘要: Vant 中的样式默认使用 px 作为单位,如果需要使用 rem 单位,推荐使用以下两个工具: postcss-pxtorem 是一款 postcss 插件,用于将 px 单位转化为 rem lib-flexible 用于设置 rem 基准值 (1)使用 lib-flexible 动态设置 REM 阅读全文
posted @ 2021-06-01 13:51 javascript9527 阅读(299) 评论(0) 推荐(0) 编辑