<view class="main">
  <view class="list" wx:key="item" wx:for="{{list}}" bindtap="detail" data-id="{{item.id}}">
    <view class="left">
      <view class="title">
        {{item.title}}
      </view>
      <view class="brief">
        {{item.brief}}
      </view>
      <view class="date">
        {{item.create_time}}
      </view>
    </view>
    <view class="right">
      <image wx:if="{{item.img.length>0}}" src="{{item.img[0].url}}"></image>
      <image wx:else src='/image/logo.png'></image>
    </view>
  </view>
</view>