From 677f19b81407aa1375c47a6e67741f69eef41418 Mon Sep 17 00:00:00 2001 From: 26947 <12@1> Date: Sat, 11 May 2024 09:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnavbar=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 5 +- pages/common/navbar/index.vue | 64 +++++++++++++++++++++++++ pages/index.vue | 88 ++++++++++++++++++++++------------- 3 files changed, 121 insertions(+), 36 deletions(-) create mode 100644 pages/common/navbar/index.vue diff --git a/App.vue b/App.vue index bd6c253..a22289c 100644 --- a/App.vue +++ b/App.vue @@ -43,10 +43,7 @@ box-sizing: border-box; } - image { - width: 100%; - height: auto; - } + /* Flex布局 */ diff --git a/pages/common/navbar/index.vue b/pages/common/navbar/index.vue new file mode 100644 index 0000000..d23f4d6 --- /dev/null +++ b/pages/common/navbar/index.vue @@ -0,0 +1,64 @@ + + + + + \ No newline at end of file diff --git a/pages/index.vue b/pages/index.vue index 78f594c..b52067d 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,28 +1,23 @@ + + + @@ -271,9 +266,51 @@ } -