Files
Yi.Admin/Yi.Bbs.Vue3/src/layout/activity/components/ActivityNav.vue
2024-11-02 19:50:01 +08:00

64 lines
1.6 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<el-menu default-active="1" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" router>
<el-menu-item index="1" :route="{ path: '/activity/sign' }">
<el-icon>
<Present />
</el-icon>
<span>每日签到</span>
</el-menu-item>
<el-menu-item index="2" :route="{ path: '/activity/level' }">
<el-icon>
<Ticket />
</el-icon>
<span>等级</span>
</el-menu-item>
<el-menu-item index="3" :route="{ path: '/activity/assignment' }">
<el-icon>
<Memo />
</el-icon>
<span>任务列表</span>
</el-menu-item>
<el-menu-item index="4" :route="{ path: '/activity/lucky' }">
<el-icon>
<HelpFilled />
</el-icon>
<span>大转盘</span>
</el-menu-item>
<el-menu-item index="5" :route="{ path: '/activity/bank' }">
<el-icon>
<CreditCard />
</el-icon> <span>银行</span>
</el-menu-item>
<el-menu-item index="6" :route="{ path: '/money' }">
<el-icon>
<Money />
</el-icon>
<span>排行榜</span>
</el-menu-item>
<el-menu-item index="7" :route="{ path: '/money' }">
<el-icon>
<ShoppingCart />
</el-icon>
<span>商城即将上线</span>
</el-menu-item>
</el-menu>
</template>
<script setup>
const handleOpen = (key, keyPath) => {
//console.log(key, keyPath)
}
const handleClose = (key, keyPath) => {
// console.log(key, keyPath)
}
</script>
<style lang="scss" scoped>
.el-menu-item {
justify-content: center;
}
.el-menu {
border-right-width: 0px !important;
}
</style>