Skip to content

Commit

Permalink
feat: 优化空间展示和文案
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoooooo committed Jun 4, 2024
1 parent dbf8c4a commit a2d75a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions web/src/management/pages/list/components/SliderBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const handleSelect = (id: string) => {
}
&.bottom {
border-bottom: 1px solid #e3e4e8;
border-bottom: 1px solid #f6f5f2;
}
&.main-item {
// margin: 10px 0;
Expand All @@ -104,12 +104,13 @@ const handleSelect = (id: string) => {
.title-content {
display: flex;
align-items: center;
font-weight: 400;
}
}
:deep(.el-menu-item-group) {
> ul {
> li {
padding-left: 40px !important;
padding-left: 45px !important;
}
}
}
Expand All @@ -124,7 +125,7 @@ const handleSelect = (id: string) => {
}
.iconfont {
font-size: 16px;
margin-right: 5px;
margin-right: 10px;
color: #faa600 !important;
}
</style>
2 changes: 1 addition & 1 deletion web/src/management/pages/list/components/SpaceList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
class="tool-root-btn-text"
:style="{ width: 50 + 'px' }"
@click.stop="handleModify(scope.row._id)"
>{{ isAdmin(scope.row._id) ? '修改' : '查看' }}</el-button
>{{ isAdmin(scope.row._id) ? '管理' : '查看' }}</el-button
>
<el-button
text
Expand Down
8 changes: 4 additions & 4 deletions web/src/management/pages/list/components/SpaceModify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
@submit.prevent
:disabled="formDisabled"
>
<el-form-item label="团队名称" prop="name">
<el-form-item label="团队空间名称" prop="name">
<el-input v-model="formModel.name" />
</el-form-item>
<el-form-item label="空间描述">
<el-form-item label="团队空间空间描述">
<el-input v-model="formModel.description" />
</el-form-item>
<el-form-item label="添加成员" prop="members">
Expand Down Expand Up @@ -63,15 +63,15 @@ const props = defineProps({
const ruleForm = shallowRef<any>(null)
const formTitle = computed(() => {
return props.type === QOP_MAP.ADD ? '创建团队' : '修改团队'
return props.type === QOP_MAP.ADD ? '创建团队空间' : '管理团队空间'
})
const formModel = ref<IWorkspace>({
name: '',
description: '',
members: [] as IMember[]
})
const rules = {
name: [{ required: true, message: '请输入团队名称', trigger: 'blur' }],
name: [{ required: true, message: '请输入团队空间名称', trigger: 'blur' }],
members: [
{
trigger: 'change',
Expand Down

0 comments on commit a2d75a4

Please sign in to comment.