Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 86f99cf8
authored
Nov 24, 2021
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/glsx/dj-scrm-wx-work-attachment-customer
2 parents
8cc5a8cd
2fa5fb1d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
8 deletions
src/assets/images/user.png
src/views/customerGroup/index.vue
src/assets/images/user.png
View file @
86f99cf
650 Bytes
|
W:
|
H:
2.56 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/customerGroup/index.vue
View file @
86f99cf
...
@@ -26,23 +26,23 @@
...
@@ -26,23 +26,23 @@
<template
v-if=
"item.userList"
>
<template
v-if=
"item.userList"
>
<!--
<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
: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=
"user in item.userList"
:key=
"user.id"
>
<
!--
<img
src=
"@/assets/images/user.png"
alt=
""
/>
--
>
<
img
src=
"@/assets/images/user.png"
alt=
""
/
>
</div>
</div>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
<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
wechatNumber text-two-line
"
>
<span
class=
"wechatNumber welcomeSpan"
v-for=
"user in item.userList"
:key=
"user.id"
>
{{ '@' + user.staffName }}
</span>
<span
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"
>
<div
class=
"welcomeWords
welcomeSpan
"
v-for=
"content in item.attachmentList"
:key=
"content.index"
>
<span
class=
"welcomeSpan"
>
{{ content.attType == 1 ? content.attContent : '' }}
</span>
{{ content.attType == 1 ? content.attContent : '' }}
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -55,14 +55,14 @@
...
@@ -55,14 +55,14 @@
并新建一个
并新建一个
</div>
</div>
<div>
外部客户群聊
</div>
<div>
外部客户群聊
</div>
<div
class=
"
imgBox"
style=
"margin-left: 93px; width: 132px; height: 132px; margin-top: 16px; margin-bottom: 34p
x"
>
<div
class=
"
dialogImgBo
x"
>
<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']"
v-for=
"user in dialogMessage"
v-for=
"user in dialogMessage"
:key=
"user.id"
:key=
"user.id"
>
>
<
!-- <img src="@/assets/images/user.png" alt="" /> --
>
<
img
src=
"@/assets/images/user.png"
alt=
""
/
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -283,6 +283,7 @@ export default {
...
@@ -283,6 +283,7 @@ export default {
}
}
.nameBox
{
.nameBox
{
width
:
176px
;
width
:
176px
;
height
:
34px
;
}
}
.wechatNumber
{
.wechatNumber
{
font-size
:
12px
;
font-size
:
12px
;
...
@@ -375,13 +376,37 @@ export default {
...
@@ -375,13 +376,37 @@ export default {
line-height
:
22px
;
line-height
:
22px
;
}
}
.welcomeSpan
{
.welcomeSpan
{
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
width
:
100px
;
text-overflow
:
ellipsis
;
width
:
200px
;
}
.userSpan
{
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
width
:
100px
;
}
}
.img
{
.img
{
width
:
44.01px
;
width
:
44.01px
;
height
:
44.01px
;
height
:
44.01px
;
}
}
.text-two-line
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
-webkit-line-clamp
:
2
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
}
.dialogImgBox
{
margin-left
:
93px
;
width
:
132px
;
height
:
132px
;
margin-top
:
16px
;
margin-bottom
:
34px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
background
:
#e1e1e1
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment