Authored by dongjunjie

样式

... ... @@ -95,15 +95,15 @@
return item.imageUrl?'<img src="'+item.imageUrl+'">':"";
}},
{display:'SKN/SKC/SKU',render(item){
return '<p>SKN:'+item.productSkn+'</p>' +
'<p>SKC:'+item.productSkc+'</p>' +
'<p>SKU:'+item.productSku+'</p>';
return '<p>SKN:'+item.productSkn+'</p>' +
'<p>SKC:'+item.productSkc+'</p>' +
'<p>SKU:'+item.productSku+'</p>';
}},
{display:'厂家编号',name:'factoryCode'},
{display:'商品名称',name:'goodsName'},
{display:'价格',render(item){
return '<p>吊牌价:'+item.retailPrice+'</p>' +
'<p>销售价:'+item.salesPrice+'</p>';
return '<p>吊牌价:'+item.retailPrice+'</p>' +
'<p>销售价:'+item.salesPrice+'</p>';
}},
{display:'颜色/尺码',render(item){
return [item.colorName,item.sizeName].join('/');
... ...
... ... @@ -69,9 +69,9 @@
{
name: '', display: 'SKN/SKC/SKU', render: function (item) {
var htmlArr = [];
htmlArr.push('<p>SKN:' + item.productSkn + '</p>');
htmlArr.push('<p>SKC:' + item.productSkc + '</p>');
htmlArr.push('<p>SKU:' + item.productSku + '</p>');
htmlArr.push('<p>SKN:' + item.productSkn + '</p>');
htmlArr.push('<p>SKC:' + item.productSkc + '</p>');
htmlArr.push('<p>SKU:' + item.productSku + '</p>');
return htmlArr.join("");
}
},
... ... @@ -80,8 +80,8 @@
{
name: 'price', display: '价格', render: function (item) {
var htmlArr = [];
htmlArr.push('<p>吊牌价:' + item.retailPrice + '</p>');
htmlArr.push('<p>销售价:' + item.salesPrice + '</p>');
htmlArr.push('<p>吊牌价:' + item.retailPrice + '</p>');
htmlArr.push('<p>销售价:' + item.salesPrice + '</p>');
return htmlArr.join("");
}
},
... ...
... ... @@ -68,9 +68,9 @@
{
name: 'SKN/SKC/SKU', display: 'SKN/SKC/SKU', render: function (item) {
var htmlArr = [];
htmlArr.push('<p>SKN:' + item.productSkn + '</p>');
htmlArr.push('<p>SKC:' + item.productSkc + '</p>');
htmlArr.push('<p>SKU:' + item.productSku + '</p>');
htmlArr.push('<p>SKN:' + item.productSkn + '</p>');
htmlArr.push('<p>SKC:' + item.productSkc + '</p>');
htmlArr.push('<p>SKU:' + item.productSku + '</p>');
return htmlArr.join("");
}
},
... ... @@ -79,8 +79,8 @@
{
name: 'price', display: '价格', render: function (item) {
var htmlArr = [];
htmlArr.push('<p>吊牌价:' + item.retailPrice + '</p>');
htmlArr.push('<p>销售价:' + item.salesPrice + '</p>');
htmlArr.push('<p>吊牌价:' + item.retailPrice + '</p>');
htmlArr.push('<p>销售价:' + item.salesPrice + '</p>');
return htmlArr.join("");
}
},
... ...
... ... @@ -60,7 +60,7 @@
return item.imageUrl?'<img src="'+item.imageUrl+'">':"";
}},
{display:'SKN/SKU',render(item){
return '<p>SKN:'+item.productSkn+'</p><p>SKU:'+item.productSku+'</p>';
return '<p>SKN:'+item.productSkn+'</p><p>SKU:'+item.productSku+'</p>';
}},
{display:'厂家编号',name:'factoryCode'},
{display:'商品名称',name:'goodsName'},
... ...
... ... @@ -60,7 +60,7 @@
return item.imageUrl?'<img src="'+item.imageUrl+'">':"";
}},
{display:'SKN/SKU',render(item){
return '<p>SKN:'+item.productSkn+'</p><p>SKU:'+item.productSku+'</p>';
return '<p>SKN:'+item.productSkn+'</p><p>SKU:'+item.productSku+'</p>';
}},
{display:'厂家编号',name:'factoryCode'},
{display:'商品名称',name:'goodsName'},
... ...
... ... @@ -70,7 +70,7 @@
},
{
display: 'SKN/SKU', render(item){
return '<p>SKN:' + item.productSkn + '</p><p>SKU:' + item.productSku + '</p>';
return '<p>SKN:' + item.productSkn + '</p><p>SKU:' + item.productSku + '</p>';
}
},
{display: '厂家编号', name: 'factoryCode'},
... ...
... ... @@ -53,6 +53,7 @@
}
p{
margin: 10px 0 0;
font-size: 15px;
}
}
... ...