From a6b40a1b80b586f7dbd874f3939f5e06fcc752d2 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期三, 04 一月 2023 19:24:14 +0800 Subject: [PATCH] '页面尺寸自适应初期调整' --- src/views/padSunmaryProcedure/Home.vue | 32 ++++++++++++++++++++++++++++---- 1 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/views/padSunmaryProcedure/Home.vue b/src/views/padSunmaryProcedure/Home.vue index 051c360..244253e 100644 --- a/src/views/padSunmaryProcedure/Home.vue +++ b/src/views/padSunmaryProcedure/Home.vue @@ -6,13 +6,37 @@ <script> export default { - name: "Home" + name: 'Home', + data() { + return {} + }, } </script> <style scoped> - .padHome{ - width: 100%; - height: 100%; +.padHome { + height: 100%; + overflow: auto; +} +/* @media screen and (min-width: 1200px){ + .padHome{ + font-size: 12px; + width: 100%; + height: 100%; + } } + @media only screen and (min-width: 768px) and(max-width: 1199px) { + .padHome{ + font-size: 16px; + width: 100%; + height: 100%; + } + } + @media only screen and (max-width: 768px) { + .padHome{ + font-size: 16px; + width: 100%; + height: 100%; + } + }*/ </style> -- Gitblit v1.9.1