feat(user): 新增用户管理功能
- 添加用户列表页面,包含搜索、分页等功能 - 实现用户状态切换和详情查看功能 - 新增用户选择组件,用于选择用户 - 优化表格组件,支持自定义列和操作 - 添加面包屑组件,用于展示导航路径
This commit is contained in:
39
src/components/columnItem/ColumnItem.vue
Normal file
39
src/components/columnItem/ColumnItem.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<template>
|
||||
<div class="column-item">
|
||||
<MyTitle v-if="!!title" :title="title" :showIcon="showIcon">
|
||||
<template #right>
|
||||
<slot name="right"></slot>
|
||||
</template>
|
||||
</MyTitle>
|
||||
<div class="cont">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, inject } from 'vue'
|
||||
import MyTitle from '../myTitle/MyTitle.vue'
|
||||
const props = defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
showIcon: {
|
||||
type: Boolean,
|
||||
default: () => true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.column-item {
|
||||
background: #fff;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
.cont {
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user