Authored by 王钱钧

修改逛模块bug。

... ... @@ -74,7 +74,7 @@ var g = new common.grid({
articleGender: common.util.__input('articleGender'),
authorId: common.util.__input('authorId'),
maxSortId: common.util.__input('maxSortId'),
status: common.util.__input('status'),
status: $('#status').val(),//common.util.__input('status'),
orderBy: common.util.__input('orderBy'),
startTime: common.util.__input('starttime'),
endTime: common.util.__input('endtime'),
... ... @@ -92,7 +92,11 @@ var g = new common.grid({
}
}, {
display: '文章标题',
name: "articleTitle"
//name: "articleTitle",
width:'15%',
render: function(item) {
return '<span class="text-overflow"">'+item.articleTitle+'</span>'
}
}, {
display: '分类',
name: "maxSortName"
... ...
... ... @@ -590,4 +590,12 @@ ul {
// background: url(images/closeSelector.png) no-repeat;
cursor: pointer;
z-index: 9999
}
.text-overflow {
display : inline-block;
overflow : hidden;
text-overflow : ellipsis;
white-space : nowrap;
width : 250px;
}
\ No newline at end of file
... ...
... ... @@ -6,8 +6,8 @@
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">商品管理</a></li>
<li>资讯管理</li>
<li><a href="">资讯管理</a></li>
<li>资讯列表管理</li>
</ul>
<div>
... ...