<wxs src="../../../wxs/util-fun.wxs" module="util"></wxs>
<scroll-view scroll-y class="scrollPage">

  <view class='searchbar'>
    <view class='search-input-group'>
      <input class='search-input' placeholder="搜一搜" bindinput="onInputEvent"></input>
    </view>
  </view>
  <view class="mt120">
    <view wx:for="{{articalList}}" wx:key="index"  class="mt20">
      <view class="i-class i-card i-card-full" data-id="{{item.articalId}}"  bindtap="getDetail">
        <view class="i-class i-card-header">
          <view class="i-card-header-title">
            编号：{{item.articalId}}
          </view>

          <view class="i-card-header-extra" >
            {{item.department}}-{{item.category}}
          </view>
        </view>
        <view class="i-class i-card-body"  >
          【{{item.isOpen?'公开':'私有'}}】{{item.title}}
        </view>

        <view class="i-card-footer">
          时间：{{util.getDatetime(item.createAt)}}  
        </view>
      </view>
    </view>
  </view>

  <view wx:if="{{from==-1}}" class="fc tc mt10" >
    <view class="padding">没有更多了</view>
    <view class='cu-tabbar-height'></view>
  </view>
  <view class='cu-tabbar-height'></view>
</scroll-view>


<view class='cu-load load-modal' wx:if="{{loadModal}}">
  <view class='cuIcon-emojifill text-orange'></view>
  <view class='gray-text'>加载中...</view>
</view>