<!-- <button class="weui-btn weui-btn_mini weui-btn_primary fr">立即报名</button> -->
<view wx:if="{{isShow}}">
  <view class="tc" wx:if="{{jobList == null || jobList.length == 0 && !isShow}}">
    <i class="t-icon t-icon-zanwujilu" style=" width: 92px;height: 92px;margin-top: 90px;"></i>
    <view class="mt20 cccc">暂无记录</view>
  </view>
  <scroll-view style=' height:calc(100vh);' scroll-y enable-back-to-top='true' bindscrolltolower='onScrollToLower' class="jobCenter" wx:else>
    <!-- <view class="jobOne" hover-start-time='50' hover-stay-time='0' wx:for='{{jobList}}' data-id='{{item.id}}' bindtap='goDetail' wx:key='index' style="margin-bottom:10px">
      <view class='p1020 jobIn' hover-class='none'>
        <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>
            <button wx:if="{{isLogin}}" class="collect v-center {{item.collected - 1 == 0 ? 'collectred':''}}" catchtap="collectPaste" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
              <icon class="iconfont f10 {{item.collected - 1 == 0 ? 'icon-yishoucang':'icon-weishoucang'}} {{item.collected - 1 == 0 ? '.ysd-base-color':''}}"></icon>
              <text class="f10  {{item.collected - 1 == 0 ? 'ysd-base-color':'c8'}}" style="line-height:18px;margin-left:2px;">{{item.collected - 2 == 0 ? '收藏' : '已收藏'}}</text>
            </button>
            <button wx:else class="collect" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
              <icon class="iconfont icon-wode-shoucang f10"></icon>
              <text class="f10 c8" style="line-height:18px;margin-left:2px;">收藏</text>
            </button>
          </view>
          <view class="flex-1 vsb">
            <view class='display-flex'>
              <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.hourlyPay}}
              </view>
            </view>
            <view class='v-center mt16 mb16'>
              <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" wx:if='{{item.jobSpecialLabelNameArray.length>0}}'>
                <view class='tagsLi' wx:for="{{item.jobSpecialLabelNameArray}}" wx:for-item="item1" wx:key='index'>{{item1}}</view>
              </view> 
              <view class="tagsLi" hover-class="none" hover-stop-propagation="false" wx:else>暂无特色</view>
              <button wx:if="{{isLogin}}" class="weui-btn record weui-btn_mini weui-btn_primary fr .ysd-basebg-color" catchtap="goNewEnroll" data-info='{{item}}' data-idx='{{index}}'>立即报名</button>
              <button wx:else class="weui-btn weui-btn_mini weui-btn_primary fr" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod" data-info='{{item}}' data-idx='{{index}}'>立即报名</button>
            </view>
          </view>
        </view>
      </view>
    </view> -->
    <view class="jobOne" hover-start-time="50" hover-stay-time="0" wx:for="{{jobList}}" data-id="{{item.id}}" bindtap="goDetail" wx:key="index" hover-class="{{item.recruitment == '1' ? 'ahover':''}}" style="background-color:{{item.recruitment == '1' ? '#fff':'#f5f5f5'}}">
      <view class="p1020 jobIn" hover-class="none">
        <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>
            <button wx:if="{{isLogin && hasUserInfo - 0 == 0}}" class="collect v-center {{item.collected - 1 == 0 ? 'collectred':''}}" open-type="getUserInfo" style="width:52px;" bindtap="getUserInfoBtn" data-type="4" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
              <icon class="iconfont icon-shoucang lh12" style="color: #888" wx:if="{{item.collected - 2 == 0}}"></icon>
              <icon class="iconfont icon-yishoucang lh12 ysd-base-color" style="" wx:else></icon>
              <text class="f10  {{item.collected - 1 == 0 ? 'ysd-base-color':'c8'}}" style="line-height: 36px; margin-left: 2px">{{item.collected - 2 == 0 ? '收藏' : '已收藏'}}</text>
            </button>
            <button wx:if="{{isLogin && hasUserInfo - 1 == 0}}" class="collect v-center {{item.collected - 1 == 0 ? 'collectred':''}}" catchtap="collectPaste" style="width:52px;" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
              <icon class="iconfont icon-shoucang lh12" style="color: #888" wx:if="{{item.collected - 2 == 0}}"></icon>
              <icon class="iconfont icon-yishoucang lh12 ysd-base-color" style="" wx:else></icon>
              <text class="f10  {{item.collected - 1 == 0 ? 'ysd-base-color':'c8'}}" style="line-height: 12px; margin-left: 2px">{{item.collected - 2 == 0 ? '收藏' : '已收藏'}}</text>
            </button>
            <button wx:if="{{!isLogin}}" style="width:52px;" class="collect" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
              <icon class="iconfont icon-shoucang" style="color: #888"></icon>
              <text class="f10 c8" style="line-height: 18px; margin-left: 2px">收藏</text>
            </button>
          </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.salaryClassifyValue}}</view>
            </view>
            <view class="v-center mt12 mb12">
              <view class="f14s c045 flex-1 display-flex">
                <view class="overflowOmit " hover-class="none" hover-stop-propagation="false" style="max-width:220px">
                  {{item.district == "" ?'':item.district + ' | ' }}
                  <block wx:if="{{item.distance != null && item.distance != '' && storeJobListSearchForm.sortTag == 2}}">{{item.distanceKm}}</block>
                  <block wx:else>{{item.age}}</block>
                </view>
                <view class="fr f14s c633 fw400">{{item.monthlyPay}}</view>
              </view>
            </view>
            <view class="display-flex">
              <view class="tttg {{item.isTagShow==true ?'isTagShow':''}}">
                <view class="t-icon t-icon-ziying1 " wx:if="{{item.signType == 1}}" style="background-repeat:no-repeat"></view>
                <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 class="jobText bz f12">服务费: {{item.fuWuFei ? item.fuWuFei : '-' }}</view>

            </view>
          </view>
        </view>
      </view>
    </view>
    <block wx:if="{{(jobList == null || jobList.length == 0) && (storeJobListSearchForm.keys != null && storeJobListSearchForm.keys != '')}}">
      <view class='tc p20 f12 c045'>没有符合条件的职位</view>
    </block>
    <block wx:else>
      <!-- <loading wx:if='{{loading}}' size='36px' className='inlineBlock'>
      加载中
    </loading> -->
      <view class='tc' wx:if='{{hasMoreData}}'>
        <text class='tc p20 f12 c045 dib'>加载中...</text>
      </view>
      <view class='tc p20 f12 c045' wx:if='{{!hasMoreData}}'>暂无更多数据</view>
    </block>
  </scroll-view>
</view>