32264688 by 任超

style:新闻置顶

1 parent 1102425a
......@@ -117,6 +117,12 @@ div.subject {
padding-top: 10px;
min-height: 80px;
cursor: pointer;
position: relative;
}
.xw .istop {
position: absolute;
right: 20px;
top: -20px;
}
.xw-left {
......
......@@ -51,6 +51,9 @@
{{ item.headline }}
</a>
<a class="xw" href='./xwxq.html?id={{item.id}}' target="_blank">
{{# if(item.isTop == 1 ){ }}
<img class="istop" src="../staticImages/ding.png">
{{# } }}
<div class="newsCon">
<div class="xw-left">
{{# if(item.preViewUrl != null ){ }}
......