|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- <!doctype html>
- <html lang="zh-CN">
-
- <head>
- <meta charset="{dede:global.cfg_soft_lang/}">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/css/bootstrap.min.css">
- <link href="{dede:global.cfg_cmsurl/}/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/css/dede.css">
- <link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/img/favicon.png">
- <title>{dede:global.cfg_webname/}</title>
- <meta name="keywords" content="{dede:global.cfg_keywords/}">
- <meta name="description" content="{dede:global.cfg_description/}">
- <style>
- .hot-news {
- overflow-x: hidden;
- overflow-y: scroll;
- height: 370px;
- -webkit-overflow-scrolling: touch;
- overflow: -moz-scrollbars-none;
- }
-
- .hot-news::-webkit-scrollbar {
- display: none;
- }
-
- .hot-news li {
- overflow: unset!important;
- }
-
- .quick img {
- width: 100%;
- }
-
- .spec .card {
- text-align: center;
- }
-
- .spec .card img {
- max-width: 200px;
- margin: 0 auto;
- }
-
- .spec .card-body {
- padding: .25em;
- }
-
- .carousel-item img {
- width: 100% !important;
- }
- </style>
- <script>
- const currentNavTypeID = '-1';
- </script>
- </head>
-
- <body>
- {dede:include filename="top.htm"/}
-
- {dede:include filename="header.htm"/}
-
- {dede:include filename="navbar.htm"/}
-
- <main class="container mt-3">
- <div class="row">
- <div class="col-12 col-lg-9">
- <div class="row">
- <div class="col-12 col-lg-4 toutiao mb-3 mb-md-3">
- <div class="card ddcard-normal">
- <div class="card-header">
- <div class="row">
- <div class="col-8 caption"><span>推荐头条</span></div>
- </div>
- </div>
- <ul class="list-group list-group-flush">
- {dede:arclist flag='h' titlelen='100' typeid='80' row='7' orderby='pubdate'}
- <li><i class="fa fa-bookmark-o" aria-hidden="true"></i> <a title="[field:fulltitle/]"
- href="[field:arcurl/]">[field:title/]</a>
- </li>
- {/dede:arclist}
- </ul>
- </div>
- </div>
- <!-- /.toutiao -->
-
- <div class="col-12 col-lg-8 litpics mb-3">
- <div id="carouselIndex" class="carousel slide" data-ride="carousel">
- <ol class="carousel-indicators">
- {dede:arclist channelid=1 flag='f' row=6}
- <li data-target="#carouselIndex" data-slide-to="[field:global.autoindex function='trim(IndexSub(@me,1))'/]" class="[field:global.autoindex function='IndexActive(@me)'/]"></li>
- {/dede:arclist}
- </ol>
- <div class="carousel-inner">
- {dede:arclist channelid=1 flag='f' row=6}
- <div class="carousel-item[field:global.autoindex function='IndexActive(@me)'/]">
- <a href="[field:arcurl/]" title="[field:fulltitle/]"><img src="[field:litpic/]" class="mr-3" alt="[field:fulltitle/]"></a>
- </div>
- {/dede:arclist}
- </div>
- <a class="carousel-control-prev" href="#carouselIndex" role="button"
- data-slide="prev">
- <span class="carousel-control-prev-icon" aria-hidden="true"></span>
- <span class="sr-only">上一个</span>
- </a>
- <a class="carousel-control-next" href="#carouselIndex" role="button"
- data-slide="next">
- <span class="carousel-control-next-icon" aria-hidden="true"></span>
- <span class="sr-only">下一个</span>
- </a>
- </div>
- </div>
- <!-- /.litpics -->
- </div>
- </div>
-
- <div class="col-12 col-lg-3 hot mb-3">
- <div class="card ddcard-normal">
- <div class="card-header">
- <div class="row">
- <div class="col-6 caption"><span>热文</span></div>
- <!-- <div class="col-6 d-flex justify-content-end more"><a href="javascript:;">更多</a></div> -->
- </div>
- </div>
- <ul class="list-group list-group-flush hot-news">
- {dede:arclist flag='a' sort='hot' subday='45' titlelen=20 row=16}
- <li class="media border-bottom-dashed mt-2 py-2">
- <a href="[field:arcurl/]" title="[field:fulltitle/]"><img src="[field:litpic/]" class="mr-3" alt="[field:fulltitle/]"></a>
- <div class="media-body row">
- <div class="col-12 title">
- <a href="[field:arcurl/]" title="[field:fulltitle/]">
- <h4 class="mt-0 mb-3">[field:title/]</h4>
- <span class="time">[field:pubdate function="MyDate('m-d',@me)"/]</span>
- </a>
- </div>
- </div>
- </li>
- {/dede:arclist}
- </ul>
- </div>
- </div>
- <!-- /.hot -->
- </div>
- <div class="row">
- <div class="col-12 col-lg-9 index-left">
- <div class="spec">
- <div class="col-md-12">
- <div class="dede-title">
- <h4 class="dede">图文资讯</h4>
- </div>
- </div>
- <div class="col-md-12 mt-3">
- <div class="row row-cols-2 row-cols-md-5">
- {dede:arclist row=5 orderby=pubdate type='image.'}
- <div class="col">
- <div class="card border-0">
- <a href="[field:arcurl/]" title="[field:fulltitle/]" class="text-body stretched-link"><img
- src="[field:litpic/]" class="card-img-top" alt="[field:fulltitle/]">
- <div class="card-body">
- <h6 class="card-title">[field:title/]</h6>
- </div>
- </a>
- </div>
- </div>
- {/dede:arclist}
- </div>
-
- </div>
- </div><!-- /.spec -->
-
- <div class="row">
- {dede:channelartlist}
- <div class="col-md-6 mt-3">
- <div class="card ddcard-normal">
- <div class="card-header">
- <div class="row">
- <div class="col-6 caption"><span><a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a></span></div>
- <div class="col-6 d-flex justify-content-end more">
- <a href="{dede:field name='typeurl'/}">更多</a>
- </div>
- </div>
- </div>
- <ul class="list-group list-group-flush">
- {dede:arclist titlelen='60' row='8'}
- <li><i class="fa fa-bookmark-o" aria-hidden="true"></i> <a
- title="[field:fulltitle/]"
- href="[field:arcurl/]">[field:title/]</a>
- </li>
- {/dede:arclist}
- </ul>
- </div>
- </div>
- {/dede:channelartlist}
- </div>
-
- </div><!-- /.index-left -->
- <aside class="col-12 col-lg-3">
-
- {dede:include comment='推荐内容' filename="widget_recommend.htm"/}
-
- {dede:include comment='热点内容' filename="widget_hot.htm"/}
- </aside><!-- /aside -->
- </div>
- </main>
- <!-- /main -->
-
- {dede:include filename="footer.htm"/}
- </body>
-
- </html>
-
|