index_hk320.html 4.27 KB
{{> layout/header_hk320}}
{{> 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=""/>
            </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=""/>
            </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_us_hk320}}
    {{> 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();
        // 23-24
        if ((timestamp > 1458698400000 && timestamp <= 1458784800000)) {
            i.src="http://v.admaster.com.cn/i/a65721,b989719,c567,i0,m202,h";
        }
        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/download_hk320}}
{{> layout/footer_hk320}}