Authored by hongweigao

修改样式

@@ -307,14 +307,18 @@ const _getHotGoodsFloorData = (args, type) => { @@ -307,14 +307,18 @@ const _getHotGoodsFloorData = (args, type) => {
307 * @return {Object} 307 * @return {Object}
308 */ 308 */
309 const _getJacketData = (arg) => { 309 const _getJacketData = (arg) => {
310 -  
311 - return { 310 + let resData = {
312 tpltopic: { 311 tpltopic: {
313 - title: arg.title,  
314 bigPic: arg.big_image[0], 312 bigPic: arg.big_image[0],
315 types: arg.list 313 types: arg.list
316 } 314 }
317 }; 315 };
  316 +
  317 + if(arg.title.title !== '') {
  318 + resData.tpltopic.title = arg.title;
  319 + }
  320 +
  321 + return resData;
318 }; 322 };
319 323
320 /** 324 /**
1 <div class="tpl-recommend clearfix"> 1 <div class="tpl-recommend clearfix">
2 - {{> common/floor-header}}  
3 <div class="tpl-body clearfix"> 2 <div class="tpl-body clearfix">
4 {{# title}} 3 {{# title}}
5 <h2 class="tpl-title">{{name}}</h2> 4 <h2 class="tpl-title">{{name}}</h2>