HomeView.vue 1.62 KB
<template>
  <el-row class="tac">
      <el-menu
        active-text-color="#ffd04b"
        background-color="#545c64"
        default-active="0"
        text-color="#fff"
        style="width:220px;"
      >
        <div style="height:50xp;line-height:50px;text-align: center;">
          <img style="width:32px;height:32px;vertical-align:middle;margin-right:10px;" src="../assets/logo.ico" alt="">
          <span style="font-size: 18px;font-weight:bold;color:#fff;position: relative;top:3px;">欧畅云技术支持</span>
        </div>
        <el-menu-item index="0">
          <el-icon><HomeFilled /></el-icon>
          <span style="font-size: 16px;">首页</span>
        </el-menu-item>
        <el-menu-item index="1">
          <el-icon><Promotion /></el-icon>
          <span style="font-size: 16px;">主播端打包</span>
        </el-menu-item>
        <el-menu-item index="2">
          <el-icon><Tools /></el-icon>
          <span style="font-size: 16px;">直播间推流</span>
        </el-menu-item>
        <el-menu-item index="3">
          <el-icon><Tools /></el-icon>
          <span style="font-size: 16px;">员工账号</span>
        </el-menu-item>
      </el-menu>
      <welcome></welcome>
  </el-row>
</template>

<script setup lang="ts" >
import {
  Promotion,
  HomeFilled,
  Tools,
} from '@element-plus/icons-vue'
import Welcome from '../components/welcome/welcome.vue'

comments:{
  Welcome
}
const handleOpen = (key: string, keyPath: string[]) => {
  console.log(key, keyPath)
}
const handleClose = (key: string, keyPath: string[]) => {
  console.log(key, keyPath)
}
</script>
<style>
.tac{
  height: 100%;
}
</style>