mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-21 08:56:36 +08:00
chore: 构建大小写问题
This commit is contained in:
36
Yi.Bbs.Vue3/src/layout/activity/components/ActivityBody.vue
Normal file
36
Yi.Bbs.Vue3/src/layout/activity/components/ActivityBody.vue
Normal file
@@ -0,0 +1,36 @@
|
||||
<template>
|
||||
<div class="sign-box">
|
||||
<div class="menuList">
|
||||
<ActivityNav/>
|
||||
</div>
|
||||
<div class="page">
|
||||
<RouterView />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import ActivityNav from './ActivityNav.vue'
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.sign-box {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 1300px;
|
||||
height: 100%;
|
||||
padding: 20px 0 10px;
|
||||
.menuList {
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.page {
|
||||
width: 75%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
44
Yi.Bbs.Vue3/src/layout/activity/components/ActivityNav.vue
Normal file
44
Yi.Bbs.Vue3/src/layout/activity/components/ActivityNav.vue
Normal file
@@ -0,0 +1,44 @@
|
||||
<template>
|
||||
<el-menu
|
||||
default-active="1"
|
||||
class="el-menu-vertical-demo"
|
||||
@open="handleOpen"
|
||||
@close="handleClose"
|
||||
>
|
||||
<el-menu-item index="1">
|
||||
<el-icon><Present /></el-icon>
|
||||
<span>每日签到</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="2">
|
||||
<el-icon><Memo /></el-icon>
|
||||
<span>任务列表</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="3">
|
||||
<el-icon><HelpFilled /></el-icon>
|
||||
<span>大转盘</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="4">
|
||||
<el-icon><Sunrise /></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>
|
||||
Reference in New Issue
Block a user