Commit ce76ff17 by zhouzy

1

1 parent e6a353c9
...@@ -34,14 +34,16 @@ ...@@ -34,14 +34,16 @@
<div class="textBox"> <div class="textBox">
<div class="title">{{ item.groupName }}{{ '(' + item.userList.length + ')' }}</div> <div class="title">{{ item.groupName }}{{ '(' + item.userList.length + ')' }}</div>
<div class="nameBox"> <div class="nameBox">
<span class="wechatNumber" v-for="user in item.userList" :key="user.id">{{ '@' + user.staffName }}</span> <span class="wechatNumber welcomeSpan" v-for="user in item.userList" :key="user.id">{{ '@' + user.staffName }}</span>
</div> </div>
</div> </div>
<van-button @click="showDialog(item)" style="margin-left: auto" size="small" color="#5850FF">{{ item.chatId == null ? '创建群聊' : '加入群聊' }}</van-button> <van-button @click="showDialog(item)" style="margin-left: auto" size="small" color="#5850FF">{{ item.chatId == null ? '创建群聊' : '加入群聊' }}</van-button>
</div> </div>
<div class="groups-item-bottom"> <div class="groups-item-bottom">
<div class="welcomeTitle">入群欢迎语</div> <div class="welcomeTitle">入群欢迎语</div>
<div class="welcomeWords" v-for="content in item.attachmentList" :key="content.index">{{ content.attType == 1 ? content.attContent : '' }}</div> <div class="welcomeWords" v-for="content in item.attachmentList" :key="content.index">
<span class="welcomeSpan">{{ content.attType == 1 ? content.attContent : '' }}</span>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -184,7 +186,6 @@ export default { ...@@ -184,7 +186,6 @@ export default {
height: 100%; height: 100%;
background: #f7f7f7; background: #f7f7f7;
padding: 14px 16px 0px 16px; padding: 14px 16px 0px 16px;
position: absolute;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
...@@ -384,4 +385,10 @@ export default { ...@@ -384,4 +385,10 @@ export default {
color: #3a3a3a; color: #3a3a3a;
line-height: 22px; line-height: 22px;
} }
.welcomeSpan {
overflow: hidden;
width: 100px;
white-space: nowrap;
text-overflow: ellipsis;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!