|
@@ -295,12 +295,15 @@ const _getSkuDataByProductBaseInfo = (data) => { |
|
@@ -295,12 +295,15 @@ const _getSkuDataByProductBaseInfo = (data) => { |
295
|
// 商品列表
|
295
|
// 商品列表
|
296
|
goodsGroup.productSkc = cur.product_skc;
|
296
|
goodsGroup.productSkc = cur.product_skc;
|
297
|
goodsGroup.src = helpers.image(cur.color_image, 40, 40);
|
297
|
goodsGroup.src = helpers.image(cur.color_image, 40, 40);
|
298
|
- goodsGroup.title = `${_.trim(data.product_name)} ${cur.color_name}`;
|
|
|
299
|
- goodsGroup.name = cur.color_name;
|
298
|
+ goodsGroup.title = `${_.trim(data.product_name)} ${cur.factory_goods_name}`;
|
|
|
299
|
+ goodsGroup.name = cur.factory_goods_name;
|
300
|
goodsGroup.focus = false;
|
300
|
goodsGroup.focus = false;
|
301
|
goodsGroup.total = 0;
|
301
|
goodsGroup.total = 0;
|
302
|
goodsGroup.thumbs = [];
|
302
|
goodsGroup.thumbs = [];
|
303
|
goodsGroup.size = [];
|
303
|
goodsGroup.size = [];
|
|
|
304
|
+ if(goodsGroup.title.length > 20){
|
|
|
305
|
+ goodsGroup.title = goodsGroup.title.substr(0,20) + '...';
|
|
|
306
|
+ }
|
304
|
}
|
307
|
}
|
305
|
|
308
|
|
306
|
_.get(cur, 'images_list', []).forEach((good) => {
|
309
|
_.get(cur, 'images_list', []).forEach((good) => {
|