<!--pages/project/project.wxml-->
<view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back" referrer="no-referrer|origin|unsafe-url"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">四议表决</text>
</view>

<view class="search_box" id="top_view" style="margin-top:{{isIPX?'100px':'75px'}};">
  <van-search
    value="{{ name }}"
    shape="round"
    background="transparent"
    placeholder="请输入四议名称"
    clearable
    bind:change="goSearch"
  />
  <!-- <view class="add_btn" bindtap="goAdd"><text>新增</text></view> -->
</view>
<scroll-view scroll-y refresher-threshold="0" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
<van-swipe-cell right-width="{{ 0 }}" class="workflow" wx:for="{{projectList}}" wx:key="index">
  <view class="li" bindtap="goDetail" data-id="{{item.id}}">
      <view class="tit_box">
        <view class="tit_box_left">
          <image src="/image/icon/icon_gc.png" style="width: 17px; height: 15px;flex-shrink: 0;"></image>
          <text class="tit">{{item.itemName}}</text>
        </view>
        <view class="tit_type">
          <text>{{item.voteStatusText}}</text>
        </view>
      </view>

      <view class="detail_time_box">
        <view class="detail_time">
          <image src="/image/icon/icon_date.png" style="width: 14px;height: 14px;"></image>
          <text>{{item.itemAt}}</text>
        </view>
        <view class="detail_time">
          <text class="detail_box_money">{{item.voteTypeText}}</text>
        </view>
      </view>
  </view>
</van-swipe-cell>
</scroll-view>