side_nav.phtml
1.6 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
<div class="side-nav">
<ul>
{{# sideNav}}
<li class="{{styleClass}}">
{{# url}}
<a href="{{.}}">
{{/ url}}
{{^ url}}
<a href="javascript:;">
{{/ url}}
{{# img}}
<!-- <img class="nav-img" src="{{.}}" alt=""> -->
<span class="nav-img" style="background-image: url({{.}})"></span>
{{/ img}}
{{^ img}}
<i class="nav-icon"></i>
{{/ img}}
<em>{{textCn}}</em>{{textEn}}
{{# subNav}}
<span class="enter-subnav iconfont"></span>
{{/ subNav}}
</a>
{{# subNav}}
<ul class="sub-nav">
{{# list}}
<li class="{{# isSelect}}current{{/ isSelect}}" style="background-color:{{bgColor}}">
{{# url}}
<a href="{{.}}">
{{/ url}}
{{^ url}}
<a href="javascript:;">
{{/ url}}
{{^ back}}
<span class="nav-point iconfont"></span>
{{/ back}}
{{# back}}
<i class="nav-back iconfont"></i>
{{/ back}}
<em>{{textCn}}</em>
{{textEn}}
</a>
</li>
{{/ list}}
</ul>
{{/ subNav}}
</li>
{{/ sideNav}}
</ul>
</div>