杨磊
昨天 2886d8ee7872f6709b53a4bd84f95ffe0a26eafb
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>