<view class="news">
  <view wx:for="{{news.newsList}}" wx:for-index="idx" wx:for-item="item" wx:key="newsList">
    <view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_1'}}">
      <view class="news-title">{{item.newsContentTitle}}</view>
      <view class="news-small-pic">
        <image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
      </view>
      <view class="news-info">
        <text>来源：{{item.newsContentResource}}</text>
        <text>{{item.newsContentPublishTime}}</text>
      </view>
    </view>
    <view class="news-box transverse-news" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_2'}}">
      <view class="news-row-img">
        <image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
      </view>
      <view class="news-row-info">
        <view class="news-title">{{item.newsContentTitle}}</view>
        <view class="news-info">
          <text>来源：{{item.newsContentResource}}</text>
          <text>{{item.newsContentPublishTime}}</text>
        </view>
      </view>
    </view>
    <view class="news-box transverse-news" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_3'}}">
      <view class="news-row-info">
        <view class="news-title">{{item.newsContentTitle}}</view>
        <view class="news-info">
          <text>来源：{{item.newsContentResource}}</text>
          <text>{{item.newsContentPublishTime}}</text>
        </view>
      </view>
      <view class="news-row-img">
        <image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
      </view>
    </view>
    <view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_4'}}">
      <view class="news-title">{{item.newsContentTitle}}</view>
      <view class="news-big-pic">
        <image src="{{news.newsUrl}}/route/file/downloadfile/true/{{coverItem.contentCoverId}}" wx:for="{{item.newsContentCoverList}}" wx:for-item="coverItem" wx:key="coverItem"></image>
      </view>
      <view class="news-info">
        <text>来源：{{item.newsContentResource}}</text>
        <text>{{item.newsContentPublishTime}}</text>
      </view>
    </view>
    <view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_5'}}">
      <view class="news-title">{{item.newsContentTitle}}</view>
      <view class="news-info">
        <text>来源：{{item.newsContentResource}}</text>
        <text>{{item.newsContentPublishTime}}</text>
      </view>
    </view>
  </view>
</view>