<!-- 职位列表选择 -->
<view class="page" hover-class="none" hover-stop-propagation="false" wx:if="{{pageType == 'job' || pageType == 'jobName'}}">
  <form class="weui-search-bar__form">
    <view class="weui-search-bar__box">
      <i class="iconfont icon-sousuo11"></i>
      <input type="text" class="weui-search-bar__input" style="padding-left: 8px;" placeholder-style="color:#999;" placeholder="搜索职位" value="{{inputVal}}" bindinput="inputTyping" bindconfirm="searchKey" confirm-type="search" />
      <i class="iconfont icon-qingchu1 cccc" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></i>
      <view class="search" bindtap="searchKey">搜索</view>
    </view>
  </form>
  <scroll-view scroll-y enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" class="jobCenterActive job" scroll-with-animation="true">
    <view class="listcontainer">
      <job-sub storeJobListSearchForm="{{storeJobListSearchForm}}" bindcollectPaste="collectPaste" bindgetUserInfoBtn="getUserInfoBtn" recordList="{{recordList}}" bind:getDetail="getDetail" selectJob="{{true}}"></job-sub>
      <!-- <view wx:if="{{false}}" class="jobOne por" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-info="{{item}}" bindtap="getDetail" wx:key="index">
        <image class="markImg" style="width: 80px;height: 80px;position: absolute;top:20px;right: 100px;z-index:9" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.state == 1 && item.recruitment == 2}}"></image>
        <view class="p1020 jobIn" hover-class="ahover">
          <view class="display-flex">
            <view class="prImg">
              <image src="{{item.logo}}" wx:if="{{item.logo != null && item.logo != ''}}" mode="aspectFit" class="logoClass" alt></image>
              <image class="logoClass" wx:else mode="aspectFit" src="https://matripe.oss-cn-beijing.aliyuncs.com/default.png"></image>
            </view>
            <view class="flex-1 vsb">
              <view class="display-flex mt4">
                <view class="storeName" wx:if="{{item.jobName != null && item.jobName != ''}}">{{item.jobName}}</view>
                <view class="storeName" wx:else>{{item.aliasName}}</view>
                <view class="hourPay">{{item.salaryClassifyValueHaibao}}</view>
              </view>
              <view class="v-center mt12 mb12">
                <view class="f14s c045 flex-1">
                  {{item.district}}
                  <block wx:if="{{item.district != '' && item.district != null && item.district != undefined}}">丨</block>
                  <block wx:if="{{item.distance != null && item.distance != ''}}">{{item.distanceKm}}</block>
                  <block wx:else>{{item.age}}</block>
                  <view class="fr f14s c633 fw400">{{item.monthlyPay}}</view>
                </view>
              </view>
              <view class>
                <view class="tttg {{item.isTagShow==true ?'isTagShow':''}}">
                  <view class="tagsLi" wx:for="{{item.jobSpecialLabelNameArray}}" wx:for-item="item1" wx:key="index">{{item1}}</view>
                  <view class="tagsLi" wx:if="{{item.jobSpecialLabelNameArray.length <= 0}}">暂无特色</view>
                </view>
              </view>
            </view>
          </view>
        </view>
      </view>-->
    </view>
    <block wx:if="{{(recordList == null || recordList.length == 0) && (storeJobListSearchForm.keys != null && storeJobListSearchForm.keys != '')}}">
      <!-- <view class="tc p20 f12 c045">没有符合条件的职位</view> -->
      <block>
        <view class="tc p20 f12 c045" wx:if="{{!hasMoreData && recordList.length != 0}}">已经到底啦～</view>
        <view class="tc p20 f12 c045" wx:if="{{hasMoreData }}">上滑加载更多</view>
      </block>
    </block>

    <!-- <view class="tc p20 f12 c045" wx:if="{{!hasMoreData}}">暂无更多数据</view> -->
  </scroll-view>
</view>
<!-- 成员列表选择 -->
<view class="page" hover-class="none" hover-stop-propagation="false" wx:else>
  <form class="weui-search-bar__form">
    <view class="weui-search-bar__box">
      <i class="iconfont icon-sousuo11"></i>
      <input type="text" class="weui-search-bar__input" placeholder-style="color:#999;" placeholder="搜索成员" value="{{inputAgencyVal}}" bindinput="inputAgency" bindconfirm="searchAgencyKey" confirm-type="search" />
      <view class="iconfont icon-qingchu1 cccc" wx:if="{{inputAgencyVal.length > 0}}" bindtap="clearAgencyInput"></view>
      <view class="search" bindtap="searchAgencyKey">搜索</view>
    </view>
    <!-- <label class="weui-search-bar__label" bindtap="showInput">
          <i class="weui-icon-search"></i>
          <span class="weui-search-bar__text">搜索工作</span>
    </label>-->
  </form>
  <scroll-view scroll-y enable-back-to-top="true" bindscrolltolower="onScrollAgencyToLower" class="jobCenterActive agency" scroll-with-animation="true">
    <view class="listcontainer">
      <view class="jobOne display-flex hcb2" hover-class="hcb" style="border-bottom: 1px solid #eee;" hover-start-time="50" hover-stay-time="0" wx:for="{{agencyList}}" data-info="{{item}}" bindtap="getAgencyDetail" wx:key="index">
        <view class="info" hover-class="none" hover-stop-propagation="false">
          <!-- <view class="f16 fw500" hover-class="none" hover-stop-propagation="false">{{item.agencyName}}</view> -->
          <view class="f16 c6" hover-class="none" hover-stop-propagation="false">{{item.aliasName}}</view>
        </view>
        <view class="f16 c6" hover-class="none" hover-stop-propagation="false">#{{item.tel}}</view>
      </view>
    </view>
    <view class="tc p20 f12 c045" wx:if="{{!hasMoreData}}">暂无更多数据</view>
  </scroll-view>
</view>
