Commit a2037a1c by 胡悦

修改成员

1 parent f55c57aa
......@@ -11,4 +11,16 @@ color: #666;
.el-tag.el-tag--info.el-tag--plain {
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
......@@ -12,10 +12,16 @@
</div>
<el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="124px">
<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 label="群聊名称" prop="groupName">
<el-input
size="small"
v-model="basicForm.groupName"
placeholder="设置群聊名称前缀,如新车售后一组"
maxlength="10"
......@@ -35,18 +41,19 @@
</span>
<div class="sale-select" v-show="basicForm.userList">
<div class="el-input-tag input-tag-wrapper">
<el-scrollbar>
<div style="max-height: 64px;">
<el-tag
v-for="(tag, idx) in basicForm.userList"
:key="idx"
type="info"
closable
:disable-transitions="false"
@close="remove(tag, idx)"
>{{ tag.staffName }}</el-tag>
</div>
</el-scrollbar>
<div style="max-height: 64px;">
<el-tag
v-for="(tag, idx) in basicForm.userList"
:key="idx"
type="info"
closable
:disable-transitions="false"
@close="remove(tag, idx)"
>
<i class="el-icon-user-solid"></i>
{{ tag.staffName }}
</el-tag>
</div>
</div>
</div>
<div class="form-tips">必须配置2个及以上成员</div>
......@@ -388,42 +395,51 @@ export default {
.input-tag-wrapper {
max-width: 320px;
// max-height: 68px;
overflow: auto;
position: relative;
font-size: 14px;
background-color: #fff;
background-image: none;
border-radius: 4px;
border: 1px solid #dcdfe6;
max-height: 64px;
// box-sizing: border-box;
color: #606266;
box-sizing: border-box;
color: #666;
display: inline-block;
outline: none;
padding: 0 0px 5px 5px;
padding: 0 5px;
flex-wrap: wrap;
line-height: 32px;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
width: 100%;
width: 450px;
display: flex;
align-items: center;
// 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;
margin-top: 6px;
font-size: 14px;
line-height: 32px;
i {
color: #75acff;
margin-right: 3px;
font-size: 14px;
}
// // 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 {
margin: 3px 4px 3px 0;
margin-right: 4px;
height: 26px;
line-height: 24px;
margin-bottom: 5px;
}
.tag-input {
background: transparent;
......
......@@ -12,7 +12,10 @@
closable
:disable-transitions="false"
@close="remove(tag)"
>{{ tag.staffName }}</el-tag>
>
<i class="el-icon-user-solid"></i>
{{ tag.staffName }}
</el-tag>
</div>
<el-input
size="small"
......@@ -183,6 +186,11 @@ export default {
width: 100%;
display: flex;
align-items: center;
i {
color: #75acff;
margin-right: 3px;
font-size: 14px;
}
/deep/ input {
/* input { */
/* 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!