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
b85ddf73
Commit
b85ddf73
authored
Oct 22, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改免费聊天价格中横线'
parent
fd858830
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
freeChat.css
wechat_lung_chat/css/freeChat.css
+2
-1
freeChat.js
wechat_lung_chat/javaScript/freeChat.js
+7
-2
imgConsultChat.js
wechat_lung_chat/javaScript/imgConsultChat.js
+2
-0
No files found.
wechat_lung_chat/css/freeChat.css
View file @
b85ddf73
...
...
@@ -203,9 +203,10 @@ body {
margin-top
:
0.04rem
;
font-size
:
0.2rem
;
color
:
#fff
;
}
.service_price_throw
{
text-decoration
:
line-through
;
}
.sevice_img_consult
{
background
:
#37D488
;
}
...
...
wechat_lung_chat/javaScript/freeChat.js
View file @
b85ddf73
...
...
@@ -25,6 +25,8 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
imgKey
:
''
,
// 上传图片后的url地址
imgUrl
:
''
,
// 价格横线
throwClass
:
''
,
init
:
function
()
{
chat
.
getDoctorDetail
();
chat
.
bindEve
();
...
...
@@ -285,6 +287,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
orderSn
:
''
},
success
:
function
(
res
)
{
console
.
log
(
'消息列表'
,
res
)
medtap
.
loading
(
0
);
var
record
=
res
.
content
.
list
;
var
html
=
''
;
...
...
@@ -361,6 +364,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
}
}
else
if
(
type
==
10
)
{
var
content
=
JSON
.
parse
(
record
[
i
].
content
);
chat
.
throwClass
=
content
.
payFee
==
0
?
'service_price_throw'
:
''
;
html
+=
'<div class="service_message img_consult clearfix" style="margin-bottom:0.2rem;" data-id="'
+
content
.
orderSn
+
...
...
@@ -368,7 +372,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<div class="service_left_box sevice_img_consult">'
+
'<img src="../images/consult_order_twzx_png@2x.png" >'
+
'<p class="service_title">图文咨询</p>'
+
'<p class="service_price">'
+
'<p class="service_price
'
+
chat
.
throwClass
+
'
">'
+
content
.
payFee
+
'元'
+
'</p>'
+
'</div>'
+
...
...
@@ -384,6 +388,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
html
+=
'<p class="system_msg">'
+
content
.
replace
(
/
\n
/g
,
'<br>'
)
+
'</p>'
;
}
else
if
(
type
==
11
)
{
var
content
=
JSON
.
parse
(
record
[
i
].
content
);
chat
.
throwClass
=
content
.
payFee
==
0
?
'service_price_throw'
:
''
;
html
+=
'<div class="service_message consult_box clearfix" data-id="'
+
content
.
orderSn
+
...
...
@@ -391,7 +396,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<div class="service_left_box sevice_consult">'
+
'<img src="../images/consult_order_twzx_png@2x.png" >'
+
'<p class="service_title">私人医生</p>'
+
'<p class="service_price">'
+
'<p class="service_price
'
+
chat
.
throwClass
+
'
">'
+
content
.
payFee
+
'元'
+
'</p>'
+
'</div>'
+
...
...
wechat_lung_chat/javaScript/imgConsultChat.js
View file @
b85ddf73
...
...
@@ -25,6 +25,8 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
imgKey
:
''
,
// 上传图片后的url地址
imgUrl
:
''
,
// 中划线类名
throwClass
:
''
,
init
:
function
()
{
chat
.
bindEve
();
chat
.
talkRelation
();
...
...
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