style: 样式优化

fix-0609-xwk
向文可 2 years ago
parent 7a11cb1064
commit 7ec2350727

@ -79,9 +79,11 @@
> >
<template #default="{ data }"> <template #default="{ data }">
<div class="flex"> <div class="flex">
<div class="name"> <!-- <el-tooltip :content="data.name" placement="right"> -->
<div class="name" :title="data.name">
{{ data.name }} {{ data.name }}
</div> </div>
<!-- </el-tooltip> -->
<div class="btns"> <div class="btns">
<!-- <el-button type="text" @click.stop="handleDeleteFeature([data])"> <!-- <el-button type="text" @click.stop="handleDeleteFeature([data])">
<el-icon name="Delete" /> <el-icon name="Delete" />
@ -196,7 +198,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="功能名称" prop="name"> <el-form-item label="功能名称" prop="name">
<el-input v-model="featureState.form.name" maxlength="50" /> <el-input v-model="featureState.form.name" maxlength="50" type="textarea" />
</el-form-item> </el-form-item>
<el-form-item label="服务名称" prop="service"> <el-form-item label="服务名称" prop="service">
<el-input v-model="featureState.form.service" /> <el-input v-model="featureState.form.service" />
@ -512,11 +514,17 @@
} }
} }
:deep(.el-tree) { :deep(.el-tree) {
font-size: 14px;
.flex { .flex {
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.name {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
} }
.btns { .btns {
display: flex; display: flex;

Loading…
Cancel
Save