<!--pages/recent-news/recent-news.wxml-->
<view class='container'>
  <view class='recent-news'>

    <block wx:for='{{distNews}}' wx:key='index'>
      <view class='news-item' bindtap='toNewsDetail' data-id="{{item.msgId}}" data-type="dist">
        <view class='news-item-title'>{{item.msgTitle}}</view>
        <view class='news-item-date'>
          {{item.startTime}}
        </view>
      </view>
    </block>

    <block wx:for='{{news}}' wx:key='index'>
      <view class='news-item' bindtap='toNewsDetail' data-id="{{item.id}}">
        <view class='news-item-title'>{{item.title}}</view>
        <view class='news-item-date'>
          {{item.publishTime}}
        </view>
      </view>
    </block>
  </view>
</view>