1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<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>