index.phtml
4.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{{> layout/header}}
<div class="my-page yoho-page">
<div class="my-header">
{{#isLogin}}
<a class="user-info" href="/home/mydetails">
<img class="user-avatar" src="{{head_ico}}">
<span class="username">{{profile_name}}</span>
{{#vip_info}}
<span class="vip-icon vip-{{next_level}}"></span>
{{/vip_info}}
<div class="iconfont more-icon"></div>
</a>
{{/isLogin}}
{{^isLogin}}
<div class="user-info">
<a class="login-btn" href="/signin.html">
登录/注册
</a>
</div>
{{/isLogin}}
</div>
<div class="my-link clearfix {{^isLogin}}no-login{{/isLogin}}">
<a class="link-item" href="/home/favorite">
{{#isLogin}}{{product_favorite_total}}{{/isLogin}}
<p>收藏的商品</p>
</a>
<a class="link-item" href="/home/favorite?tab=brand">
{{#isLogin}}{{brand_favorite_total}}{{/isLogin}}
<p>收藏的品牌</p>
</a>
<a class="link-item" href="/home/">
{{#isLogin}}{{product_browse}}{{/isLogin}}
<p>浏览记录</p>
</a>
</div>
<div class="my-order">
<div class="order-title">
我的订单
<a class="iconfont" href="/home/order">
查看全部订单 
</a>
</div>
<div class="order-type clearfix">
<a class="type-item" href="/home/order?type=2">
<span class="iconfont"></span>
<br>待付款
</a>
<a class="type-item" href="/home/order?type=3">
<span class="iconfont"></span>
<br>待发货
</a>
<a class="type-item" href="/home/order?type=4">
<span class="iconfont"></span>
<br>待收货
</a>
</div>
</div>
<div class="group-list">
<a class="list-item" href="/home/address">
<span class="iconfont icon"></span>
地址管理
<span class="iconfont num">{{#if address_num}}{{address_num}}{{/if}} </span>
</a>
</div>
<div class="group-list">
<a class="list-item" href="/home/coupons">
<span class="iconfont icon"></span>
优惠券
<span class="iconfont num">{{#if coupon_num}}{{coupon_num}}{{/if}} </span>
</a>
<a class="list-item" href="/home/currency">
<span class="iconfont icon"></span>
YOHO 币
<span class="iconfont num">{{#if yoho_coin_num}}{{yoho_coin_num}}{{/if}} </span>
</a>
</div>
<div class="group-list">
<a class="list-item" href="/home/message">
<span class="iconfont icon"></span>
消息
<span class="iconfont num">{{#if inbox_total}}{{inbox_total}}{{/if}} </span>
</a>
</div>
<div class="group-list">
<a class="list-item" href="/home/onlineService">
<span class="iconfont icon"></span>
在线客服
<span class="iconfont num"></span>
</a>
<a class="list-item" href="/home/suggest">
<span class="iconfont icon"></span>
意见反馈
<span class="iconfont num"></span>
</a>
</div>
<div class="group-list">
<a class="list-item" href="/home/IHelp">
<span class="iconfont icon"></span>
帮助
<span class="iconfont num"></span>
</a>
</div>
{{#isLogin}}
{{> product/recommend-for-you}}
{{/isLogin}}
</div>
{{> layout/footer}}