Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李奇
8 years ago
Commit
f17a43737a59d644ff5d324fe7791685fb188c8f
1 parent
d1d1014c
fixed:发送消息倒计时清除
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
public/js/service/client.page.js
public/js/service/client.page.js
View file @
f17a437
...
...
@@ -177,10 +177,10 @@ function systemTip(type, msg) {
* 发送消息前的共通处理
*/
function
beforeSendMsg
()
{
var
$list
=
$
(
'.
list-item
'
);
var
$list
=
$
(
'.
countdown
'
);
$
.
each
(
$list
,
function
(
index
,
item
)
{
$
(
item
).
find
(
'.countdown
'
).
remove
();
$
(
item
).
parent
(
'.list-item
'
).
remove
();
});
if
(
titleInterval
)
{
...
...
@@ -191,6 +191,9 @@ function beforeSendMsg() {
/**
* 处理发送消息
* @param e
* @param msgType
* @param msgContent
*/
function
sendMessage
(
e
,
msgType
,
msgContent
)
{
var
$area
=
$
(
'.msg-area'
),
...
...
@@ -259,10 +262,11 @@ function toggleAnswer(e) {
}
/**
* 人工客服
* 人工客服
s
*/
function
manualService
()
{
socketConfCM
.
type
=
allRTs
.
MANUAL_SERVICE
;
console
.
log
(
socketConfCM
)
socketChat
.
send
(
socketConfCM
);
}
...
...
Please
register
or
login
to post a comment