You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

384 lines
20 KiB
Plaintext

2 years ago
<view>
<scroll-view bindscroll="PageScroll" scroll-y class="jobCenterActive">
<view class="weui-search-bar weui-search-bar_focusing" id="searchBar" style="line-height: 1;">
<button class="opacityBtn" wx:if="{{!isLogin}}" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber1" catchtap="emptyMethod">按钮点击</button>
<view class="display-flex opacityBtn" wx:if="{{isLogin && hasUserInfo - 0 == 0}}">
<view>
<button open-type="getUserInfo" bindtap="getUserInfoBtn" data-type="1">{{searchCityParamStorage.name == '' ?
'全国' :
searchCityParamStorage.shortName}}</button>
</view>
<view class="flex-1">
<button open-type="getUserInfo" bindtap="getUserInfoBtn" data-type="2">搜索</button>
</view>
</view>
<view class="cf v-center" hover-class="thover" bindtap="goCity">
<view class="f14 cf085 dib">{{searchCityParamStorage.name == '' ? '全国' :
searchCityParamStorage.shortName}}</view>
<i class="iconfont icon-zhankai" style="font-size:12px;margin:0px 12px 0 6px;"></i>
</view>
<form class="weui-search-bar__form flex-1">
<view class="weui-search-bar__box">
<i class="iconfont icon-sousuo"></i>
<input type="text" class="weui-search-bar__input f15" placeholder-style="color:#999;" placeholder="搜索工作" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" bindconfirm="searchKey" confirm-type="search" />
<span class="iconfont icon-qingchu" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></span>
</view>
<label class="weui-search-bar__label" bindtap="showInput">
<i class="weui-icon-search"></i>
<span class="weui-search-bar__text">搜索工作</span>
</label>
</form>
<!-- <view class="cf v-center" hover-class="thover" bindtap="goScreen">
<i class="iconfont {{storeJobListSearchForm.sortTag == 0 && storeJobListSearchForm.brandIds == '' && storeJobListSearchForm.jobSpecialLabelIds == '' ? ' icon-shaixuan' : 'icon-a-shaixuan21 cf00' }}"
style="font-size:16px;margin:0px 6px 0 16px;"></i>
<view class="f14 cf085 dib">筛选</view>
</view> -->
<view class="cf v-center" hover-class="topHover" bindtap='showphone'>
<i class="iconfont icon-kefu2" style="font-size:16px;margin:0px 6px 0 16px;"></i>
<view class="f14 cf085 dib">客服</view>
</view>
</view>
<view class="banner">
<swiper indicator-dots="{{true}}" autoplay="{{true}}" interval="2000" duration="500" class="innerSwiper" style="width:calc(100vw - 20px);height:calc(100vw/3 - 21px/3)" indicator-color="rgba(255,255,255,0.3)" indicator-active-color="#ffffff">
<block wx:for="{{background}}" wx:key="*this">
<swiper-item>
<view class="swiper-item">
<navigator url="/pages/specialArea/index?id=608" hover-class="none">
<image src="{{item}}" style="width:calc(100vw - 20px);height:calc(100vw/3 - 20px/3)"></image>
</navigator>
</view>
</swiper-item>
</block>
</swiper>
</view>
<view style="margin:10px 10px 0;">
<view class="p10 display-flex bgf br8 spef">
<view class="flex-1 tc" hover-class="thover" catchtap="toSpecialArea" data-id="608">
<i class="t-icon t-icon-jinriretui" style="width:48px;height:48px;"></i>
<view class="stm">今日热推</view>
</view>
<view class="flex-1 tc" hover-class="thover" catchtap="toSpecialArea" data-id="602">
<i class="t-icon t-icon-duanqigong" style="width:48px;height:48px;"></i>
<view class="stm">短期工</view>
</view>
<view class="flex-1 tc" hover-class="thover" catchtap="toSpecialArea" data-id="610">
<i class="t-icon t-icon-hanjiagong" style="width:48px;height:48px;"></i>
<view class="stm">寒假工</view>
</view>
<view class="flex-1 tc" hover-class="thover" catchtap="toSpecialArea" data-id="603">
<i class="t-icon t-icon-dalinggong" style="width:48px;height:48px;"></i>
<view class="stm">大龄工</view>
</view>
</view>
</view>
<view x:if="{{jobList != null && jobList.length > 0}}" class="p10100">
<!-- lower-threshold="{{!isLogin? -100 : 50 }}" refresher-enabled="true" bindrefresherrestore="bindrefresherrestore" -->
<view class="jcenter bgf br8">
<view class="xgxg">
<view class="bb1 display-flex" style="justify-content: space-between;position: relative;">
<view class="csbf {{getTop||activez!=''?'active':''}}" bindtap="chooseGj" id="menu">{{firstMenu}} <i class="iconfont icon-zhankai"></i>
<scroll-view class="gjFixed" bindtap="closeFix" catchtouchmove="cc" wx:if="{{getTop}}">
<view class="bgf p010 tl c3">
<view class="f14 bb1 {{activez=='zuijin'?'cf00':''}}" data-id="zuijin" bindtap="chooseM" style="line-height:42px;" hover-class="thover">离我最近</view>
<view class="f14 {{activez=='zuigao'?'cf00':''}}" data-id="zuigao" bindtap="chooseM" style="line-height:42px;" hover-class="thover">工价最高</view>
</view>
</scroll-view>
</view>
<view class="csbf {{getTopn||activen!=''?'active':''}}" bindtap="chooseNl">年龄 <i class="iconfont icon-zhankai"></i>
<scroll-view class="gjFixed" bindtap="closeFix" catchtouchmove="cc" wx:if="{{getTopn}}">
<view class="bgf p010 tl c3">
<view class="f14 bb1 {{activen=='nl1'?'cf00':''}}" data-id="nl1" data-str="16-18" bindtap="choosen" style="line-height:42px;" hover-class="thover">16-18岁</view>
<view class="f14 bb1 {{activen=='nl2'?'cf00':''}}" data-id="nl2" data-str="18-45" bindtap="choosen" style="line-height:42px;" hover-class="thover">18-45岁</view>
<view class="f14 bb1 {{activen=='nl3'?'cf00':''}}" data-id="nl3" data-str="45-58" bindtap="choosen" style="line-height:42px;" hover-class="thover">45-58岁</view>
<view class="f14 {{activen=='nl4'?'cf00':''}}" data-id="nl4" data-str="58" bindtap="choosen" style="line-height:42px;" hover-class="thover">58岁以上</view>
</view>
</scroll-view>
</view>
<view class="csbf" bindtap="open1">特色 <i class="iconfont icon-zhankai"></i> </view>
<view class="csbf" bindtap="open2">更多 <i class="iconfont icon-zhankai"></i> </view>
</view>
</view>
<scroll-view scroll-y="{{isScrollTop}}" enable-back-to-top='{{true}}' refresher-triggered="{{isTrigger}}" refresher-enabled="{{false}}" bindscrolltolower='onScrollToLower' bindrefresherrefresh="onScrollRefresh" class="jobCenterActive" class="mt10" style="height: calc(100vh - 40px);margin-top: -1px;" lower-threshold="80">
<view class="jobOne" hover-start-time='50' hover-stay-time='0' wx:for='{{jobList}}' data-id='{{item.id}}' bindtap='goDetail' wx:key='{{index}}'>
<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>
<button wx:if="{{isLogin && hasUserInfo - 0 == 0}}" class="collect v-center {{item.collected - 1 == 0 ? 'collectred':''}}" open-type="getUserInfo" bindtap="getUserInfoBtn" data-type="4" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
<icon class="iconfont {{item.collected - 1 == 0 ? 'icon-shoucang-red':'icon-wode-shoucang'}}" style="font-size:10px;position: relative;top: -5px;"></icon>
<text class="f10 {{item.collected - 1 == 0 ? 'cred':'c8'}}" style="line-height:18px;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" data-collected="{{item.collected}}" data-jobid="{{item.id}}" hover-stop-propagation>
<icon class="iconfont {{item.collected - 1 == 0 ? 'icon-shoucang-red':'icon-wode-shoucang'}}" style="font-size:10px;position: relative;top: -5px;"></icon>
<text class="f10 {{item.collected - 1 == 0 ? 'cred':'c8'}}" style="line-height:18px;margin-left:2px;">{{item.collected - 2 == 0 ? '收藏' : '已收藏'}}</text>
</button>
<button wx:if="{{!isLogin}}" 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" style="font-size:10px;position: relative;top: -5px;">
</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.salaryClassifyValue}}
<!-- {{item.hourlyPay}} -->
<!-- {{item.combiSalary}} -->
</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>
<!-- {{item.aliasName}} <text class='f14 c025 ml8'> {{ item.distanceKm }} </text> -->
</view>
</view>
<view class=''>
<view class="tttg">
<!-- <view wx:if="{{item.rebate != null && item.rebate != ''}}" class='tagsLi spli'>
返费{{item.rebate}}
</view> -->
<view class='tagsLi' wx:for="{{item.jobSpecialLabelNames}}" wx:for-item="item1" wx:key='{{index}}'>
{{item1}}
</view>
</view>
<button wx:if="{{isLogin && hasUserInfo - 0 == 0}}" class="weui-btn weui-btn_mini weui-btn_primary fr" open-type="getUserInfo" catchtap="getUserInfoBtn" data-type="5" data-idx='{{index}}'>立即报名</button>
<button wx:if="{{isLogin && hasUserInfo - 1 == 0}}" class="weui-btn weui-btn_mini weui-btn_primary fr" hover-stop-propagation catchtap="goEnroll" data-idx='{{index}}' hover-class="hcb">立即报名</button>
<button wx:if="{{!isLogin}}" class="weui-btn weui-btn_mini weui-btn_primary fr" hover-stop-propagation open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod" hover-class="hcb" data-idx='{{index}}'>立即报名</button>
</view>
</view>
</view>
</view>
<!-- <view class='sbLine'>
</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 style="height:48px;">
<button wx:if="{{!isLogin}}" class="clickMore mb20" wx:if="{{!isLogin}}" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber1" catchtap="emptyMethod">点击加载更多</button>
</view> -->
<block wx:if="{{isLogin}}">
<view class='tc' style="border-top: 1rpx solid #f5f5f5;" wx:if='{{hasMoreData}}'>
<text class='tc p20 f12 c045 dib'> 加载中...</text>
</view>
<view class='tc p20 f12 c045' wx:if='{{!hasMoreData}}'>
暂无更多数据
</view>
</block>
</block>
</scroll-view>
</view>
</view>
</scroll-view>
<view wx:if="{{jobList == null || jobList.length == 0 && pageShow}}" class="tc">
<view class="t-icon t-icon-zanwujilu" style="width:80px;height:80px;margin:60px auto 20px;"></view>
<view class="tc f14 c045">暂无记录</view>
</view>
<scroll-view class="fadeIn" wx:if="{{iosDialog1}}" style="position: relative;z-index: 999;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__hd"><strong class="weui-dialog__title">登录后才能查看全部职位</strong></view>
<view class="weui-dialog__bd">
<view>现在登录吗?</view>
</view>
<view class="display-flex pb20">
<view class="flex-1 lflex v-center" bindtap="close" hover-class="thover">知道了</view>
<view class="rflex">
<button class="" type="primary" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber1" catchtap="emptyMethod">立即登录</button>
</view>
</view>
</view>
</scroll-view>
<scroll-view class="fadeIn" wx:if="{{iosDialog2}}" style="position: relative;z-index: 999;">
<view class="weui-mask"></view>
<view class="weui-dialog">
<view class="weui-dialog__hd"><strong class="weui-dialog__title">请提供你的手机号</strong></view>
<view class="weui-dialog__bd">
<view>方便客服联系你,帮你推荐工作</view>
</view>
<view class="display-flex pb20 v-center">
<view class="flex-1 lflex p020" hover-class="thover">
<button open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber1" catchtap="emptyMethod" class="btnFlex" data-type="close">好的</button>
</view>
</view>
</view>
</scroll-view>
<scroll-view class="fadeIn" wx:if="{{phoneDialog}}" style="position: relative;z-index: 999;">
<view class="weui-mask"></view>
<view class="weui-dialog p020" style="box-sizing:border-box;">
<!-- <view class="weui-dialog__hd"><strong class="weui-dialog__title">{{pmdUserInfo.tel}}</strong></view> -->
<!-- <view class="weui-dialog__hd bb1">
<view>
<image wx:if="pmdUserInfo.imgSrc != ''" src="{{pmdUserInfo.imgSrc}}" style="width:56px;height:56px;border-radius:50%;"></image>
<image wx:else src="http://matripe.oss-cn-beijing.aliyuncs.com/defaultAva.png" style="width:56px;height:56px;border-radius:50%;"></image>
</view>
<view class="f20 c3">{{pmdUserInfo.userName}}</view>
<view class="f14 c9">客户经理</view>
<view class="mt20 f22 c3">{{pmdUserInfo.tel}}</view>
</view> -->
<view class="weui-dialog__hd bb1">
<!-- <image wx:if="pmdUserInfo.imgSrc != ''" src="{{pmdUserInfo.imgSrc}}" style="width:56px;height:56px;border-radius:50%;"></image> -->
<image src="http://matripe.oss-cn-beijing.aliyuncs.com/goodJob/bocaoLogo.png" style="width:56px;height:56px;border-radius:50%;"></image>
<view class="f20 c3">孔老师</view>
<view class="f14 c9">专属客服</view>
<!-- <view class="mt20 f22 c3">{{pmdUserInfo.tel}}</view> -->
<view class="mt20 f22 c3">18039237825</view>
</view>
<view class="display-flex pb20" style="padding-top:20px;">
<view class="flex-1 lflex v-center" bindtap="close" hover-class="thover">取消</view>
<view class="rflex">
<button class="" type="primary" bindtap="makePhoneCall">呼叫</button>
</view>
</view>
</view>
</scroll-view>
</view>
<scroll-view class="fadeIn" wx:if="{{dialog1}}" style="position: fixed;z-index: 9999;">
<view class="weui-mask" bindtap="close"></view>
<view class="weui-half-screen-dialog">
<view class="innerDia p1620">
<view style="height: calc(75vh - 120px);overflow: auto;">
<view class="f14 c3">薪资福利</view>
<view class="mt10">
<block wx:for="{{tagArray1}}" wx:for-item="item">
<view bindtap='selectJobSpecialLabel' data-indexTag="1" data-index="{{index}}" class="bgAc {{item.checked ? 'active' : ''}}">{{item.name}}</view>
</block>
</view>
<view class="f14 c3 mt10">食宿保障</view>
<view class="mt10">
<block wx:for="{{tagArray3}}" wx:for-item="item">
<view bindtap='selectJobSpecialLabel' data-indexTag="3" data-index="{{index}}" class="bgAc {{item.checked ? 'active' : ''}}">{{item.name}}</view>
</block>
</view>
<view class="f14 c3 mt10">班制特色</view>
<view class="mt10">
<block wx:for="{{tagArray0}}" wx:for-item="item">
<view bindtap='selectJobSpecialLabel' data-indexTag="0" data-index="{{index}}" class="bgAc {{item.checked ? 'active' : ''}}">{{item.name}}</view>
</block>
</view>
<view class="f14 c3 mt10">其它特色</view>
<view class="mt10">
<block wx:for="{{tagArray2}}" wx:for-item="item">
<view bindtap='selectJobSpecialLabel' data-indexTag="2" data-index="{{index}}" class="bgAc {{item.checked ? 'active' : ''}}">{{item.name}}</view>
</block>
</view>
</view>
<!-- <view class="f14 c3">特色</view>
<view class="mt10" style="height: calc(75vh - 140px);overflow: auto;">
<block wx:for="{{jobSpecialLabelList}}" wx:for-item="item">
<view bindtap='selectJobSpecialLabel' data-index="{{index}}" class="bgAc {{item.checked ? 'active' : ''}}">{{item.name}}</view>
</block>
</view> -->
<view class="btmFix">
<view class="display-flex">
<view class="flex-1 pl20 pr10">
<button class="resetBtn" style="font-weight:400;" catchtap="reset" data-type="1">
重置
</button>
</view>
<view class="flex-1 pl10 pr20">
<button type='primary' class="loginOut" style="font-weight:400;" catchtap="loginOut">
确定
</button>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
<scroll-view class="fadeIn" wx:if="{{dialog2}}" style="position: fixed;z-index: 9999;">
<view class="weui-mask" bindtap="close"></view>
<view class="weui-half-screen-dialog" style="height:60vh;">
<view class="innerDia p1620">
<view class="f14 c3">品牌</view>
<view class="mt10">
<block wx:for="{{brandList}}" wx:for-item="item">
<view bindtap='selectBrand' data-index="{{index}}" class="bgAc {{item.checked ? 'active' : ''}}">{{item.name}}</view>
</block>
<!-- <view class="bgAc">盒马鲜生</view>
<view class="bgAc active">昌硕电子</view> -->
</view>
<view class="btmFix">
<view class="display-flex">
<view class="flex-1 pl20 pr10">
<button class="resetBtn" style="font-weight:400;" catchtap="reset" data-type="2">
重置
</button>
</view>
<view class="flex-1 pl10 pr20">
<button type='primary' class="loginOut" style="font-weight:400;" catchtap="loginOut">
确定
</button>
</view>
</view>
</view>
</view>
</view>
</scroll-view>