|
@@ -25,8 +25,15 @@ var g = new common.grid({ |
|
@@ -25,8 +25,15 @@ var g = new common.grid({ |
25
|
}},
|
25
|
}},
|
26
|
{display: "排序", name: "orderNum"},
|
26
|
{display: "排序", name: "orderNum"},
|
27
|
{display: "标题", name: "title", width:"200px"},
|
27
|
{display: "标题", name: "title", width:"200px"},
|
28
|
- {display: "封面图", name: "coverUrl", height:"102px", render: function (item) {
|
|
|
29
|
- return '<img src="'+item.coverUrl+'" height="100px" />';
|
28
|
+ {display: "手机端封面图", name: "coverUrl", height:"102px", render: function (item) {
|
|
|
29
|
+ if(item.coverUrl) {
|
|
|
30
|
+ return '<img src="' + item.coverUrl + '" height="100px" />';
|
|
|
31
|
+ }
|
|
|
32
|
+ }},
|
|
|
33
|
+ {display: "web封面图", name: "webCoverUrl", height:"102px", render: function (item) {
|
|
|
34
|
+ if(item.webCoverUrl) {
|
|
|
35
|
+ return '<img src="' + item.webCoverUrl + '" height="100px" />';
|
|
|
36
|
+ }
|
30
|
}},
|
37
|
}},
|
31
|
{display: "促销形式", name: "promotionName"},
|
38
|
{display: "促销形式", name: "promotionName"},
|
32
|
{display: "平台", name: "plateform", render: function (item) {
|
39
|
{display: "平台", name: "plateform", render: function (item) {
|