Commit a2037a1c by 胡悦

修改成员

1 parent f55c57aa
...@@ -12,3 +12,15 @@ color: #666; ...@@ -12,3 +12,15 @@ color: #666;
background: transparent !important; background: transparent !important;
} }
::-webkit-scrollbar {
/*滚动条整体样式*/
width: 6px;
height: 4px;
}
::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 4px;
background-color: rgba(144, 147, 153, 0.3);
}
\ No newline at end of file \ No newline at end of file
...@@ -12,10 +12,16 @@ ...@@ -12,10 +12,16 @@
</div> </div>
<el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="124px"> <el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="124px">
<el-form-item label="组名" prop="orgName"> <el-form-item label="组名" prop="orgName">
<el-input v-model="basicForm.orgName" placeholder="为群聊设置一个组名" maxlength="10"></el-input> <el-input
v-model="basicForm.orgName"
size="small"
placeholder="为群聊设置一个组名"
maxlength="10"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="群聊名称" prop="groupName"> <el-form-item label="群聊名称" prop="groupName">
<el-input <el-input
size="small"
v-model="basicForm.groupName" v-model="basicForm.groupName"
placeholder="设置群聊名称前缀,如新车售后一组" placeholder="设置群聊名称前缀,如新车售后一组"
maxlength="10" maxlength="10"
...@@ -35,7 +41,6 @@ ...@@ -35,7 +41,6 @@
</span> </span>
<div class="sale-select" v-show="basicForm.userList"> <div class="sale-select" v-show="basicForm.userList">
<div class="el-input-tag input-tag-wrapper"> <div class="el-input-tag input-tag-wrapper">
<el-scrollbar>
<div style="max-height: 64px;"> <div style="max-height: 64px;">
<el-tag <el-tag
v-for="(tag, idx) in basicForm.userList" v-for="(tag, idx) in basicForm.userList"
...@@ -44,9 +49,11 @@ ...@@ -44,9 +49,11 @@
closable closable
:disable-transitions="false" :disable-transitions="false"
@close="remove(tag, idx)" @close="remove(tag, idx)"
>{{ tag.staffName }}</el-tag> >
<i class="el-icon-user-solid"></i>
{{ tag.staffName }}
</el-tag>
</div> </div>
</el-scrollbar>
</div> </div>
</div> </div>
<div class="form-tips">必须配置2个及以上成员</div> <div class="form-tips">必须配置2个及以上成员</div>
...@@ -388,42 +395,51 @@ export default { ...@@ -388,42 +395,51 @@ export default {
.input-tag-wrapper { .input-tag-wrapper {
max-width: 320px; max-width: 320px;
// max-height: 68px;
overflow: auto;
position: relative; position: relative;
font-size: 14px; font-size: 14px;
background-color: #fff; background-color: #fff;
background-image: none; background-image: none;
border-radius: 4px; border-radius: 4px;
border: 1px solid #dcdfe6; border: 1px solid #dcdfe6;
max-height: 64px; box-sizing: border-box;
// box-sizing: border-box; color: #666;
color: #606266;
display: inline-block; display: inline-block;
outline: none; outline: none;
padding: 0 0px 5px 5px; padding: 0 5px;
flex-wrap: wrap; flex-wrap: wrap;
line-height: 32px;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
width: 100%; width: 450px;
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 6px;
// overflow: auto; font-size: 14px;
/deep/ input { line-height: 32px;
/* input { */ i {
/* background-color: red!important; 调试用的样式 */ color: #75acff;
outline: none !important; margin-right: 3px;
border: none !important; font-size: 14px;
}
/deep/ .el-input {
min-width: 150px;
width: auto;
flex: 1;
} }
// // overflow: auto;
// /deep/ input {
// /* input { */
// /* background-color: red!important; 调试用的样式 */
// outline: none !important;
// border: none !important;
// }
// /deep/ .el-input {
// min-width: 150px;
// width: auto;
// flex: 1;
// }
} }
.el-tag { .el-tag {
margin: 3px 4px 3px 0; margin-right: 4px;
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;
margin-bottom: 5px;
} }
.tag-input { .tag-input {
background: transparent; background: transparent;
......
...@@ -12,7 +12,10 @@ ...@@ -12,7 +12,10 @@
closable closable
:disable-transitions="false" :disable-transitions="false"
@close="remove(tag)" @close="remove(tag)"
>{{ tag.staffName }}</el-tag> >
<i class="el-icon-user-solid"></i>
{{ tag.staffName }}
</el-tag>
</div> </div>
<el-input <el-input
size="small" size="small"
...@@ -183,6 +186,11 @@ export default { ...@@ -183,6 +186,11 @@ export default {
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
i {
color: #75acff;
margin-right: 3px;
font-size: 14px;
}
/deep/ input { /deep/ input {
/* input { */ /* input { */
/* background-color: red!important; 调试用的样式 */ /* background-color: red!important; 调试用的样式 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!