Authored by 郝肖肖

Merge branch 'feature/plusstarSpeck' into release/5.1

@@ -33,7 +33,9 @@ @@ -33,7 +33,9 @@
33 <div class='speck-title-image' data-fid='{{id}}' data-name='{{title}}'> 33 <div class='speck-title-image' data-fid='{{id}}' data-name='{{title}}'>
34 <div class="header-title"> 34 <div class="header-title">
35 {{title}} 35 {{title}}
36 - <a class="more" href="{{moreUrl}}">{{moreName}}</a> 36 + {{#if moreName}}
  37 + <a class="more" href="{{moreUrl}}">{{moreName}}</a>
  38 + {{/if}}
37 </div> 39 </div>
38 <div class="title-image"> 40 <div class="title-image">
39 <a class="image" href="{{image.url}}"> 41 <a class="image" href="{{image.url}}">
@@ -59,9 +61,11 @@ @@ -59,9 +61,11 @@
59 {{#if result.recommend.title}} 61 {{#if result.recommend.title}}
60 <div class="header-title"> 62 <div class="header-title">
61 {{result.recommend.title.name}} 63 {{result.recommend.title.name}}
62 - <a class="more" href="{{result.recommend.title.moreUrl}}">  
63 - {{result.recommend.title.moreName}}  
64 - </a> 64 + {{#if result.recommend.title.moreName}}
  65 + <a class="more" href="{{result.recommend.title.moreUrl}}">
  66 + {{result.recommend.title.moreName}}
  67 + </a>
  68 + {{/if}}
65 </div> 69 </div>
66 {{/if}} 70 {{/if}}
67 {{#if result.recommend.data}} 71 {{#if result.recommend.data}}
@@ -79,9 +83,11 @@ @@ -79,9 +83,11 @@
79 {{#if result.goods.title}} 83 {{#if result.goods.title}}
80 <div class="header-title"> 84 <div class="header-title">
81 {{result.goods.title.name}} 85 {{result.goods.title.name}}
82 - <a class="more" href="{{result.goods.title.moreUrl}}">  
83 - {{result.goods.title.moreName}}  
84 - </a> 86 + {{#if result.goods.title.moreName}}
  87 + <a class="more" href="{{result.goods.title.moreUrl}}">
  88 + {{result.goods.title.moreName}}
  89 + </a>
  90 + {{/if}}
85 <input type='hidden' value='{{result.goods.productSkns}}' class='product-skns' /> 91 <input type='hidden' value='{{result.goods.productSkns}}' class='product-skns' />
86 </div> 92 </div>
87 93