Authored by 张丽霞

首页公告栏图片接口返回-样式修改

@@ -20,6 +20,13 @@ @@ -20,6 +20,13 @@
20 } 20 }
21 } 21 }
22 22
  23 + .trend-imgae {
  24 + width:120px;
  25 + margin-top: 25px;
  26 + margin-bottom: 25px;
  27 + vertical-align: middle;
  28 + }
  29 +
23 .notice { 30 .notice {
24 box-sizing: border-box; 31 box-sizing: border-box;
25 float: left; 32 float: left;
1 <div class="notice-wrap clearfix"> 1 <div class="notice-wrap clearfix">
2 - <img class="trend" src="{{img}}"> 2 + <div class="trend">
  3 + <img class="trend-imgae" src="{{img}}">
  4 + </div>
3 <div class="notice" data-time="{{notice.time}}"> 5 <div class="notice" data-time="{{notice.time}}">
4 {{# list}} 6 {{# list}}
5 <a class="notice-item item-{{@index}}" href="{{url}}"> 7 <a class="notice-item item-{{@index}}" href="{{url}}">