Commit ee6015aa by zujiaozhang

'肺癌论坛审批修改2'

parent 72e76072
......@@ -118,12 +118,16 @@ body {
font-size: 0.25rem;
color:#F8B15B;
font-weight: 600;
border-top:1px solid #eee;
margin-top: 0.2rem;
}
.show_refuseStr{
padding-top: 0.2rem;
font-size: 0.25rem;
color:#F76C26;
font-weight: 600;
border-top:1px solid #eee;
margin-top: 0.2rem;
}
.show_refuseStr span{
font-size: 0.25rem;
......
......@@ -4,6 +4,8 @@ define(['zepto', 'medtap'], function($, medtap) {
offset: 1,
hasMore: false,
firstLoad: false,
pageNum: 1,
pageSize: 20,
init: function() {
myCard.getUserInfo();
myCard.getMyCard();
......@@ -70,7 +72,7 @@ define(['zepto', 'medtap'], function($, medtap) {
//滚动条到达底部
if (myCard.hasMore == true) {
var type = ''
if ($('#id').hasClass('on')) {
if ($('#my').hasClass('on')) {
myCard.firstLoad = true;
myCard.offset += 1;
myCard.getMyCard();
......@@ -78,8 +80,11 @@ define(['zepto', 'medtap'], function($, medtap) {
myCard.firstLoad = true;
myCard.offset += 1;
myCard.getMyCollect();
}else if ($('#reply').hasClass('on')) {
myCard.firstLoad = true;
myCard.offset += 1;
myCard.getMyReply();
}
} else {
}
......@@ -140,7 +145,7 @@ define(['zepto', 'medtap'], function($, medtap) {
offset: myCard.offset
},
success: function(res) {
console.log('获取我的帖子数据',res)
// console.log('获取我的帖子数据',res)
medtap.loading(0);
if (res.success == true) {
var list = res.content.list;
......@@ -189,7 +194,7 @@ define(['zepto', 'medtap'], function($, medtap) {
// 要显示的条件判断语句
switch (list[i].status){
case 0:
showStr = ''
showStr = editIsshow
showBottom=waitStr
break;
case 1:
......@@ -197,7 +202,7 @@ define(['zepto', 'medtap'], function($, medtap) {
showBottom=''
break;
case 2:
showStr =''
showStr =editIsshow
showBottom='<div class="show_refuseStr">' +
'<p>审核未通过: <span> '+list[i].rejectRemark +'</span> </p>' +
'</div>'
......
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