From 8d38e839ca1a3fef174161bc172ce01a29d16e24 Mon Sep 17 00:00:00 2001 From: yuanshan <42023847+piercezzs@users.noreply.github.com> Date: Fri, 10 Oct 2025 11:27:00 +0800 Subject: [PATCH] fix product-introduction 1440 --- postcss.config.js | 2 +- .../product-introduction/size1440/index.vue | 167 +++++++++--------- 2 files changed, 87 insertions(+), 82 deletions(-) diff --git a/postcss.config.js b/postcss.config.js index 5762702..bc2e378 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -37,7 +37,7 @@ export default { customPxToViewportPlugin({ defaultViewportWidth:1920, unitPrecision: 5, // 保留的小数位数 - selectorBlackList: [/^\.van/], // 以 .van 开头的类名不转换 + selectorBlackList: [/^\.van/, '.px-fixed'], // 以 .van 开头的类名不转换 minPixelValue: 1, // 小于或等于 1px 不转换 viewportUnit: "vw", // 转换后的单位 fontViewportUnit: "vw", // 字体单位 diff --git a/src/views/product-introduction/size1440/index.vue b/src/views/product-introduction/size1440/index.vue index 2db9a42..315dab6 100644 --- a/src/views/product-introduction/size1440/index.vue +++ b/src/views/product-introduction/size1440/index.vue @@ -2,14 +2,14 @@