Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
db98b376
authored
Sep 26, 2024
by
卢越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能优化】商城:客服页面优化
parent
0db57da9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
7 deletions
+21
-7
src/components/ContentWrap/src/ContentWrap.vue
+1
-1
src/views/mall/promotion/kefu/components/KeFuConversationList.vue
+5
-3
src/views/mall/promotion/kefu/components/message/OrderItem.vue
+15
-3
No files found.
src/components/ContentWrap/src/ContentWrap.vue
View file @
db98b376
...
...
@@ -11,7 +11,7 @@ const prefixCls = getPrefixCls('content-wrap')
defineProps
({
title
:
propTypes
.
string
.
def
(
''
),
message
:
propTypes
.
string
.
def
(
''
),
bodyStyle
:
propTypes
.
object
.
def
({
padding
:
'
2
0px'
})
bodyStyle
:
propTypes
.
object
.
def
({
padding
:
'
1
0px'
})
})
</
script
>
...
...
src/views/mall/promotion/kefu/components/KeFuConversationList.vue
View file @
db98b376
...
...
@@ -22,13 +22,15 @@
<div
class=
"ml-10px w-100%"
>
<div
class=
"flex justify-between items-center w-100%"
>
<span
class=
"username"
>
{{
item
.
userNickname
}}
</span>
<span
class=
"color-[var(--left-menu-text-color)]"
style=
"font-size: 13px
;
"
>
<span
class=
"color-[var(--left-menu-text-color)]"
style=
"font-size: 13px"
>
{{
formatPast
(
item
.
lastMessageTime
,
'YYYY-MM-DD'
)
}}
</span>
</div>
<!-- 最后聊天内容 -->
<div
v-dompurify-html=
"getConversationDisplayText(item.lastMessageContentType, item.lastMessageContent)"
v-dompurify-html=
"
getConversationDisplayText(item.lastMessageContentType, item.lastMessageContent)
"
class=
"last-message flex items-center color-[var(--left-menu-text-color)]"
>
</div>
...
...
@@ -205,7 +207,7 @@ watch(showRightMenu, (val) => {
.active
{
border-left
:
5px
#3271ff
solid
;
background-color
:
var
(
--l
eft-menu-bg-active
-color
);
background-color
:
var
(
--l
ogin-bg
-color
);
}
.pinned
{
...
...
src/views/mall/promotion/kefu/components/message/OrderItem.vue
View file @
db98b376
<
template
>
<div
v-if=
"isObject(getMessageContent)"
@
click=
"openDetail(getMessageContent.id)"
style=
"cursor: pointer;"
>
<div
v-if=
"isObject(getMessageContent)"
>
<div
:key=
"getMessageContent.id"
class=
"order-list-card-box mt-14px"
>
<div
class=
"order-card-header flex items-center justify-between p-x-5px"
>
<div
class=
"order-no"
>
订单号:
{{
getMessageContent
.
no
}}
</div>
<div
class=
"order-no"
>
订单号:
<span
style=
"cursor: pointer"
@
click=
"openDetail(getMessageContent.id)"
>
{{
getMessageContent
.
no
}}
</span>
</div>
<div
:class=
"formatOrderColor(getMessageContent)"
class=
"order-state font-16"
>
{{
formatOrderStatus
(
getMessageContent
)
}}
</div>
...
...
@@ -113,8 +118,15 @@ function formatOrderStatus(order: any) {
height
:
28px
;
.order-no
{
font-size
:
1
0
px
;
font-size
:
1
2
px
;
font-weight
:
500
;
span
{
&:hover
{
text-decoration
:
underline
;
color
:
var
(
--left-menu-bg-active-color
);
}
}
}
}
...
...
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