<!--pages/index.wxml-->
<view class="container ">
  <view class="index-list">
    <view wx:for="{{works_list}}" wx:key="index" class="index-item" bindtap="goDetails"
      data-path="/pages/details/details" data-index="{{index}}" mark:id="{{item.id}}">
      <cover-image src="{{item.image ? host+item.image.primary.smallURL : '../../img/img_03.png'}}">
      </cover-image>
      <view class="item-content">
  
        <view class="title">{{item.title}}</view>
        <view class="time">{{item.addedDate}}</view>
        <view class="content">{{item.summary}}</view>
      </view>
    </view>
  </view>

</view>