f2a4628a by 任超

style:置顶

1 parent b1edbe5e
......@@ -121,7 +121,7 @@ div.navigation {
height: 59px;
}
.navigation .layui-nav-item {
width: 147px;
width: 147px!important;
position: relative;
border-right: 1px solid rgba(255,255,255, 0.1);
border-left: 1px solid rgba(255,255,255, 0.1);
......
......@@ -321,3 +321,13 @@ div.subject {
margin: 10px 0;
cursor: pointer;
}
.sticky .left-top {
font-size: 24px;
}
.sticky .xw-left img {
width: 230px;
height: 140px;
}
.sticky .xw-right {
font-size: 18px;
}
\ No newline at end of file
......
......@@ -46,11 +46,16 @@
<script type="text/javascript" src="../staticJs/xwdt.js"></script>
<script id="demo" type="text/html">
{{# layui.each(d.list, function(index, item){ }}
{{# if(item.isTop == 1 ){ }}
<li class="sticky">
{{# } }}
{{# if(item.isTop != 1 ){ }}
<li>
<a class="left-top" title=" {{ item.headline }}" href='./xwxq.html?id={{item.id}}' target="_blank">
{{# } }}
<a class="left-top" title=" {{ item.headline }}" href='./news/{{item.id}}.html' target="_blank">
{{ item.headline }}
</a>
<a class="xw" href='./xwxq.html?id={{item.id}}' target="_blank">
<a class="xw" href='./news/{{item.id}}.html' target="_blank">
{{# if(item.isTop == 1 ){ }}
<img class="istop" src="../staticImages/ding.png">
{{# } }}
......