File: /www/wwwroot/cs.wgegeghx.com/templates/default/index/list.html
{include file="header" /}
<style type="text/css">
body {
background: #f6f6f6;
}
.newsshow h2{font-weight:900}
.content{display:flex;background-color:transparent;padding:0;margin-bottom:20px;}
.article-card {
overflow: hidden;
margin-bottom: 10px;
background-color: #fff;
border-radius: 8px;
padding: 15px;
}
.article-card .figure {
width: 240px;
height: 131px;
float: left;
display: block;
}
.article-card .figure img {
width: 240px;
height: 131px;
display: block;
border-radius: 8px;
}
.article-text {
width: 540px;
height: 131px;
float: left;
margin-left: 25px;
}
.article-card h2 {
margin-bottom: 15px;
padding-top: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.article-card h2 .article-title {
color: #333;
font-size: 20px;
}
.article-card .desc {
height: 45px;
font-size: 12px;
line-height: 22px;
color: #999;
}
.article-card .info {
color: #999;
font-size: 12px;
padding-top: 15px;
}
.article-card .info .read {
float: right;
color: #666;
}
#showpage_min {
text-align: center;
padding-top: 30px;
padding-bottom: 30px;
overflow: hidden;
}
#showpage_min li {
background-color: #fff;
font-size: 14px;
display: inline-block;
height: 36px;
line-height: 36px;
border: 1px solid #eee;
color: #666;
margin-left: 5px;
}
#showpage_min li a,#showpage_min li span{
display:block;
padding: 0 20px;
}
#showpage_min li.disabled{
color:#d5d5d5
}
#showpage_min li.active {
font-size: 14px;
display: inline-block;
height: 36px;
line-height: 36px;
border: 1px solid #ff700a;
color: #fff;
background-color: #ff700a;
margin-left: 5px;
</style>
<div class="main" style="position: relative;">
<div class="w1200">
<div class="container-top">
<!-- 面包屑 -->
<div class="bread-nav">
<a href="{$siteurl}">首页</a>> {:catpos($catid)}
</div>
</div>
<div class="content">
<div style='width:70%;margin-right:2%;' class="article-card-box-min">
<ul>
{volist name='datas' id='v'}
<li class="article-card">
<a href="/news/{$v.id}" target="_blank" class="figure">
<img class="course-img-bg lazy-img" onerror='this.src="/static/default.jpg"' src="{$v.thumb|getThumb}" style="display: block;"></a>
<div class="article-text">
<h2>
<a href="/news/{$v.id}" target="_blank" class="article-title">{$v.title}</a></h2>
<p class="desc">{$v.description|str_cut=###,100}...</p>
<div class="info">
<span class="time">{$v.updatetime|date="m-d"}</span>
<span class="read">{$v.hits}人看过</span></div>
</div>
</li>
{/volist}
</ul>
<div id='showpage_min'>
{$pager|raw}
</div>
</div>
<div >
{include file="sider" /}
</div>
</div>
</div>
</div>
{include file="footer" /}