dedecm页码通用CSS样式

凤凰学院整理发布

2020-06-07

列表页打开/include/arc.listview.class.php 把<td> </td> 修改为<li> </li>
搜索页打开/include/arc.searchview.class.php 把<td> </td> 修改为<li> </li>


<style>
.page {display: -webkit-flex;display: flex;justify-content: center;margin-top: 20px;}
.page ul li {display: inline;}
.page ul li a {padding: 10px 13px; border-radius: 0px; background: none; border: 1px solid #00AEFF; color: #00AEFF; margin: 0 px;}
.page ul li.thisclass a {padding: 10px 13px; border-radius: 0px; background: #FFF3EE; border: 1px solid #FF0000; color: #FF0000; margin: 0 px;}
.page ul li.disabled a {padding: 10px 13px; border-radius: 0px; background: #FFF3EE; border: 1px solid #FF0000; color: #FF0000; margin: 0 px;}
</style>
<div class="page">
<ul>
{dede:pagelist listitem="index,pre,next,pageno" listsize="1"/}
</ul>
</div>