employeeInspection.wxml 3 KB
<!--packageEquity/pages/employeeInspection.wxml-->
<view class="quality-container">
  <view class="search-wrap">
    <view class="search-head">
      <block wx:if="{{!isopen}}">
        <view class="search-merchantName" data-type="2" bindtap="showStoreSelectPopup"><text class="name">{{merchantName}}</text>
          <image class="solidArrow" src="/tabIndex/images/arrSolid.png" />
        </view>
      </block>
   
        <view class="search-input" style="width:{{isopen?'100%':''}}" bindtap="showOpen">
          <image src="/images/search.png" class="search-icon" />
          <input type="text" placeholder="员工姓名/手机号" class="input" confirm-type="search" value="{{keyword}}" placeholder-class="input-placeholder" catchinput="input" catchconfirm="inputConfifm" />
          <block wx:if="{{keyword}}">
            <view catchtap="handleReset" class="clearBtn">
              <image src="/images/clear.png" class="search-clear" />
            </view>
          </block>
        </view>
        <view class="cancel-text" bindtap="showOpen" data-open="true" wx:if="{{isopen}}">取消</view>
      

      <!-- <view class="search-icon-wrap" wx:if="{{!isopen}}"  bindtap="showOpen">
        <image src="/images/search-black.png" class="search-icon" />
      </view> -->

    </view>
    <date-box bindchange="changeDate"></date-box>
  </view>
  <view class="search-info-head">
    <view class="tabs" bind:tap="changeBussinessType">
      <view class="tab {{bussinessType==1?'active':''}}" data-type="1">会员权益</view>
      <view class="tab  {{bussinessType==2?'active':''}}" data-type="2">轻改</view>
    </view>
    <view class="search-info">当前{{total}}条员工信息</view>
  </view>

  <scroll-view scroll-y enable-back-to-top style="height: calc(100vh - var(--fontSize248));"    bindrefresherrefresh="search" refresher-enabled="{{ true }}" enhanced="{{true}}" show-scrollbar="{{false}}" scroll-top="{{scrollTop}}" bindscrolltolower="scrollonReachBottom" refresher-triggered="{{ triggered }}">
    <view class="content-box">
      <block wx:if="{{flag}}">
        <block wx:if="{{inspectList.length}}">
          <block wx:for="{{inspectList}}" wx:key="index">
            <content-item item="{{item}}" time="{{searchdate}}" bussiness-type="{{bussinessType}}"></content-item>
          </block>
          <block wx:if="{{nothing}}">
            <view class="list-nothing">到底了~</view>
          </block>
        </block>
        <view class="no-data" wx:else>
          <image class="no-data-img" src="/packageEquity/images/noData.png" />
          <view class="list-not">暂无数据</view>
        </view>
      </block>
    </view>
  </scroll-view>

</view>
<item-select-store show="{{isStorePop}}"  time="{{searchdate}}" bussiness-type="{{bussinessType}}" selectedData="{{merchantDTOList}}"></item-select-store>>
<store-select-popup show="{{showStoreSelectPopup}}" bindconfirm="storeConfirm" bindcancel="hideStorePopup" selectedData="{{selectedYqMerchantList}}" list="{{storeRangeList || []}}" bindupdata="updata"></store-select-popup>