Authored by lijian

网销列表展示

... ... @@ -325,10 +325,14 @@ var g = new common.grid({
hidden: false,
render: function (item) {
var searchAndLabel = item.searchAndLabel ? item.searchAndLabel : '',
searchKeys = item.searchKeys ? item.searchKeys : '',
style = item.style ? item.style : '',
pattern = item.pattern ? item.pattern : '',
makeCrafts = item.makeCrafts ? item.makeCrafts : '';
return '关键词:' + searchAndLabel + '<br>' +
if(searchKeys.length>15){
searchKeys=searchKeys.substr(0,15)+"...";
}
return '关键词:' + searchKeys + '<br>' +
'风格:' + style + '<br>' +
'纹理:' + pattern + '<br>' +
'工艺:' + makeCrafts + '<br>';
... ...