simple-header.phtml
2.81 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="renderer" content="webkit">
<link rel="shortcut icon" href="http://www.yohobuy.com/favicon.ico" type="image/x-icon" />
<meta name="keywords" content="{{keywords}}">
<meta name="description" content="{{description}}">
<title>{{title}}</title>
<!-- [if (gte IE 6)&(lte IE 8)>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="http://webstatic.dev.yohobuy.com/css/index.css">
</head>
<body>
{{# simpleHeader}}
<div class="simple-header">
<div class="header-inner clearfix">
{{# logo}}
<h1 class="logo">
<a href="{{url}}">
<img src="{{img}}" alt="">
</a>
</h1>
{{/ logo}}
<ul class="header-tool clearfix">
{{# tool}}
<li>
<span>Hi~</span>
{{# user}}
<a href="{{userCenter}}">{{.}}</a>
{{/ user}}
{{# loginHref}}
<a href="{{.}}">[请登录]</a>
{{/ loginHref}}
{{# logoutHref}}
<a href="{{.}}">[退出]</a>
{{/ logoutHref}}
{{# registerHref}}
<a href="{{.}}">[免费注册]</a>
{{/ registerHref}}
</li>
<li class="tool-options">
<span>MY有货</span>
<i class="options-icon down iconfont"></i>
<i class="options-icon up iconfont"></i>
<div class="tool-select">
<a href="{{favoriteHref}}">我的收藏</a>
<a href="{{couponHref}}">优惠券</a>
</div>
</li>
<li>
<a href="{{orderHref}}">订单中心</a>
</li>
<li>
<a href="{{helpHref}}">帮助中心</a>
</li>
<li>
<i class="tell-icon iconfont"></i>
<span>400-9889-9646</span>
</li>
{{/ tool}}
</ul>
</div>
</div>
{{/ simpleHeader}}