style:置顶
Showing
3 changed files
with
18 additions
and
3 deletions
| ... | @@ -121,7 +121,7 @@ div.navigation { | ... | @@ -121,7 +121,7 @@ div.navigation { |
| 121 | height: 59px; | 121 | height: 59px; |
| 122 | } | 122 | } |
| 123 | .navigation .layui-nav-item { | 123 | .navigation .layui-nav-item { |
| 124 | width: 147px; | 124 | width: 147px!important; |
| 125 | position: relative; | 125 | position: relative; |
| 126 | border-right: 1px solid rgba(255,255,255, 0.1); | 126 | border-right: 1px solid rgba(255,255,255, 0.1); |
| 127 | border-left: 1px solid rgba(255,255,255, 0.1); | 127 | border-left: 1px solid rgba(255,255,255, 0.1); | ... | ... |
| ... | @@ -320,4 +320,14 @@ div.subject { | ... | @@ -320,4 +320,14 @@ div.subject { |
| 320 | .tj { | 320 | .tj { |
| 321 | margin: 10px 0; | 321 | margin: 10px 0; |
| 322 | cursor: pointer; | 322 | cursor: pointer; |
| 323 | } | ||
| 324 | .sticky .left-top { | ||
| 325 | font-size: 24px; | ||
| 326 | } | ||
| 327 | .sticky .xw-left img { | ||
| 328 | width: 230px; | ||
| 329 | height: 140px; | ||
| 330 | } | ||
| 331 | .sticky .xw-right { | ||
| 332 | font-size: 18px; | ||
| 323 | } | 333 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -46,11 +46,16 @@ | ... | @@ -46,11 +46,16 @@ |
| 46 | <script type="text/javascript" src="../staticJs/xwdt.js"></script> | 46 | <script type="text/javascript" src="../staticJs/xwdt.js"></script> |
| 47 | <script id="demo" type="text/html"> | 47 | <script id="demo" type="text/html"> |
| 48 | {{# layui.each(d.list, function(index, item){ }} | 48 | {{# layui.each(d.list, function(index, item){ }} |
| 49 | {{# if(item.isTop == 1 ){ }} | ||
| 50 | <li class="sticky"> | ||
| 51 | {{# } }} | ||
| 52 | {{# if(item.isTop != 1 ){ }} | ||
| 49 | <li> | 53 | <li> |
| 50 | <a class="left-top" title=" {{ item.headline }}" href='./xwxq.html?id={{item.id}}' target="_blank"> | 54 | {{# } }} |
| 55 | <a class="left-top" title=" {{ item.headline }}" href='./news/{{item.id}}.html' target="_blank"> | ||
| 51 | {{ item.headline }} | 56 | {{ item.headline }} |
| 52 | </a> | 57 | </a> |
| 53 | <a class="xw" href='./xwxq.html?id={{item.id}}' target="_blank"> | 58 | <a class="xw" href='./news/{{item.id}}.html' target="_blank"> |
| 54 | {{# if(item.isTop == 1 ){ }} | 59 | {{# if(item.isTop == 1 ){ }} |
| 55 | <img class="istop" src="../staticImages/ding.png"> | 60 | <img class="istop" src="../staticImages/ding.png"> |
| 56 | {{# } }} | 61 | {{# } }} | ... | ... |
-
Please register or sign in to post a comment