diff --git a/package.json b/package.json
index ebe26db..4b32e18 100644
--- a/package.json
+++ b/package.json
@@ -27,6 +27,11 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-react": "^3.1.0",
- "vite": "^4.2.0"
+ "autoprefixer": "^10.4.19",
+ "postcss": "^8.4.38",
+ "tailwindcss": "^3.4.3",
+ "vite": "^4.2.0",
+ "vite-plugin-windicss": "^1.9.3",
+ "windicss": "^3.5.6"
}
}
diff --git a/postcss.config.js b/postcss.config.js
new file mode 100644
index 0000000..2e7af2b
--- /dev/null
+++ b/postcss.config.js
@@ -0,0 +1,6 @@
+export default {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {},
+ },
+}
diff --git a/src/assets/global.css b/src/assets/global.css
index c668291..ca0ad13 100644
--- a/src/assets/global.css
+++ b/src/assets/global.css
@@ -1,3 +1,7 @@
+@import 'tailwindcss/base';
+@import 'tailwindcss/components';
+@import 'tailwindcss/utilities';
+
.logo {
float: left;
height: 36px;
@@ -5,7 +9,7 @@
background: rgba(255, 255, 255, 0.3);
}
-.reservation-highlight {
+.reservation-highlight {
color: rgba(255, 255, 255, 1);
background-color: rgba(255, 0, 0, 0.6);
}
@@ -16,4 +20,4 @@
align-items: center;
justify-content: center;
width: 100%;
-}
\ No newline at end of file
+}
diff --git a/src/config.js b/src/config.js
index 930f853..ef4330a 100644
--- a/src/config.js
+++ b/src/config.js
@@ -38,3 +38,4 @@ export const DATE_PRESETS = [
// 去年: [dayjs().subtract(1, "year").startOf("year"), moment().subtract(1, "year").endOf("year")],
];
export const arrManager = ["testzp","testzac","testycc","testlyj","testqqs","testjjh","testhn"];//特定账号加修改所属供应商的菜单 zp
+export const BUILD_VERSION = process.env.NODE_ENV === 'production' ? __BUILD_VERSION__ : process.env.NODE_ENV;
diff --git a/src/i18n/LanguageSwitcher.jsx b/src/i18n/LanguageSwitcher.jsx
index f2ac02d..ac1f009 100644
--- a/src/i18n/LanguageSwitcher.jsx
+++ b/src/i18n/LanguageSwitcher.jsx
@@ -19,7 +19,7 @@ const Language = () => {
/* 🌏🌐 */
return (