Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
01dc9ffb
authored
Dec 03, 2021
by
Sixong.Zhu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
u
parent
74e17fb0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
components/message-item/pay-message.vue
components/message-item/pay-message.vue
View file @
01dc9ffb
<
template
>
<
template
>
<div
<div
class=
"pay-message d-flex flex-column"
class=
"pay-message d-flex flex-column"
:class=
"
messageClass
"
:class=
"
[messageClass,
{ 'user-side': !backend }]
"
@click="view"
@click="view"
>
>
<div
class=
"d-flex align-items-center flex-fill pay-msg-body"
>
<div
class=
"d-flex align-items-center flex-fill pay-msg-body"
>
...
@@ -28,9 +28,12 @@
...
@@ -28,9 +28,12 @@
import
{
PayMessageBody
}
from
"@/customer-service/xim/models/chat"
;
import
{
PayMessageBody
}
from
"@/customer-service/xim/models/chat"
;
import
{
Component
}
from
"vue-property-decorator"
;
import
{
Component
}
from
"vue-property-decorator"
;
import
BaseMessage
from
"./index"
;
import
BaseMessage
from
"./index"
;
import
Chat
from
"@/customer-service/xim"
;
@
Component
({
components
:
{}
})
@
Component
({
components
:
{}
})
export
default
class
Index
extends
BaseMessage
{
export
default
class
Index
extends
BaseMessage
{
protected
backend
=
Chat
.
isBackend
();
private
get
payData
()
{
private
get
payData
()
{
return
this
.
messageBody
.
msg
as
PayMessageBody
;
return
this
.
messageBody
.
msg
as
PayMessageBody
;
}
}
...
@@ -108,6 +111,10 @@
...
@@ -108,6 +111,10 @@
height
:
106px
;
height
:
106px
;
color
:
#fff
;
color
:
#fff
;
&.user-side
{
border-radius
:
0
10px
10px
10px
;
}
&
.default
,
&
.default
,
&
.balance-unpay
{
&
.balance-unpay
{
background
:
linear-gradient
(
180deg
,
#f95b3c
0%
,
#f94623
100%
);
background
:
linear-gradient
(
180deg
,
#f95b3c
0%
,
#f94623
100%
);
...
@@ -148,6 +155,7 @@
...
@@ -148,6 +155,7 @@
height
:
40px
;
height
:
40px
;
display
:
inline-block
;
display
:
inline-block
;
margin-right
:
20px
;
margin-right
:
20px
;
background-repeat
:
no-repeat
;
&.icon-1
{
&.icon-1
{
background-image
:
url("./pay-status-1.svg")
;
background-image
:
url("./pay-status-1.svg")
;
...
...
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