From 835b25d9403e8ac4022907a87acf998a09ce48e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Wed, 13 Nov 2024 14:36:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=A4=A7=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E5=8D=A1=E9=A1=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + postcss.config.js | 18 +++++++++--------- src/App.vue | 10 +++++++++- src/views/car.vue | 9 ++++++--- src/views/carInfo.vue | 12 ++++++++---- src/views/index.vue | 31 ++++++++++++++++++++++--------- vue.config.js | 4 ++-- 7 files changed, 57 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index db68c44..7f5db16 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ }, "dependencies": { "@riophae/vue-treeselect": "0.4.0", + "autofit.js": "^3.2.1", "axios": "0.24.0", "clipboard": "2.0.8", "core-js": "3.25.3", diff --git a/postcss.config.js b/postcss.config.js index c56ba55..f52012b 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,10 +1,10 @@ -module.exports = { - plugins: { - "postcss-px-to-viewport": { - viewportWidth: 1920, +// module.exports = { +// plugins: { +// "postcss-px-to-viewport": { +// // viewportWidth: 1920, - // viewportWidth: 6656, - // viewportHeight: 1792, - }, - }, -}; +// viewportWidth: 6656, +// viewportHeight: 1792, +// }, +// }, +// }; diff --git a/src/App.vue b/src/App.vue index 2a7aadb..47918ad 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,7 +7,7 @@