32264688 by 任超

style:新闻置顶

1 parent 1102425a
...@@ -117,6 +117,12 @@ div.subject { ...@@ -117,6 +117,12 @@ div.subject {
117 padding-top: 10px; 117 padding-top: 10px;
118 min-height: 80px; 118 min-height: 80px;
119 cursor: pointer; 119 cursor: pointer;
120 position: relative;
121 }
122 .xw .istop {
123 position: absolute;
124 right: 20px;
125 top: -20px;
120 } 126 }
121 127
122 .xw-left { 128 .xw-left {
......
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
51 {{ item.headline }} 51 {{ item.headline }}
52 </a> 52 </a>
53 <a class="xw" href='./xwxq.html?id={{item.id}}' target="_blank"> 53 <a class="xw" href='./xwxq.html?id={{item.id}}' target="_blank">
54 {{# if(item.isTop == 1 ){ }}
55 <img class="istop" src="../staticImages/ding.png">
56 {{# } }}
54 <div class="newsCon"> 57 <div class="newsCon">
55 <div class="xw-left"> 58 <div class="xw-left">
56 {{# if(item.preViewUrl != null ){ }} 59 {{# if(item.preViewUrl != null ){ }}
......