Authored by leo

Fixed: 限制图片尺寸和强制文字换行

... ... @@ -31,13 +31,13 @@ var g = new common.grid({
{display: "图片", render: function(item) {
var htmlArr = [];
htmlArr.push('<div>');
htmlArr.push('<img src="' + item.imageUrl + '">');
htmlArr.push('<img src="' + item.imageUrl + '?imageView2/2/w/120/h/60">');
htmlArr.push('</div>');
return htmlArr.join('');
}},
{display: "备注", width: '50%', render: function(item) {
return "<p>" + item.remark + "</p>";
return "<p style='word-break:break-all;'>" + item.remark + "</p>";
}},
{display: "操作", render: function(item) {
var htmlArr = [];
... ...