Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanpeng
wechat_lung
Commits
ce61e7bc
Commit
ce61e7bc
authored
Dec 02, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改聊天添加医助发图片、链接的展示'
parent
552ba942
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
freeChat.js
wechat_lung_chat/javaScript/freeChat.js
+1
-5
No files found.
wechat_lung_chat/javaScript/freeChat.js
View file @
ce61e7bc
...
...
@@ -431,16 +431,12 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
'<p class="chat_from_name">'
+
chat
.
helperName
+
'</p>'
+
'<div class="chat_message chat_message_from
chat_message_helper
">'
+
'<div class="chat_message chat_message_from">'
+
chat
.
record
[
i
].
content
+
'</div>'
+
'</div>'
+
'</div>'
+
'</div>'
;
if
(
chat
.
record
[
i
].
content
.
includes
(
'http'
)){
var
html1
=
'<a href="'
+
chat
.
record
[
i
].
content
+
'">'
+
chat
.
record
[
i
].
content
+
'</a>'
$
(
'.chat_list .chat_message_helper'
).
html
(
html1
)
}
}
}
else
if
(
type
==
10
)
{
var
content
=
JSON
.
parse
(
chat
.
record
[
i
].
content
);
...
...
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