<!--pages/guide/index.wxml-->
<view class='v-page'>
  <view class='guides-container'>
    <view class="guide-wrapper" wx:for="{{guides}}" wx:for-item="n" wx:key="n.id" catchtap='handleGuideDetail' data-content="{{n.type=='1'?n.id:n.content}}" data-type="{{n.type}}">
      <image class='image' src="{{n.poster}}" mode='aspectFill'></image>
      <view class='info'>
        <view class='text-small intro'>{{n.title ? n.title : ''}}</view>
        <view class='text-small text-hint'>
          {{n.intro}}
        </view>
      </view>
    </view>
  </view>
  <more hasMore="{{hasMore}}" loading="{{loading}}" page="{{currentPage}}" />
</view>