Commit fd858830 by zujiaozhang

'添加被删除帖子访问后提示,修改图文咨询和私人医生的金额样式'

parent 34b8bc5f
...@@ -188,6 +188,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -188,6 +188,7 @@ define(['zepto', 'medtap'], function($, medtap) {
}, },
success: function(res) { success: function(res) {
// console.log(res)
medtap.loading(0); medtap.loading(0);
if (res.success == true) { if (res.success == true) {
var detailInfo = res.content.publish; var detailInfo = res.content.publish;
...@@ -223,6 +224,8 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -223,6 +224,8 @@ define(['zepto', 'medtap'], function($, medtap) {
} else if (detailInfo.collectStatus == 1) { } else if (detailInfo.collectStatus == 1) {
$('.collect').children('img').attr('src', '../images/post_like red_buttn@2x.png'); $('.collect').children('img').attr('src', '../images/post_like red_buttn@2x.png');
} }
}else{
medtap.winPop('该贴已被删除')
} }
} }
}) })
......
...@@ -780,6 +780,7 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -780,6 +780,7 @@ define(['zepto', 'medtap'], function($, medtap) {
id: id id: id
}, },
success: function(res) { success: function(res) {
// console.log('删除后',res)
medtap.loading(0); medtap.loading(0);
if (res.success == true) { if (res.success == true) {
setTimeout(function() { setTimeout(function() {
......
...@@ -139,7 +139,6 @@ define(['zepto', 'medtap'], function($, medtap) { ...@@ -139,7 +139,6 @@ define(['zepto', 'medtap'], function($, medtap) {
var urls = [], var urls = [],
picUrl = ""; picUrl = "";
[].forEach.call($('#ImgUp .image_files_img'), function(item) { [].forEach.call($('#ImgUp .image_files_img'), function(item) {
alert($(item).attr('imgkey'))
urls.push($(item).attr('imgkey')); urls.push($(item).attr('imgkey'));
}); });
var picUrl = urls.join(','); var picUrl = urls.join(',');
......
...@@ -203,6 +203,7 @@ body { ...@@ -203,6 +203,7 @@ body {
margin-top: 0.04rem; margin-top: 0.04rem;
font-size: 0.2rem; font-size: 0.2rem;
color: #fff; color: #fff;
text-decoration: line-through;
} }
.sevice_img_consult { .sevice_img_consult {
......
...@@ -369,7 +369,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -369,7 +369,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<img src="../images/consult_order_twzx_png@2x.png" >' + '<img src="../images/consult_order_twzx_png@2x.png" >' +
'<p class="service_title">图文咨询</p>' + '<p class="service_title">图文咨询</p>' +
'<p class="service_price">' + '<p class="service_price">' +
content.payFee + content.payFee + '元' +
'</p>' + '</p>' +
'</div>' + '</div>' +
'<div class="service_right_box service_message_detail">' + '<div class="service_right_box service_message_detail">' +
...@@ -392,7 +392,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -392,7 +392,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<img src="../images/consult_order_twzx_png@2x.png" >' + '<img src="../images/consult_order_twzx_png@2x.png" >' +
'<p class="service_title">私人医生</p>' + '<p class="service_title">私人医生</p>' +
'<p class="service_price">' + '<p class="service_price">' +
content.payFee + content.payFee + '元' +
'</p>' + '</p>' +
'</div>' + '</div>' +
'<div class="service_right_box service_message_detail">' + '<div class="service_right_box service_message_detail">' +
......
...@@ -430,7 +430,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) { ...@@ -430,7 +430,7 @@ define([ 'zepto', 'medtap' ], function($, medtap) {
'<img src="../images/consult_order_twzx_png@2x.png" >' + '<img src="../images/consult_order_twzx_png@2x.png" >' +
'<p class="service_title">图文咨询</p>' + '<p class="service_title">图文咨询</p>' +
'<p class="service_price">' + '<p class="service_price">' +
content.payFee + content.payFee + '元' +
'</p>' + '</p>' +
'</div>' + '</div>' +
'<div class="service_right_box service_message_detail">' + '<div class="service_right_box service_message_detail">' +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment