Authored by liangyi.chen@yoho.cn

页面优化

@@ -549,7 +549,10 @@ @@ -549,7 +549,10 @@
549 if(rowData.authStatus == 1){ 549 if(rowData.authStatus == 1){
550 str += "<a role='showDetail' class='btn-info' dataId='"+rowData.articleId+ "' index='"+ rowIndex + "' status='1' style='margin-left:10px'>评论</a>"; 550 str += "<a role='showDetail' class='btn-info' dataId='"+rowData.articleId+ "' index='"+ rowIndex + "' status='1' style='margin-left:10px'>评论</a>";
551 } 551 }
552 - str += "<a role='markR' class='btn-success' dataId='"+rowData.articleId+ "' index='"+ rowIndex + "' style='margin-left:10px'>标记</a>"; 552 + if(rowData.sort == 1){
  553 + str += "<a role='markR' class='btn-success' dataId='"+rowData.articleId+ "' index='"+ rowIndex + "' style='margin-left:10px'>标记</a>";
  554 + }
  555 +
553 //str += "<a role='preview' class='btn-info' dataId='" + rowData.previewUrl + "' index='"+ rowIndex + "' style='margin-left:10px'>预览</a>"; 556 //str += "<a role='preview' class='btn-info' dataId='" + rowData.previewUrl + "' index='"+ rowIndex + "' style='margin-left:10px'>预览</a>";
554 557
555 return str; 558 return str;
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <td> 7 <td>
8 达人搭配:<input type="checkbox" id = "box1"/> 8 达人搭配:<input type="checkbox" id = "box1"/>
9 </td> 9 </td>
10 - <td id="findgoodTD"> 10 + <td>
11 发现好货:<input type="checkbox" id = "box2"/> 11 发现好货:<input type="checkbox" id = "box2"/>
12 </td> 12 </td>
13 </tr> 13 </tr>
@@ -31,12 +31,6 @@ @@ -31,12 +31,6 @@
31 $("#box2").attr("checked",true); 31 $("#box2").attr("checked",true);
32 } 32 }
33 33
34 - if(data.sort == 1){  
35 - $("#findgoodTD").show();  
36 - }else{  
37 - $("#findgoodTD").hide();  
38 - }  
39 -  
40 }); 34 });
41 35
42 36