From 2886d8ee7872f6709b53a4bd84f95ffe0a26eafb Mon Sep 17 00:00:00 2001 From: 杨磊 <505174330@qq.com> Date: 星期一, 18 八月 2025 15:45:57 +0800 Subject: [PATCH] 头部&脚部公共区域 --- src/layout/components/headerPage.vue | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/layout/components/headerPage.vue b/src/layout/components/headerPage.vue index c1664cb..d435d21 100644 --- a/src/layout/components/headerPage.vue +++ b/src/layout/components/headerPage.vue @@ -15,7 +15,7 @@ </div> <div class="searchBox" v-show="!hideSerch"> <el-input - style="width: 500px" + style="width: 500px; height: 50px" placeholder="璇疯緭鍏ュ唴瀹�" @change="gotoSearch" v-model="searchKey" @@ -83,7 +83,7 @@ <script setup lang="ts"> import { ref } from 'vue' - +import { Search } from '@element-plus/icons-vue' const props = defineProps({ hideSerch: { type: Boolean, @@ -97,9 +97,28 @@ let searchKey = ref('') let userInfo = ref('') +const navData = ref([ + { + name: '棣栭〉', + path: '/home', + }, + { + name: '鏁欒偛鍑虹増', + path: '/bookStore', + }, + { + name: '璇昏�呮湇鍔�', + path: '/teachingServices', + }, + { + name: '鍏充簬鎴戜滑', + path: '/aboutUs', + }, +]) const gotoSearch = () => {} const handleCommand = () => {} +const gotoPage = () => {} </script> <style lang="less" scoped> -- Gitblit v1.9.1