1
|
{{> layout/header}}
|
1
|
{{> layout/header}}
|
2
|
<div class="my-page yoho-page">
|
2
|
<div class="my-page yoho-page">
|
3
|
<div class="my-header">
|
3
|
<div class="my-header">
|
|
|
4
|
+ {{#isLogin}}
|
4
|
<a class="user-info" href="/home/personaldetails">
|
5
|
<a class="user-info" href="/home/personaldetails">
|
5
|
<img class="user-avatar" src="{{head_ico}}">
|
6
|
<img class="user-avatar" src="{{head_ico}}">
|
6
|
<span class="username">{{profile_name}}</span>
|
7
|
<span class="username">{{profile_name}}</span>
|
|
@@ -9,18 +10,26 @@ |
|
@@ -9,18 +10,26 @@ |
9
|
{{/vip_info}}
|
10
|
{{/vip_info}}
|
10
|
<div class="iconfont more-icon"></div>
|
11
|
<div class="iconfont more-icon"></div>
|
11
|
</a>
|
12
|
</a>
|
|
|
13
|
+ {{/isLogin}}
|
|
|
14
|
+ {{^isLogin}}
|
|
|
15
|
+ <div class="user-info">
|
|
|
16
|
+ <a class="login-btn" href="http://m.dev.yohobuy.com/signin.html">
|
|
|
17
|
+ 登录/注册
|
|
|
18
|
+ </a>
|
|
|
19
|
+ </div>
|
|
|
20
|
+ {{/isLogin}}
|
12
|
</div>
|
21
|
</div>
|
13
|
- <div class="my-link clearfix">
|
22
|
+ <div class="my-link clearfix {{^isLogin}}no-login{{/isLogin}}">
|
14
|
<a class="link-item" href="/home/favorite">
|
23
|
<a class="link-item" href="/home/favorite">
|
15
|
- {{product_favorite_total}}
|
24
|
+ {{#if product_favorite_total}}{{product_favorite_total}}{{/if}}
|
16
|
<p>收藏的商品</p>
|
25
|
<p>收藏的商品</p>
|
17
|
</a>
|
26
|
</a>
|
18
|
<a class="link-item" href="/home/favorite?tab=brand">
|
27
|
<a class="link-item" href="/home/favorite?tab=brand">
|
19
|
- {{brand_favorite_total}}
|
28
|
+ {{#if brand_favorite_total}}{{brand_favorite_total}}{{/if}}
|
20
|
<p>收藏的品牌</p>
|
29
|
<p>收藏的品牌</p>
|
21
|
</a>
|
30
|
</a>
|
22
|
<a class="link-item" href="/home/">
|
31
|
<a class="link-item" href="/home/">
|
23
|
- {{product_browse}}
|
32
|
+ {{#if product_browse}}{{product_browse}}{{/if}}
|
24
|
<p>浏览记录</p>
|
33
|
<p>浏览记录</p>
|
25
|
</a>
|
34
|
</a>
|
26
|
</div>
|
35
|
</div>
|
|
@@ -50,26 +59,26 @@ |
|
@@ -50,26 +59,26 @@ |
50
|
<a class="list-item" href="/home/address">
|
59
|
<a class="list-item" href="/home/address">
|
51
|
<span class="iconfont icon"></span>
|
60
|
<span class="iconfont icon"></span>
|
52
|
地址管理
|
61
|
地址管理
|
53
|
- <span class="iconfont num">{{address_num}} </span>
|
62
|
+ <span class="iconfont num">{{#if address_num}}{{address_num}}{{/if}} </span>
|
54
|
</a>
|
63
|
</a>
|
55
|
</div>
|
64
|
</div>
|
56
|
<div class="group-list">
|
65
|
<div class="group-list">
|
57
|
<a class="list-item" href="/home/coupons">
|
66
|
<a class="list-item" href="/home/coupons">
|
58
|
<span class="iconfont icon"></span>
|
67
|
<span class="iconfont icon"></span>
|
59
|
优惠券
|
68
|
优惠券
|
60
|
- <span class="iconfont num">{{coupon_num}} </span>
|
69
|
+ <span class="iconfont num">{{#if coupon_num}}{{coupon_num}}{{/if}} </span>
|
61
|
</a>
|
70
|
</a>
|
62
|
<a class="list-item" href="/home/currency">
|
71
|
<a class="list-item" href="/home/currency">
|
63
|
<span class="iconfont icon"></span>
|
72
|
<span class="iconfont icon"></span>
|
64
|
YOHO 币
|
73
|
YOHO 币
|
65
|
- <span class="iconfont num">{{yoho_coin_num}} </span>
|
74
|
+ <span class="iconfont num">{{#if yoho_coin_num}}{{yoho_coin_num}}{{/if}} </span>
|
66
|
</a>
|
75
|
</a>
|
67
|
</div>
|
76
|
</div>
|
68
|
<div class="group-list">
|
77
|
<div class="group-list">
|
69
|
<a class="list-item" href="/home/message">
|
78
|
<a class="list-item" href="/home/message">
|
70
|
<span class="iconfont icon"></span>
|
79
|
<span class="iconfont icon"></span>
|
71
|
消息
|
80
|
消息
|
72
|
- <span class="iconfont num">{{inbox_total}} </span>
|
81
|
+ <span class="iconfont num">{{#if inbox_total}}{{inbox_total}}{{/if}} </span>
|
73
|
</a>
|
82
|
</a>
|
74
|
</div>
|
83
|
</div>
|
75
|
<div class="group-list">
|
84
|
<div class="group-list">
|