From f466ae4fdc645c66c9f25e2e4598b9809e2b41af Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 13 一月 2024 22:56:49 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdc-front

---
 .postcssrc.js |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/.postcssrc.js b/.postcssrc.js
index 18c016f..741a3e4 100644
--- a/.postcssrc.js
+++ b/.postcssrc.js
@@ -1,3 +1,9 @@
+/*
+ * @Date: 2019-11-21 14:21:14
+ * @LastEditors: Sneed
+ * @LastEditTime: 2024-01-07 16:16:12
+ * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/.postcssrc.js
+ */
 // https://github.com/michael-ciniawsky/postcss-load-config
 
 module.exports = {
@@ -5,6 +11,12 @@
     "postcss-import": {},
     "postcss-url": {},
     // to edit target browsers: use "browserslist" field in package.json
-    "autoprefixer": {}
+    "autoprefixer": {},
+    'postcss-pxtorem': {
+        rootValue: 19, // 琛ㄧず鏍瑰厓绱犲瓧浣撳ぇ灏忔垨鏍规嵁input鍙傛暟杩斿洖鏍瑰厓绱犲瓧浣撳ぇ灏�
+        propList: ['*'], // 鍙互浠巔x鏇存敼涓簉em鐨勫睘鎬�, 閫氶厤绗�*琛ㄧず鍚敤鎵�鏈夊睘鎬�
+        selectorBlackList: ['.norem'], // 杩囨护鎺�.norem寮�澶寸殑class锛屼笉杩涜rem杞崲
+        exclude: ['node_modules']
+    }
   }
 }

--
Gitblit v1.9.3