diff --git a/src/assets/css/base.css b/src/assets/css/base.css index 72abe2b..229d55d 100644 --- a/src/assets/css/base.css +++ b/src/assets/css/base.css @@ -57,9 +57,11 @@ margin: 0; font-weight: normal; } - +html{ + height: 100%; +} body { - height: 100vh; + height: 100%; /* min-height: 100vh; */ color: var(--color-text); background: var(--color-background); diff --git a/src/layouts/index.vue b/src/layouts/index.vue index 92cc625..aab9078 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -1,43 +1,58 @@ \ No newline at end of file + diff --git a/src/views/home/components/layout.vue b/src/views/home/components/layout.vue index de8126a..895f74a 100644 --- a/src/views/home/components/layout.vue +++ b/src/views/home/components/layout.vue @@ -10,6 +10,7 @@ 立即体验 +