menu.html
3.04 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
<script type="x-tmpl-mustache" id="menuItemTmpl">
\{{# fashion}}
<div class="content-item-menu">
<a class="link" href="\{{link}}" target="_blank" onclick="YOHODCLICK('channel','web','threeFashion')"></a>
<span class="a-img">
\{{# isVideo}}
<a class="a-video" href="\{{link}}" onclick="YOHODCLICK('channel','web','threeFashion')"></a>
\{{/ isVideo}}
<img src="\{{cover}}" alt="\{{title}}">
</span>
<span class="menu-text">\{{title}}</span>
<span class="menu-text menu-detail" style="margin-top:15px;">\{{subtitle}}</span>
</div>
\{{/ fashion}}
\{{# beauty}}
<div class="content-item-menu">
<a class="link" href="\{{link}}" target="_blank" onclick="YOHODCLICK('channel','web','threeBeauty')"></a>
<span class="a-img">
\{{# isVideo}}
<a class="a-video" href="\{{link}}" onclick="YOHODCLICK('channel','web','threeBeauty')"></a>
\{{/ isVideo}}
<img src="\{{cover}}" alt="\{{title}}">
</span>
<span class="menu-text">\{{title}}</span>
<span class="menu-text menu-detail" style="margin-top:15px;">\{{subtitle}}</span>
</div>
\{{/ beauty}}
\{{# lifestyle}}
<div class="content-item-menu">
<a class="link" href="\{{link}}" target="_blank" onclick="YOHODCLICK('channel','web','threeLifestyle')"></a>
<span class="a-img">
\{{# isVideo}}
<a class="a-video" href="\{{link}}" onclick="YOHODCLICK('channel','web','threeLifestyle')"></a>
\{{/ isVideo}}
<img src="\{{cover}}" alt="\{{title}}">
</span>
<span class="menu-text">\{{title}}</span>
<span class="menu-text menu-detail" style="margin-top:15px;">\{{subtitle}}</span>
</div>
\{{/ lifestyle}}
\{{# sport}}
<div class="content-item-menu">
<a class="link" href="\{{link}}" target="_blank" onclick="YOHODCLICK('channel','web','threeSport')"></a>
<span class="a-img">
\{{# isVideo}}
<a class="a-video" href="\{{link}}" onclick="YOHODCLICK('channel','web','threeSport')"></a>
\{{/ isVideo}}
<img src="\{{cover}}" alt="\{{title}}">
</span>
<span class="menu-text">\{{title}}</span>
<span class="menu-text menu-detail" style="margin-top:15px;">\{{subtitle}}</span>
</div>
\{{/ sport}}
</script>
<script type="x-tmpl-mustache" id="menuItemTmplVideo">
\{{# video}}
<div class="submenu-video-item\{{^ isMid}} submenu-video-side \{{/ isMid}} \{{# isMid}} submenu-video-mid \{{/ isMid}}">
<a class="link" href="\{{link}}" target="_blank" onclick="YOHODCLICK('channel','web','threeVideo')"></a>
<span class="a-img">
<a class="a-video" href="\{{link}}" onclick="YOHODCLICK('channel','web','threeVideo')"></a>
<img src="\{{cover}}" alt="\{{title}}"/>
</span>
<span class="menu-text">\{{title}}</span>
<span class="menu-text menu-detail">\{{subtitle}}</span>
</div>
\{{/ video}}
</script>