diff --git a/src/App.vue b/src/App.vue index 92d9497..2bb5af1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -93,7 +93,7 @@ body { // 顶部信息 .topnav { width: 100%; - height: 14%; + height: 14vh; background-image: url("assets/index/topnav.png"); background-size: 100% 100%; background-repeat: no-repeat; @@ -107,7 +107,7 @@ body { .topImg { margin-top: 0.6%; width: 24%; - height: 12%; + height: 3vh; margin-left: auto; margin-right: auto; } @@ -174,7 +174,7 @@ body { //底部信息 .footer { width: 100%; - height: 60px; + height: 12vh; background-image: url("assets/g_footbg.png"); background-repeat: no-repeat; background-size: 100% 100%;