Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
2019-03-28 15:56:45 +0800
Commit
22a938d667a1849a42287fd561cea9b8daa12fcc
2 parents
e7f3af70
e88fc368
Merge branch 'feature/im' into 'release/6.8.9'
fix new im data See merge request
!1724
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
16 deletions
config/common.js
public/hbs/service/chat/msg.hbs
public/js/service/chat/index.js
public/scss/service/chat/message.scss
config/common.js
View file @
22a938d
...
...
@@ -34,8 +34,8 @@ const domains = {
ufo
:
'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway/'
,
yoLuck
:
'http://yoho-activity-platform.test3.ingress.dev.yohocorp.com'
,
imSocket
:
'wss://imsocket.yohobuy.com:443'
,
imCs
:
'https://imhttp.yohobuy.com/api'
,
imSocket
:
'ws://socket.yohobuy.com:10240'
,
imCs
:
'http://im.yohobuy.com/api'
,
global
:
'http://api-global.yohobuy.com'
,
store
:
'http://192.168.102.47:8080/portal-gateway/'
,
...
...
public/hbs/service/chat/msg.hbs
View file @
22a938d
...
...
@@ -14,10 +14,7 @@
<div
class=
"msg-content msg-order"
>
{{!--<img src="{{imgSrc}}">--}}
<div
class=
"order-info"
>
<span
class=
"label"
>
订单号:
</span><span>
{{
orderCode
}}
</span><br>
<span
class=
"label"
>
金额:
</span><span
class=
"red"
>
{{
cost
}}
</span><br>
<span
class=
"label"
>
下单时间:
</span><span>
{{
createTime
}}
</span><br>
<span
class=
"label"
>
订单状态:
</span><span>
{{
orderStatus
}}
</span><br>
{{{
content
}}}
</div>
</div>
{{/
inline
}}
...
...
public/js/service/chat/index.js
View file @
22a938d
...
...
@@ -552,14 +552,9 @@ let chat = {
break
;
case
10
:
chatMessage
.
content
=
JSON
.
parse
(
chatMessage
.
content
);
viewData
.
type
=
msgTypeMap
[
10
];
viewData
.
data
=
{
orderCode
:
chatMessage
.
content
[
1
],
cost
:
chatMessage
.
content
[
3
],
createTime
:
chatMessage
.
content
[
5
],
orderStatus
:
chatMessage
.
content
[
7
],
content
:
chatMessage
.
newContent
};
break
;
...
...
public/scss/service/chat/message.scss
View file @
22a938d
...
...
@@ -181,15 +181,12 @@
padding
:
0
;
font-size
:
28px
;
line-height
:
1
;
color
:
#b0b0b0
;
}
.red
{
color
:
#d0021b
;
}
.label
{
color
:
#b0b0b0
;
}
}
/* 网络连接失败 */
...
...
Please
register
or
login
to post a comment