From 864b245a57ff4bedde93dd84c106e440f5bfef2a Mon Sep 17 00:00:00 2001 From: xuechunyuan <17853500702@163.com> Date: Tue, 7 Feb 2023 17:58:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=B1=E5=B1=B1=E4=B8=9Cjs=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=AF=B9=E6=8E=A5=E5=AE=8C=E6=88=90,?= =?UTF-8?q?=E5=8C=BB=E9=99=A2=E5=88=97=E8=A1=A8=E5=92=8C=E9=A1=BB=E7=9F=A5?= =?UTF-8?q?ui=E6=94=B9=E7=89=88=E6=9B=B4=E6=8D=A2=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + public/index.html | 2 +- src/components/Guidance.vue | 55 +++++++++++---- src/main.js | 3 + src/utils/aisdapp.js | 18 +++-- src/views/HomeView.vue | 129 ++++++++++++++++++++++++++++++------ yarn.lock | 24 ++++++- 7 files changed, 189 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 4830f0f..dc0b822 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dependencies": { "core-js": "^3.8.3", "vant": "^2.12.53", + "vconsole": "^3.15.0", "vue": "^2.6.14", "vue-axios": "^3.5.2", "vue-router": "^3.5.1", diff --git a/public/index.html b/public/index.html index ef8ab0f..4a26471 100644 --- a/public/index.html +++ b/public/index.html @@ -32,7 +32,7 @@ if (clientWidth >= 750) { docEl.style.fontSize = '100px'; //1rem = 100px } else { - docEl.style.fontSize = 100 * (clientWidth / 375) + 'px'; + docEl.style.fontSize = 100 * (clientWidth / 750) + 'px'; } }; if (!doc.addEventListener) return; diff --git a/src/components/Guidance.vue b/src/components/Guidance.vue index ba47e65..2e7c336 100644 --- a/src/components/Guidance.vue +++ b/src/components/Guidance.vue @@ -14,8 +14,8 @@
海慈医院体检预约须知海慈医院体检预约须知海慈医院体检预约须知海慈医院体检预约须知海慈医院体检预约须知海慈医院体检预约须知海慈医院体检预约须知海慈医院体检预约须知海慈医院体检预约须知