index320.html
4.38 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
{{> layout/header320}}
{{> channel/banner320}}
<div class="video swiper-container">
<ul class="swiper-wrapper">
{{#tvs}}
<li class="swiper-slide">
{{# link}}
<a class="video-bg" href="{{.}}" target="_blank" onclick="YOHODCLICK('home','mobile','homeTv')"></a>
{{/ link}}
{{^ link}}
<span class="video-bg"></span>
{{/ link}}
<img src="{{img}}" alt="">
</li>
{{/tvs}}
</ul>
</div>
<!--content-->
<div class="home-content">
<ul>
{{# content}}
<li class="content-item channel-{{channelType}}">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homeContent')">
<img class="lazy" data-original="{{img}}" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="{{title}}"/>
</a>
<h2>
<a href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homeContent')">{{title}}</a>
</h2>
<h3>
<a href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homeContent')">{{subTitle}}</a>
</h3>
<time>
{{# channel}}
<a href="{{link}}" onclick="YOHODCLICK('home','mobile','homeContentChannel')">{{name}}</a> |
{{/ channel}}
{{# subChannel}}
<a href="{{link}}" onclick="YOHODCLICK('home','mobile','homeContentTwoChannel')">{{name}}</a> |
{{/ subChannel}}
<span time="{{time}}" class="time-format"></span>
</time>
<p>
<a class="a-detail" href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homeContent')">{{content}}</a>
</p>
</li>
{{/ content}}
{{# pop}}
<li id="{{type}}-pop" class="content-item">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homePop')">
<img class="lazy" data-original="{{img}}" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" alt="{{title}}"/>
</a>
<h2>
<a href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homePop')">{{title}}</a>
</h2>
<h3>
<a href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homePop')">{{subTitle}}</a>
</h3>
<time>
{{# channel}}
<a href="{{link}}" onclick="YOHODCLICK('home','mobile','homePopChannel')">{{name}}</a> |
{{/ channel}}
{{# subChannel}}
<a href="{{link}}" onclick="YOHODCLICK('home','mobile','homePopTwoChannel')">{{name}}</a> |
{{/ subChannel}}
<span time="{{time}}" class="time-format"></span>
</time>
{{# hasContent}}
<p>
<a class="a-detail" href="{{link}}" target="_blank" onclick="YOHODCLICK('home','mobile','homePop')">{{content}}</a>
</p>
{{/ hasContent}}
</li>
{{/ pop}}
</ul>
{{> channel/follow_us320}}
{{> channel/page320}}
</div>
<!--广告曝光代码开始-->
<div id="div-adv-iframe" style="display:none"></div>
<script type="text/javascript">
function createIframe() {
var i = document.createElement("iframe");
var timestamp = new Date().getTime();
// 2-3
if ((timestamp > 1454378400000 && timestamp <= 1454464800000)|| (timestamp > 1455415200000 && timestamp <= 1455501600)) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20160201_2.html";
}else if (timestamp > 1454551200000 && timestamp <= 1454724000000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20160201_4.html";
}
i.scrolling="no"; i.frameborder="0"; i.width="0"; i.height="0";
document.getElementById("div-adv-iframe").appendChild(i);
};
if (window.addEventListener) {
window.addEventListener("load", createIframe, false);
} else if (window.attachEvent) {
window.attachEvent("onload", createIframe);
} else {
window.onload = createIframe;
}
</script>
<!--广告曝光代码结束-->
{{> default/download320}}
{{> layout/footer320}}