Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
b1911f97
Commit
b1911f97
authored
Nov 09, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: UI优化
parent
8f12f508
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
11 deletions
+23
-11
src/views/customerService/chatDetail.vue
src/views/customerService/chatDetail.vue
+1
-1
src/views/customerService/chatList.vue
src/views/customerService/chatList.vue
+4
-2
src/views/customerService/components/chatMessageItem.vue
src/views/customerService/components/chatMessageItem.vue
+1
-1
src/views/customerService/components/chatUserInfo.vue
src/views/customerService/components/chatUserInfo.vue
+1
-1
src/views/customerService/components/messageDetail.vue
src/views/customerService/components/messageDetail.vue
+16
-6
No files found.
src/views/customerService/chatDetail.vue
View file @
b1911f97
...
...
@@ -579,7 +579,7 @@ export default {
}
</
script
>
<
style
lang=
"
le
ss"
scoped
>
<
style
lang=
"
sc
ss"
scoped
>
/
deep
/
.main
{
padding
:
0
;
}
...
...
src/views/customerService/chatList.vue
View file @
b1911f97
...
...
@@ -52,8 +52,10 @@
:visible.sync=
"showDetail"
:with-header=
"false"
size=
"40%"
>
<span>
详情
</span>
<!-- <MessageDetail :from-account="fromAccount" :to-account="toAccount" />-->
<div>
<MessageDetail
:from-account=
"fromAccount"
:to-account=
"toAccount"
/>
</div>
</el-drawer>
</div>
...
...
src/views/customerService/components/chatMessageItem.vue
View file @
b1911f97
...
...
@@ -31,7 +31,7 @@ export default {
}
</
script
>
<
style
lang=
"
le
ss"
scoped
>
<
style
lang=
"
sc
ss"
scoped
>
.message_components
{
width
:
100%
;
display
:
flex
;
...
...
src/views/customerService/components/chatUserInfo.vue
View file @
b1911f97
...
...
@@ -79,7 +79,7 @@ export default {
}
</
script
>
<
style
lang=
"
le
ss"
scoped
>
<
style
lang=
"
sc
ss"
scoped
>
.component-chatUserInfo
{
display
:
flex
;
flex-direction
:
column
;
...
...
src/views/customerService/components/messageDetail.vue
View file @
b1911f97
<
template
>
<div
class=
"components-message"
>
<el-menu
:default-active=
"activeIndex"
class=
"el-menu-demo"
mode=
"horizontal"
@
select=
"handleSelect"
>
<
!--
<
el-menu
:default-active=
"activeIndex"
class=
"el-menu-demo"
mode=
"horizontal"
@
select=
"handleSelect"
>
<el-menu-item
index=
"0"
>
会话记录
</el-menu-item>
<el-menu-item
index=
"1"
>
会话信息
</el-menu-item>
</el-menu>
<el-menu-item
index=
"1"
>
会话信息
</el-menu-item>
</el-menu>
-->
<el-tabs
v-model=
"activeIndex"
@
tab-click=
"handleSelect"
>
<el-tab-pane
label=
"会话记录"
name=
"1"
>
用户管理
</el-tab-pane>
<el-tab-pane
label=
"会话信息"
name=
"2"
>
<ChatUserInfo
:chat-user-info=
"chatUserInfo"
/>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
import
{
findChatUserInfo
}
from
'
@/api/business/chat
'
import
ChatUserInfo
from
'
./chatUserInfo
'
export
default
{
name
:
'
MessageDetail
'
,
components
:
{
ChatUserInfo
},
props
:
{
fromAccount
:
{
type
:
String
,
...
...
@@ -24,7 +34,8 @@ export default {
},
data
()
{
return
{
activeIndex
:
0
activeIndex
:
'
1
'
,
chatUserInfo
:
{}
}
},
created
()
{
...
...
@@ -35,7 +46,6 @@ export default {
handleSelect
(
key
,
keyPath
)
{
console
.
log
(
key
,
keyPath
)
},
handleGetMessageList
:
{},
handleFindChatUserInfo
()
{
const
params
=
{
fromAccount
:
this
.
fromAccount
,
...
...
@@ -54,7 +64,7 @@ export default {
}
</
script
>
<
style
lang=
"
le
ss"
scoped
>
<
style
lang=
"
sc
ss"
scoped
>
.components-message
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment