<!--pages/articleList/index.wxml-->
<view class="article-page">
  <scroll-view>
    <view class="example-search">
      <t-search placeholder="搜索文章" />
    </view>
    <view class="article-item" wx:for="{{articles}}" wx:key="id" data-index="{{index}}" bindtap="preview">
      <view class="article-title">
        {{item.title}}
      </view>
      <view class="article-content">{{item.contentText}}</view>
    </view>
  </scroll-view>
</view>
