<!--pages/handle/liist.wxml-->
<view class="ns"  id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">财务公开</text>
</view>
<view class="search_box" style="margin-top:{{isIPX?'88px':'64px'}};">
  <van-search
    value="{{ value }}"
    shape="round"
    background="transparent"
    placeholder="请输入名称搜索"
    clearable
    bind:change="goSearch"
  />
</view>

<scroll-view scroll-y refresher-threshold="0" style="height:100%" bindscrolltolower="paging" lower-threshold="100">
    <!-- wx:for="{{list}}" wx:key="index" wx:for-item="item" right-width="{{ 50 }}" -->
  <van-swipe-cell right-width="{{ 65 }}" class="workflow" wx:for="{{list}}" wx:key="index" >
    <view class="li" >
      <view style="width:70%;flex:7;">
        <view class="tit_box">
          <view>
            <text class="tit">{{item.openName}}</text>
          </view>
          <view style="display: flex;align-items: flex-start;">
            <image src="/image/icon/clock_icon.png" style="width: 15px;height: 15px;border-radius:5px;margin-right: 5px;display: block;flex-shrink: 0;"></image>
            <text style="color: #878787;line-height: 15px;flex-shrink: 0;">{{item.openNy}}</text>
          </view>
        </view>
        <view style="margin-left: auto;display: flex;flex-wrap: wrap;margin-top: 15px;">
            <image src="{{imgUrl+childItem}}" wx:for="{{item.openPic}}" wx:for-item="childItem" wx:for-index="childIndex" style="width: 30px;height: 30px;display: block;margin-left: {{childIndex == 0 ? '0px' : '10px'}};" data-url="{{imgUrl+childItem}}" bindtap="openPreview" wx:key="childIndex"></image>
            <image src="/image/icon/icon_word.png" wx:for="{{item.openFile}}" wx:for-item="childItem" wx:for-index="childIndex" style="width: 30px;height: 30px;margin-left: 10px;display: block;" data-url="{{imgUrl+childItem}}" bindtap="previewFile" wx:key="childIndex"></image>
          </view>
      </view>
    </view>
    <view slot="right" class="cell_right">
      <view class="button_box" 
      data-date="{{item.openNy}}" data-bookId="{{item.bookId}}" data-deptId="{{item.deptId}}" bindtap="goFinace"
      >
        <view>
          <image src="/image/icon/icon_hd.png" style="width: 15px;height: 17px;"></image>
          <text>明细</text>
        </view>
      </view>
    </view>
  </van-swipe-cell>
</scroll-view>
