index320.html 4.38 KB
{{> 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>&nbsp;|&nbsp;
                {{/ channel}}
                {{# subChannel}}
                <a href="{{link}}" onclick="YOHODCLICK('home','mobile','homeContentTwoChannel')">{{name}}</a>&nbsp;|&nbsp;
                {{/ 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>&nbsp;|&nbsp;
                {{/ channel}}
                {{# subChannel}}
                <a href="{{link}}" onclick="YOHODCLICK('home','mobile','homePopTwoChannel')">{{name}}</a>&nbsp;|&nbsp;
                {{/ 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}}