<!DOCTYPE html>
<html lang="en">

<block name="title">首页_{{v('config.webname')}}</block>
<extend file="./template/web/news/header.html"/>


<body>
<include file="./template/web/news/navbar.html"/>

<div class="bdwd main clearfix">
    <div class="pjax-wrapper">
        <div class="pjax-content">
            <div class="prev-content">
                <div class="pjax-loading" style="height: 305px;">
                    <div class="loading-view"></div>
                </div>
            </div>
            <div id="main_lt" class="main_lt">
                <!--首页大图-->
                <div class="pdtt01" <if value="Request::get('page') gt 1">hidden</if>>
                    <arc hot="1" rows="1">
                        <div class="pdtt_lt">
                            <a href="{{$field['url']}}" class="tiptitleImg" target="_blank">
                                <img src="{{$field['thumb']}}" alt="{{$field['title']}}">
                            </a>
                        </div>
                        <div class="pdtt_rt">
                            <div class="pdtt_rtbd">
                                <h2><a href="{{$field['url']}}" target="_blank">{{$field['title']}}</a></h2>
                                <p>{{$field['description']}}</p>
                            </div>
                            <div class="pdtt_trbs">
                                <a href="{{$field['caturl']}}" target="_blank">{{$field['catname']}}</a>
                                <span>{{$field['created_at']}}</span>
                                <div class="trbstxt">热门</div>
                            </div>
                        </div>
                    </arc>
                </div>
                <!--结束：首页大图-->

            <div class="main_ltad"></div>

                <div class="news_slide">
                    <div class="newsslidebd" id="newsslidebd">
                        <span id="news_masonry"></span>
                        <span id="news_list"></span>
                    </div>
                </div>


                <div id="mainContent">
                    <div class="newsbox" id="masonryContent" style="position: relative; width: 939px; height: 740px;">

                        <style>
                            .news_li{
                                position:absolute;
                                height: 300px;
                            }
                            .news_li:nth-of-type(3n+1){
                                left:0;
                            }
                            .news_li:nth-of-type(3n+2){
                                left:313px;
                            }
                            .news_li:nth-of-type(3n+3){
                                left:626px;
                            }

                            .news_li:nth-of-type(3n+3){
                                left:626px;
                            }
                        </style>

                        <arc rows="6" hot="1">
                            <div class="news_li">
                                <div class="news_tu">
                                    <a href="{{$field['url']}}" class="tiptitleImg" target="_blank">
                                        <img src="{{$field['thumb']}}" alt="{{$field['title']}}">
                                    </a>
                                </div>
                                <h2>
                                    <a href="{{$field['url']}}" target="_blank">{{$field['title']}}</a>
                                </h2>
                                <p>{{$field['title']}}</p>
                                <div class="pdtt_trbs">
                                    <a href="{{$field['caturl']}}" target="_blank">{{$field['catname']}}</a>
                                    <span>{{$field['created_at']}}</span>
                                    <span class="trbszan"> <span id = "sourceId::{{$field['aid']}}" class = "cy_cmt_count" ></span></span>
                                </div>
                            </div>
                        </arc>

                        <script>
                            for(var i=0;i<$('.news_li').length; i++){
                                var t = parseInt(i/3);
                                $('.news_li').eq(i).css('top',t*384+'px');
                            }
                        </script>


                        <script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyt8rNSI2">
                        </script>



                        <!--<div class="news_li hidden" id="last1" lasttime="1500530661" pageindex="1" style="display: none !important; position: absolute; left: 0px; top: 1996px;"></div>-->
                    </div>
                </div>
{{$arcModel->links()}}

                <!--<div id="addButton" class="add_more" style="display:block;"><a id="next" href="load_chosen.jsp?"></a>-->
                <!--</div>-->

            </div>
            <!--<div class="next-content">-->
                <!--<div class="pjax-loading" style="height: 305px;">-->
                    <!--<div class="loading-view"></div>-->
                <!--</div>-->
            <!--</div>-->
        </div>
    </div>

    <div class="main_rt">
        <!--右侧广告位：上-->
        <!--<div class="rt_ad" style="height:200px; width:200px;">-->
            <!--<img src="{{__TEMPLATE__}}/img/ad2.png" alt="">-->
        <!--</div>-->
        <!--结束：右侧广告位：上-->

        <!--25950-->
        <div class="rtapp_down">
            <h2>书橱</h2>
            <slide rows="1">
                <a href="{{$field['url']}}"><img style="width:100%;display:block;margin:10px auto;text-align:center;" src="{{$field['thumb']}}" border="0"></a>
            </slide>
        </div>


        <div class="rthotnews_tt">文章排行</div>
        <div class="hotnews_time" id="hotnews">
            <a class="on" href="javascript:;">热门</a>
            <a href="javascript:;">推荐</a>
            <a href="javascript:;">精选</a>
        </div>

        <ul class="list_hot" id="listhot0">
            <arc rows="3" hot="1">
                <li style="border-top:0;">
                    <span class="num_hot{{$field['num']}}"></span>
                    <a target="_blank" href="{{$field['url']}}">{{$field['title']}}</a>
                </li>
            </arc>
        </ul>

        <ul class="list_hot" id="listhot1" style="display:none;">
            <arc rows="3" recommend="1">
                <li style="border-top:0;">
                    <span class="num_hot{{$field['num']}}"></span>
                    <a target="_blank" href="{{$field['url']}}">{{$field['title']}}</a>
                </li>
            </arc>
        </ul>

        <ul class="list_hot" id="listhot2" style="display:none;">
            <arc rows="10" featured="1">
                <li style="border-top:0;">
                    <span class="num_hot{{$field['num']}}"></span>
                    <a target="_blank" href="{{$field['url']}}">{{$field['title']}}</a>
                </li>
            </arc>
        </ul>




        <div class="rthotnews_tt">点击排行</div>

        <ul class="topic_hot" id="topichot0">
            <div id='tag6223bd6bf9c0a92f2cad7842d3b79226'>
                <arc click="1" rows="8">
                    <li style="border-top:0;">
                        <span class="num_hot{{$field['num']}}"></span>
                        <p style="float:right;width:180px;"><a href="{{$field['url']}}" target="_blank">{{$field['title']}}</a>
                        </p>
                    </li>
                </arc>
            </div>


            <li class="list_more"></li>
        </ul>


        <style>
            .adc6op0 {
                right: 50%;
                top: 72px;
                margin-right: -596px;
                position: fixed;
                z-index: 100;
            }

            .adc6op1 {
                right: 20px;
                top: 0;
                position: absolute;
                z-index: 100;
            }
        </style>

        <!--右侧广告位：下-->
        <!--<div class="rt_ad2" style="margin-top:50px;height:200px; width:200px;">-->
            <!--<slide rows="1,1">-->
                <!--<img src="{{$field['thumb']}}" alt="">-->
            <!--</slide>-->
        <!--</div>-->
        <div class="rtapp_down">
            <slide rows="1,1">
                <a href="{{$field['url']}}"><img style="width:100%;display:block;margin:10px auto;text-align:center;" src="{{$field['thumb']}}" border="0"></a>
            </slide>
        </div>
        <!--结束：右侧广告位：下-->

        <!--25950-->
    </div>

    <div id="toTop" class="back-top" onclick="window.scrollTo(0,0);return false;"></div>

</div>

<include file="./template/web/news/footer.html"/>
</body>
</html>