Authored by hf

Merge branch 'test' of http://git.dev.yoho.cn/web/yohobuy into test

@@ -69,7 +69,9 @@ @@ -69,7 +69,9 @@
69 kids: true, 69 kids: true,
70 lifeStyle: true, 70 lifeStyle: true,
71 //对应页面有就传,没有就不传 71 //对应页面有就传,没有就不传
72 - navBack: true, 72 + navBack: {
  73 + backUrl: '' //需要指定回退路径的传此值,若使用默认history.back(-1)的就不传
  74 + },
73 navTitle: '', 75 navTitle: '',
74 navHome: '' 76 navHome: ''
75 } 77 }
1 {{#pageHeader}} 1 {{#pageHeader}}
2 <header id="yoho-header" class="yoho-header{{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}"> 2 <header id="yoho-header" class="yoho-header{{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}">
3 - {{#if navBack}}  
4 - <a href="javascript:history.go(-1);" class="iconfont nav-back">&#xe610;</a>  
5 - {{/if}} 3 + {{#navBack}}
  4 + <a href="{{#if backUrl}}{{backUrl}}{{^}}javascript:history.go(-1);{{/if}}" class="iconfont nav-back">&#xe610;</a>
  5 + {{/navBack}}
6 {{#navHome}} 6 {{#navHome}}
7 <a href="{{.}}" class="iconfont nav-home">&#xe611;</a> 7 <a href="{{.}}" class="iconfont nav-home">&#xe611;</a>
8 {{/navHome}} 8 {{/navHome}}