Commit c41c37c4 by liwk
2 parents ca7f4783 268c8c44
...@@ -53,9 +53,9 @@ ...@@ -53,9 +53,9 @@
并新建一个 并新建一个
</div> </div>
<div>外部客户群聊</div> <div>外部客户群聊</div>
<div class="imgBox" style="margin-left: 93px; width: 132px; height: 132px"> <div class="imgBox" style="margin-left: 93px; width: 132px; height: 132px;margin-top:16px;margin-bottom:34px;">
<div class="itemsBox"> <div class="itemsBox">
<div :class="[dialogMessage.length > 4 ? 'head-img-five' : dialogMessage.length > 1 ? 'head-img-two' : 'head-img-one', 'head-img']" v-for="user in dialogMessage" :key="user.id"> <div :class="[dialogMessage.length > 4 ? 'head-img-five-dialog' : dialogMessage.length > 1 ? 'head-img-two-dialog' : 'head-img-one-dialog', 'head-img']" v-for="user in dialogMessage" :key="user.id">
<img :src="user.avatar" alt="" /> <img :src="user.avatar" alt="" />
</div> </div>
</div> </div>
...@@ -302,14 +302,26 @@ export default { ...@@ -302,14 +302,26 @@ export default {
width: 44px; width: 44px;
height: 44px; height: 44px;
} }
.head-img-one-dialog {
width: 132px;
height: 132px;
}
.head-img-two { .head-img-two {
width: 22px; width: 22px;
height: 22px; height: 22px;
} }
.head-img-two-dialog {
width: 66px;
height: 66px;
}
.head-img-five { .head-img-five {
width: 14.67px; width: 14.67px;
height: 14.67px; height: 14.67px;
} }
.head-img-five-dialog {
width: 44.01px;
height: 44.01px;
}
/* .imgItem { /* .imgItem {
width: 22px; width: 22px;
height: 22px; height: 22px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!