Commit 3c0180d4 by 李伟康

commit

1 parent 91e9d4a2
...@@ -54,20 +54,7 @@ ...@@ -54,20 +54,7 @@
<div class="groups-item-top"> <div class="groups-item-top">
<div class="imgBox"> <div class="imgBox">
<div class="itemsBox"> <div class="itemsBox">
<template v-if="item.userList"> <img src="@/assets/images/bases.png">
<!-- <div :style="{ 'width': item.imgs.length > 4 ? 14.67 : (item.imgs.length > 1 ? 22 : 44) + 'px', 'height': item.imgs.length > 4 ? 14.67 : (item.imgs.length > 1 ? 22 : 44) + 'px' }" v-for="img in item.imgs" :key='img.id'> -->
<!-- <div :class="[item.userList.length > 4 ? 'head-img-five' : item.userList.length > 1 ? 'head-img-two' : 'head-img-one', 'head-img']" v-for="user in item.userList" :key="user.id"> -->
<div
:class="[item.userList.length > 4 ? 'head-img-five' : item.userList.length > 1 ? 'head-img-two' : 'head-img-one', 'head-img']"
v-for="index in item.userList.length > 9 ? item.userList.slice(0, 9) : item.userList"
:key="index"
>
<img
src="@/assets/images/user.png"
alt=""
/>
</div>
</template>
</div> </div>
</div> </div>
<div class="textBox"> <div class="textBox">
...@@ -112,7 +99,6 @@ ...@@ -112,7 +99,6 @@
<van-dialog <van-dialog
class="dialog" class="dialog"
v-model="show" v-model="show"
title="创建新群"
message="邀请客户并创建一个群聊" message="邀请客户并创建一个群聊"
show-cancel-button show-cancel-button
show-confirm-button show-confirm-button
...@@ -123,10 +109,9 @@ ...@@ -123,10 +109,9 @@
<div class="dialogMessage"> <div class="dialogMessage">
邀请客户 邀请客户
<span class="name">@{{ businessCard.customerName }}</span> <span class="name">@{{ businessCard.customerName }}</span>
并新建一个 并新建一个外部客户群聊
</div> </div>
<div>外部客户群聊</div> <!-- <div class="dialogImgBox">
<div class="dialogImgBox">
<div class="itemsBox"> <div class="itemsBox">
<div <div
:class="[dialogMessage.length > 4 ? 'head-img-five-dialog' : dialogMessage.length > 1 ? 'head-img-two-dialog' : 'head-img-one-dialog', 'head-img']" :class="[dialogMessage.length > 4 ? 'head-img-five-dialog' : dialogMessage.length > 1 ? 'head-img-two-dialog' : 'head-img-one-dialog', 'head-img']"
...@@ -139,7 +124,7 @@ ...@@ -139,7 +124,7 @@
/> />
</div> </div>
</div> </div>
</div> </div> -->
</van-dialog> </van-dialog>
</div> </div>
</template> </template>
...@@ -156,17 +141,6 @@ export default { ...@@ -156,17 +141,6 @@ export default {
templateId: '', templateId: '',
userId: '', userId: '',
show: false, show: false,
// headImg: {
// 1: 44,
// 2: 22,
// 3: 22,
// 4: 22,
// 5: 14.67,
// 6: 14.67,
// 7: 14.67,
// 8: 14.67,
// 9: 14.67,
// },
dialogMessage: [], dialogMessage: [],
insertParams: { insertParams: {
templateId: '', templateId: '',
...@@ -285,8 +259,8 @@ export default { ...@@ -285,8 +259,8 @@ export default {
Dialog.alert({ Dialog.alert({
title: '提示', title: '提示',
message: '该功能暂不支持在群侧边栏打开', message: '该功能暂不支持在群侧边栏打开',
confirmButtonText:'知道了', confirmButtonText: '知道了',
confirmButtonColor:'#3975c6' confirmButtonColor: '#3975c6'
}).then(() => { }).then(() => {
wx.closeWindow() wx.closeWindow()
}) })
...@@ -506,6 +480,7 @@ export default { ...@@ -506,6 +480,7 @@ export default {
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
line-height: 20px; line-height: 20px;
padding: 40px;
} }
.name { .name {
color: #3975c6; color: #3975c6;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!