From 56fd31191439d2e4cab46ec4d0344ac85d40663b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Fri, 16 Aug 2024 09:45:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 ++++---- package.json | 6 ++---- postcss.config.js | 7 +++++++ src/App.vue | 4 +--- src/components/NavigationBar/index.vue | 4 ++-- src/views/login.vue | 8 ++++++-- 6 files changed, 22 insertions(+), 15 deletions(-) create mode 100644 postcss.config.js diff --git a/.env.development b/.env.development index e471c3c..66ec939 100644 --- a/.env.development +++ b/.env.development @@ -5,12 +5,12 @@ VUE_APP_TITLE = 人口数据管理系统 ENV = 'development' # # 政务网/开发环境 -# VUE_APP_BASE_API_HTML = "http://122.193.93.182:19002" -# VUE_APP_BASE_API = 'http://122.193.93.182:19002' +VUE_APP_BASE_API_HTML = "http://122.193.93.182:19002" +VUE_APP_BASE_API = 'http://122.193.93.182:19002' # 测试/开发环境 -VUE_APP_BASE_API_HTML = "http://192.168.0.120:19002" -VUE_APP_BASE_API = "http://192.168.0.120:19002" +# VUE_APP_BASE_API_HTML = "http://192.168.0.120:19002" +# VUE_APP_BASE_API = "http://192.168.0.120:19002" # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/package.json b/package.json index bd63c09..e968903 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.8.8", - "description": "人口数据管理系统", + "description": "若依管理系统", "author": "若依", "license": "MIT", "scripts": { @@ -38,7 +38,6 @@ "dependencies": { "@riophae/vue-treeselect": "0.4.0", "animate.css": "^4.1.1", - "autofit.js": "^3.1.1", "axios": "0.28.1", "clipboard": "2.0.8", "core-js": "3.37.1", @@ -51,12 +50,11 @@ "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", "leaflet": "^1.9.4", - "lodash": "^4.17.21", "nprogress": "0.2.0", + "postcss-px-to-viewport": "^1.1.1", "quill": "1.3.7", "screenfull": "5.0.2", "sortablejs": "1.10.2", - "v-scale-screen": "^1.0.3", "vue": "2.6.12", "vue-count-to": "1.0.13", "vue-cropper": "0.5.5", diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..679139f --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,7 @@ +module.exports = { + plugins: { + "postcss-px-to-viewport": { + viewportWidth: 1920, + }, + }, +}; diff --git a/src/App.vue b/src/App.vue index 9579018..72ef42a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,8 @@