样式修改

cyl/dev
wangxia 1 year ago
parent 4e89b85049
commit 12c88d0893

@ -1,6 +1,9 @@
const app = getApp(); const app = getApp();
Component({ Component({
data: {}, data: {
labelColor: ["#c41d7f", "#096dd9", "#531dab", "#d46b08", "#389e0d", "#08979c", "#cf1322"],
bgColor: ["#fff0f6", "#e6f7ff", "#f9f0ff", "#fff7e6", "#f6ffed", "#e6fffb", "#fff1f0"],
},
properties: { properties: {
// 抽屉高度 // 抽屉高度
recordList: { recordList: {

@ -10,7 +10,7 @@
<view class="storeName">{{item.jobName || item.aliasName}}</view> <view class="storeName">{{item.jobName || item.aliasName}}</view>
<view class="f14s c045">{{item.update}}</view> <view class="f14s c045">{{item.update}}</view>
</view> </view>
<view class="v-center mt8 mb10"> <view class="v-center mt8 mb6">
<view class="f14s c045 flex-1"> <view class="f14s c045 flex-1">
<view class="overflowOmit mb8 fss"> <view class="overflowOmit mb8 fss">
<view class='oelps' style="max-width:120px"> <view class='oelps' style="max-width:120px">
@ -24,8 +24,8 @@
</view> </view>
<scroll-view scroll-x="{{true}}" catchscroll="stoptap" bindtap="stoptap" class="tttg {{item.isTagShow==true ? 'isTagShow':''}}"> <scroll-view scroll-x="{{true}}" catchscroll="stoptap" bindtap="stoptap" 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="t-icon t-icon-ziying1 " wx:if="{{item.signType == 1}}" style="background-repeat:no-repeat"></view> -->
<view class="pr10 pt4 pb4 fsa cusFlexStart"> <view class="pr10 pt4 fsa cusFlexStart" style="max-width:80%;flex-wrap:wrap;height:22px;overflow:hidden">
<view class="br2 fss" style="background: #f1faff;" wx:for="{{item.labelGroup}}" wx:key="itm" wx:for-item="itm"> <view class="br2 fss mb4" style="background: #f1faff;height:20px" wx:for="{{item.labelGroup}}" wx:key="itm" wx:for-item="itm">
<view class="f12 pl4 pr4" style="color:#646572;padding:4px;" hover-class="none" hover-stop-propagation="false"> <view class="f12 pl4 pr4" style="color:#646572;padding:4px;" hover-class="none" hover-stop-propagation="false">
{{itm || '-'}} {{itm || '-'}}
</view> </view>
@ -45,34 +45,34 @@
<view class> <view class>
<view class="hourPay" wx:if="{{item.salaryClassify == 0}}"> <view class="hourPay" wx:if="{{item.salaryClassify == 0}}">
<span class="f14">¥</span> <span class="f14">¥</span>
<span class="f18">{{item.salaryClassifyValue}}</span> <span class="f22">{{item.salaryClassifyValue}}</span>
<span class="f12">/时</span> <span class="f12">/时</span>
</view> </view>
<view class="hourPay" wx:if="{{item.salaryClassify == 1}}"> <view class="hourPay" wx:if="{{item.salaryClassify == 1}}">
<span class="f14">¥</span> <span class="f14">¥</span>
<span class="f18">{{item.salaryClassifyValue}}</span> <span class="f22">{{item.salaryClassifyValue}}</span>
<span class="f12">/天</span> <span class="f12">/天</span>
</view> </view>
<view class="hourPay" wx:if="{{item.salaryClassify == 2}}"> <view class="hourPay" wx:if="{{item.salaryClassify == 2}}">
<span class="f14">¥</span> <span class="f14">¥</span>
<span class="f18">{{item.salaryClassifyValue}}</span> <span class="f22">{{item.salaryClassifyValue}}</span>
<span class="f12">补</span> <span class="f12">补</span>
</view> </view>
<view class="hourPay" wx:if="{{item.salaryClassify == 3}}"> <view class="hourPay" wx:if="{{item.salaryClassify == 3}}">
<span class="f14">¥</span> <span class="f14">¥</span>
<span class="f18">{{item.salaryClassifyValue}}</span> <span class="f22">{{item.salaryClassifyValue}}</span>
<span class="f12">返</span> <span class="f12">返</span>
</view> </view>
<view class="hourPay" wx:if="{{item.salaryClassify == 4}}">计件</view> <view class="hourPay" wx:if="{{item.salaryClassify == 4}}">计件</view>
<view class="hourPay" wx:if="{{item.salaryClassify == 5}}"> <view class="hourPay" wx:if="{{item.salaryClassify == 5}}">
<span class="f14">¥</span> <span class="f14">¥</span>
<span class="f18">{{item.salaryClassifyValue}}</span> <span class="f22">{{item.salaryClassifyValue}}</span>
<span class="f12">保底</span> <span class="f12">保底</span>
</view> </view>
<view class="hourPay" wx:if="{{item.salaryClassify == 6}}">面议</view> <view class="hourPay" wx:if="{{item.salaryClassify == 6}}">面议</view>
<view class="hourPay" wx:if="{{item.salaryClassify == 7}}"> <view class="hourPay" wx:if="{{item.salaryClassify == 7}}">
<span class="f14">¥</span> <span class="f14">¥</span>
<span class="f18">{{item.monthlyPay}}</span> <span class="f22">{{item.monthlyPay}}</span>
<span class="f12">/月</span> <span class="f12">/月</span>
</view> </view>
</view> </view>

@ -1010,7 +1010,7 @@ Page({
that.setData({ that.setData({
jobDetail: result, jobDetail: result,
isMaskShow: !(result.record.recruitment == "1"), isMaskShow: !(result.record.recruitment == "1"),
citys: citys , citys: citys,
// addressNew: result.storeDistrict.replace(/,/g, "") + result.store.detailPosition, // addressNew: result.storeDistrict.replace(/,/g, "") + result.store.detailPosition,
}); });
that.data.jobDetail.record["storeName"] = that.data.jobDetail.storeName ? that.data.jobDetail.storeName : that.data.jobDetail.record["storeName"]; that.data.jobDetail.record["storeName"] = that.data.jobDetail.storeName ? that.data.jobDetail.storeName : that.data.jobDetail.record["storeName"];
@ -1743,9 +1743,11 @@ Page({
}, },
showFee () { showFee () {
let that = this let that = this
console.log('that.data.bclr', that.data.bclr);
wx.showModal({ wx.showModal({
// title: "确认要转让创建人吗?", title: '佣金: ' + that.data.fuWuFei,
content: that.data.jobDetail.record.returnFeeDesp, content: that.data.jobDetail.record.returnFeeDesp,
// content: that.data.bclr,
contentColor: "#ccc", contentColor: "#ccc",
confirmColor: "#1890ff", confirmColor: "#1890ff",
confirmText: "确定", confirmText: "确定",

@ -51,7 +51,7 @@
<view wx:else class bindtap="showTobe" hover-class="none" hover-stop-propagation="false">仅代理可见</view>--> <view wx:else class bindtap="showTobe" hover-class="none" hover-stop-propagation="false">仅代理可见</view>-->
</view> </view>
<view class="bgf mt10 br8 pb20" hover-class="none" hover-stop-propagation="false"> <view class="bgf mt10 br8 pb20" hover-class="none" hover-stop-propagation="false">
<view class="p20 pb10" style="padding-top:10px" id="tocanvas"> <view class="p16 pb10" style="padding-top:10px" id="tocanvas">
<view class="v-center"> <view class="v-center">
<view class="jobTitle"> <view class="jobTitle">
<!-- {{jobDetail.store.aliasName}} {{jobDetail.record.jobName}} --> <!-- {{jobDetail.store.aliasName}} {{jobDetail.record.jobName}} -->
@ -66,14 +66,13 @@
<view class="fss c045"> <view class="fss c045">
<view class="f14s oelps" style="max-width:50%"> <view class="f14s oelps" style="max-width:50%">
<!-- 深圳丨龙岗区丨16-35岁 --> <!-- 深圳丨龙岗区丨16-35岁 -->
{{citys}} {{citys ? citys + '丨' :''}}
<!-- {{jobDetail.store.distance}} --> <!-- {{jobDetail.store.distance}} -->
</view> </view>
{{citys ? '丨' :''}}
<view class="f14s c045"> <view class="f14s c045">
<!-- 深圳丨龙岗区丨16-35岁 --> <!-- 深圳丨龙岗区丨16-35岁 -->
<block>{{jobDetail.record.genderRestrict}}</block> <block>{{jobDetail.record.genderRestrict}}</block>
{{jobDetail.record.age}} {{'丨' +( jobDetail.record.age || '-')}}
<!-- {{jobDetail.record.district}}{{jobDetail.record.age}} --> <!-- {{jobDetail.record.district}}{{jobDetail.record.age}} -->
</view> </view>
</view> </view>
@ -92,8 +91,8 @@
</view> </view>
<view class="f12 pl4 pr4" style="background: #f1faff;" wx:if="{{item.labelGroup.length <= 0}}">暂无特色</view> <view class="f12 pl4 pr4" style="background: #f1faff;" wx:if="{{item.labelGroup.length <= 0}}">暂无特色</view>
</view> </view>
<view class="fss"> <view class="fss" style='align-items:flex-end'>
<view class="jobMoney ysd-base-f40 mr12"> <view class="jobMoney ysd-base-f40">
<!-- {{jobDetail.record.combiSalary}} --> <!-- {{jobDetail.record.combiSalary}} -->
<view class="hourPay" wx:if="{{jobDetail.record.salaryClassify == 0}}"> <view class="hourPay" wx:if="{{jobDetail.record.salaryClassify == 0}}">
<span class="f14">¥</span> <span class="f14">¥</span>
@ -129,9 +128,9 @@
</view> </view>
<!-- {{jobDetail.record.hourlyPay || '--'}} --> <!-- {{jobDetail.record.hourlyPay || '--'}} -->
</view> </view>
<view class="f14s c045"> <view class="f14s c045" style="line-height:1.3">
<!-- 5200-8400 --> <!-- 5200-8400 -->
{{jobDetail.record.monthlyPay || '--'}} {{jobDetail.record.monthlyPay ? '丨' + jobDetail.record.monthlyPay : '--'}}
</view> </view>
</view> </view>
</view> </view>
@ -237,18 +236,18 @@
<view class="detailH3">对接信息</view> <view class="detailH3">对接信息</view>
<view class="outSp"> <view class="outSp">
<view class="display-flex"> <view class="display-flex">
<view class hover-class="none" hover-stop-propagation="false" wx:if="{{fromBocai}}"> <view class hover-class="none" hover-stop-propagation="false">
<view class="display-flex"> <view class="display-flex">
<view class="rb1 sbb1">面试地点</view> <view class="rb1 sbb1">面试地点</view>
<view class="textb1 sbb1">{{jobDetail.record.interviewAddr}}</view> <view class="textb1 sbb1">{{jobDetail.record.interviewAddr}}</view>
</view> </view>
</view> </view>
<view class="textb1" style="padding:0;" wx:else> <!-- <view class="textb1" style="padding:0;" wx:else>
<view class="display-flex"> <view class="display-flex">
<view class="rb1 sbb1">面试地点</view> <view class="rb1 sbb1">面试地点</view>
<view class="textb1 sbb1">{{jobDetail.record.interviewAddr}}</view> <view class="textb1 sbb1">{{jobDetail.record.interviewAddr}}</view>
</view> </view>
</view> </view>-->
</view> </view>
</view> </view>
<view wx:if="{{jobDetail.record.OtherInfo}}"> <view wx:if="{{jobDetail.record.OtherInfo}}">
@ -446,7 +445,7 @@
</view>--> </view>-->
<view class="fse flex-1" hover-class="none" hover-stop-propagation="false"> <view class="fse flex-1" hover-class="none" hover-stop-propagation="false">
<view class="detailBtn1 fsc mr16" style="height:40px;width:100px" catchtap="kefu" hover-class="none" hover-stop-propagation="false"> <view class="detailBtn1 fsc mr16" style="height:40px;width:100px" catchtap="kefu" data-custom-service-url="{{jobDetail.record.customServiceUrl}}" data-collected="{{jobDetail.record.collected}}" data-jobid="{{jobDetail.record.id}}" hover-class="thover" hover-stop-propagation="false">
<!-- <view class="fsc" hover-class="none" hover-stop-propagation="false"> --> <!-- <view class="fsc" hover-class="none" hover-stop-propagation="false"> -->
<icon class="iconfont icon-kefu7 f16" style="color:#1890ff;line-height:40px"></icon> <icon class="iconfont icon-kefu7 f16" style="color:#1890ff;line-height:40px"></icon>
<view class style="margin-left:4px">客服</view> <view class style="margin-left:4px">客服</view>
@ -454,7 +453,7 @@
</view> </view>
<block wx:if="{{isAgency}}"> <block wx:if="{{isAgency}}">
<view class style="padding: 0 16px;width:200px" wx:if="{{!isMaskShow}}"> <view class style="padding: 0 16px;width:200px" wx:if="{{!isMaskShow}}">
<button type class="detailBtn" bindtap="goNewEnroll">立即报名</button> <button type class="detailBtn" hover-class="thover" bindtap="goNewEnroll">立即报名</button>
<!-- <button wx:else type="" class="detailBtn" hover-class="button-hover" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod">立即报名</button> --> <!-- <button wx:else type="" class="detailBtn" hover-class="button-hover" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod">立即报名</button> -->
</view> </view>
<view class style="padding: 0 16px;width:240px" wx:else> <view class style="padding: 0 16px;width:240px" wx:else>
@ -464,7 +463,7 @@
<block wx:else> <block wx:else>
<view class style="padding: 0 16px;width:240px"> <view class style="padding: 0 16px;width:240px">
<!-- style="background-color:#ccc" --> <!-- style="background-color:#ccc" -->
<button class="detailBtn" type hover-class="none" bindtap="goNewEnroll" hover-stop-propagation>立即报名</button> <button class="detailBtn" type hover-class="thover" bindtap="goNewEnroll" hover-stop-propagation>立即报名</button>
</view> </view>
</block> </block>
</view> </view>

@ -251,7 +251,7 @@ button.collectBtn {
margin-right: 8px; margin-right: 8px;
margin-bottom: 0; margin-bottom: 0;
color: #888; color: #888;
line-height: 18px; line-height: 20px;
padding: 0px 4px; padding: 0px 4px;
} }
.t-icon-ziying1 { .t-icon-ziying1 {

@ -11,6 +11,7 @@ import {
Page({ Page({
data: { data: {
toped: "1", toped: "1",
jobNum: 0, // 48小时更新职位数
currCode: '', currCode: '',
colorList: [{ colorList: [{
color: '#1890ff', color: '#1890ff',
@ -80,7 +81,7 @@ Page({
checkedlabelItems: [], checkedlabelItems: [],
hasMoreData: true, //下拉是否还有更多数据 hasMoreData: true, //下拉是否还有更多数据
inputShowed: false, inputShowed: false,
inputVal: "搜索工作", inputVal: "",
wxCode: "", wxCode: "",
isCollect: false, isCollect: false,
collectTxt: "收藏", collectTxt: "收藏",
@ -613,7 +614,7 @@ Page({
}, },
clearInput: function () { clearInput: function () {
this.setData({ this.setData({
inputVal: "搜索工作", inputVal: "",
chaShowed: false, chaShowed: false,
inputShowed: false, inputShowed: false,
hasMoreData: true, hasMoreData: true,
@ -634,6 +635,11 @@ Page({
this.data.storeJobListSearchForm.pageNum = 1; this.data.storeJobListSearchForm.pageNum = 1;
this.data.storeJobListSearchForm.keys = ""; this.data.storeJobListSearchForm.keys = "";
this.getJobList(); this.getJobList();
} else if (!this.data.chaShowed) {
this.setData({
chaShowed: true,
});
} }
}, },
/** /**
@ -2241,7 +2247,7 @@ Page({
// that.getJobList(); // that.getJobList();
// } // }
this.getJobNum()
wx.removeStorage({ wx.removeStorage({
key: "townsManInfo", key: "townsManInfo",
}); });
@ -2561,13 +2567,14 @@ Page({
if (app.isEmptyCheck(that.data.searchCityParamStorage.name)) { if (app.isEmptyCheck(that.data.searchCityParamStorage.name)) {
that.data.storeJobListSearchForm.cityName = "全国"; that.data.storeJobListSearchForm.cityName = "全国";
} }
that.data.storeJobListSearchForm.keys = that.data.inputVal == "搜索工作" ? "" : that.data.inputVal; that.data.storeJobListSearchForm.keys = that.data.inputVal;
// debugger; // debugger;
wx.showLoading({ wx.showLoading({
title: "加载中...", title: "加载中...",
}); });
console.log(that.data.storeJobListSearchForm); console.log(that.data.storeJobListSearchForm);
// 置空收藏的筛选
that.data.storeJobListSearchForm.ucj = ''
customRequest("/yishoudan/custom/job/listV2", { customRequest("/yishoudan/custom/job/listV2", {
method: 'post', method: 'post',
header: 'headers', header: 'headers',
@ -2620,7 +2627,7 @@ Page({
that.data.recordList.forEach((item, index) => { that.data.recordList.forEach((item, index) => {
if (item.jobSpecialLabelNames && item.jobSpecialLabelNames.length > 0) { if (item.jobSpecialLabelNames && item.jobSpecialLabelNames.length > 0) {
item.labelGroup = item.jobSpecialLabelNames.split(', ').filter((item, index) => { item.labelGroup = item.jobSpecialLabelNames.split(', ').filter((item, index) => {
return index < 3 return index < 6
}).map(item => { }).map(item => {
return item return item
}) })
@ -4164,7 +4171,8 @@ Page({
) { ) {
if (e.currentTarget.dataset.id) { if (e.currentTarget.dataset.id) {
that.data.choiceCollect = e.currentTarget.dataset.id; that.data.choiceCollect = e.currentTarget.dataset.id;
that.data.storeJobListSearchForm.ucj = e.currentTarget.dataset.id; // that.data.storeJobListSearchForm.ucj = e.currentTarget.dataset.id;
that.data.storeJobListSearchForm.sortTag = e.currentTarget.dataset.id;
that.data.storeJobListSearchForm.pageNum = 1; that.data.storeJobListSearchForm.pageNum = 1;
that.setData({ that.setData({
choiceCollect: that.data.choiceCollect, choiceCollect: that.data.choiceCollect,
@ -4742,4 +4750,18 @@ Page({
url: "/pages/filterPage/index", url: "/pages/filterPage/index",
}); });
}, },
getJobNum () {
// 获取48小时内职位更新数
customRequest("/yishoudan/custom/job/countUpdateNumByHour/48", {
header: 'headers',
method: 'get',
}).then((res) => {
console.log('getJobNum', res);
this.setData({
jobNum: res.data.data
})
}).catch(() => {
})
}
}); });

@ -11,20 +11,23 @@
<view class="f16 fw500 dib oelps" style="width:36px">{{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}}</view> <view class="f16 fw500 dib oelps" style="width:36px">{{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}}</view>
<i class="iconfont icon-zhankai f12" style></i> <i class="iconfont icon-zhankai f12" style></i>
</view> </view>
<view class="weui-search-bar__box" id="searchInput" style="overflow:hidden" catchtap="goSearch"> <!-- catchtap="goSearch" -->
<view class="weui-search-bar__box" id="searchInput" style="overflow:hidden">
<view class="fss" hover-class="none" hover-stop-propagation="false"> <view class="fss" hover-class="none" hover-stop-propagation="false">
<i class="iconfont icon-sousuo11"></i> <i class="iconfont icon-sousuo11 mr4"></i>
<swiper class="c9 f14 ml4" style="height: 40px;width:70px;line-height:42px" bindchange="getSwiperIndex" autoplay circular vertical interval="{{5000}}" duration="{{600}}"> <!-- <swiper class="c9 f14 ml4" style="height: 40px;width:70px;line-height:42px" bindchange="getSwiperIndex" autoplay circular vertical interval="{{5000}}" duration="{{600}}">
<block wx:for="{{swiperTextList}}" wx:key="index"> <block wx:for="{{swiperTextList}}" wx:key="index">
<swiper-item catchtouchmove="modalMove"> <swiper-item catchtouchmove="modalMove">
<view data-item="{{item}}" class="single-word color-gray">{{item}}</view> <view data-item="{{item}}" class="single-word color-gray">{{item}}</view>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>-->
<input type="text" value="{{inputVal}}" class="f14" bindinput="inputTyping" placeholder="{{jobNum ? '近48小时更新' + jobNum + '条信息' : ''}}" catchblur placeholder-class="f14" />
<view class="iconfont icon-guanbi11 f10 c9 biggerSize" wx:if="{{chaShowed}}" style="color:#333" catchtap="clearInput"></view>
</view> </view>
<!-- <view class="weui-search-bar__input f14 oelps {{!chaShowed ? 'c9' : 'c3'}}" style="max-width: 70px;">{{inputVal}}</view> --> <!-- <view class="weui-search-bar__input f14 oelps {{!chaShowed ? 'c9' : 'c3'}}" style="max-width: 70px;">{{inputVal}}</view> -->
<!-- <view class="iconfont icon-guanbi11 f10 c9" wx:if="{{chaShowed}}" style="color:#333" catchtap="clearInput"></view> --> <!-- <view class="iconfont icon-guanbi11 f10 c9" wx:if="{{chaShowed}}" style="color:#333" catchtap="clearInput"></view> -->
<view class="search f14" catchtap="goSearch" style="color: var(--color-ysd);">搜索</view> <view class="search f14" catchtap="searchKey" style="color: var(--color-ysd);">搜索</view>
</view> </view>
<view class hover-class="none" hover-stop-propagation="false"> <view class hover-class="none" hover-stop-propagation="false">
<image class style="width:40px;height:40px;margin-left:12px" bindtap="toEnroll" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/ksbm.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image> <image class style="width:40px;height:40px;margin-left:12px" bindtap="toEnroll" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/IOS/ksbm.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
@ -166,19 +169,25 @@
<!-- <official-account></official-account> --> <!-- <official-account></official-account> -->
<!-- <image class show-menu-by-longpress="{{true}}" src="../../assets/images/gzhQRcode.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload /> --> <!-- <image class show-menu-by-longpress="{{true}}" src="../../assets/images/gzhQRcode.jpg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload /> -->
<view class="sticky" id="sticky" hover-class="none" hover-stop-propagation="false"> <view class="sticky" id="sticky" hover-class="none" hover-stop-propagation="false">
<view class="fsa searchBar" catchtouchmove="modalMove" style> <!-- <view class="fsa " catchtouchmove="modalMove" style> -->
<view class="fsa" style="align-items:end;width:100%" hover-class="none" hover-stop-propagation="false"> <view class="fsa searchBar" style hover-class="none" hover-stop-propagation="false">
<view class="fsa" hover-class="none" hover-stop-propagation="false"> <view class="fsa" hover-class="none" hover-stop-propagation="false">
<view class="tarbar" bindtap="collectChange" data-id="0"> <view class="tarbar" bindtap="collectChange" data-id="0">
<view class="tarbarText {{choiceCollect == '0'?'collectActive':''}}">全部</view> <view class="tarbarText {{choiceCollect == '0'?'collectActive':''}}">最新</view>
<!-- <image wx:if="{{toped == '1'}}" src="../../assets/images/border-circle.svg" class="tarbarImg"></image> --> <!-- <image wx:if="{{toped == '1'}}" src="../../assets/images/border-circle.svg" class="tarbarImg"></image> -->
</view> </view>
<view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1"> <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1">
<view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">工价</view>
</view>
<view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="3">
<view class="tarbarText {{choiceCollect == '3'?'collectActive':''}}">佣金</view>
</view>
<!-- <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1">
<view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">附近</view> <view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">附近</view>
</view> </view>
<view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="2"> <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="2">
<view class="tarbarText {{choiceCollect == '2'?'collectActive':''}}">最新</view> <view class="tarbarText {{choiceCollect == '2'?'collectActive':''}}">最新</view>
</view> </view>-->
<!-- <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1"> <!-- <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1">
<view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">收藏</view> <view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">收藏</view>
</view>--> </view>-->
@ -354,7 +363,7 @@
<i class="iconfont icon-sousuo11 mr8"></i>搜索 <i class="iconfont icon-sousuo11 mr8"></i>搜索
</view> </view>
</view>--> </view>-->
</view> <!-- </view> -->
<scroll-view class="filterTag display-flex bt1" scroll-x="true" scroll-y="false" scroll-top="0" scroll-left="0" scroll-into-view scroll-with-animation="false" enable-flex enable-back-to-top="false" wx:if="{{selectBrandList.length > 0 || selectJobList.length > 0 || sexid != '-1' ||(storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != '16-60')}}"> <scroll-view class="filterTag display-flex bt1" scroll-x="true" scroll-y="false" scroll-top="0" scroll-left="0" scroll-into-view scroll-with-animation="false" enable-flex enable-back-to-top="false" wx:if="{{selectBrandList.length > 0 || selectJobList.length > 0 || sexid != '-1' ||(storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != '16-60')}}">
<view class="display-flex" hover-class="none" hover-stop-propagation="false"> <view class="display-flex" hover-class="none" hover-stop-propagation="false">
<!-- <view class="tc genderTag f14 por {{activez != 'zuigao' && (selectJobList.length > 0 || selectBrandList.length > 0 || sexid != '-1') ? 'hascontent' : ''}}" catchtap="deletePaixu" style="min-width:60px" wx:if="{{activez != 'zuigao'}}" hover-class="none" hover-stop-propagation="false"> <!-- <view class="tc genderTag f14 por {{activez != 'zuigao' && (selectJobList.length > 0 || selectBrandList.length > 0 || sexid != '-1') ? 'hascontent' : ''}}" catchtap="deletePaixu" style="min-width:60px" wx:if="{{activez != 'zuigao'}}" hover-class="none" hover-stop-propagation="false">
@ -601,9 +610,10 @@
</view>--> </view>-->
<view x:if="{{recordList != null && recordList.length > 0}}" style="padding-top: 0;overflow-x: hidden;"> <view x:if="{{recordList != null && recordList.length > 0}}" style="padding-top: 0;overflow-x: hidden;">
<job-sub storeJobListSearchForm="{{storeJobListSearchForm}}" bindgetPhoneNumber="getPhoneNumber" bindcollectPaste="collectPaste" bindgetUserInfoBtn="getUserInfoBtn" recordList="{{recordList}}" isLogin="{{isLogin}}" agencyStatus="{{agencyStatus}}" hasUserInfo="{{hasUserInfo}}"></job-sub> <job-sub storeJobListSearchForm="{{storeJobListSearchForm}}" bindgetPhoneNumber="getPhoneNumber" bindcollectPaste="collectPaste" bindgetUserInfoBtn="getUserInfoBtn" recordList="{{recordList}}" isLogin="{{isLogin}}" agencyStatus="{{agencyStatus}}" hasUserInfo="{{hasUserInfo}}"></job-sub>
<block wx:if="{{(recordList == null || recordList.length == 0) && (storeJobListSearchForm.keys != null && storeJobListSearchForm.keys != '')}}"> <view wx:if="{{(recordList == null || recordList.length == 0) }}" class="tc">
<view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 50% auto 20px"></view>
<view class="tc p20 f12 c045">没有符合条件的职位</view> <view class="tc p20 f12 c045">没有符合条件的职位</view>
</block> </view>
<block wx:else> <block wx:else>
<block wx:if="{{isLogin}}"> <block wx:if="{{isLogin}}">
<view class="tc p20 f12 c045" wx:if="{{!hasMoreData && recordList.length != 0}}">已经到底啦~</view> <view class="tc p20 f12 c045" wx:if="{{!hasMoreData && recordList.length != 0}}">已经到底啦~</view>
@ -619,10 +629,10 @@
</block> </block>
</block> </block>
</view> </view>
<view wx:if="{{(recordList == null || recordList.length == 0) && pageShow}}" class="tc"> <!-- <view wx:if="{{(recordList == null || recordList.length == 0) && pageShow}}" class="tc">
<view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 50% auto 20px"></view> <view class="t-icon t-icon-zanwu" style="width: 80px; height: 80px; margin: 50% auto 20px"></view>
<view class="tc f14 c045">暂无记录</view> <view class="tc f14 c045">没有符合条件的职位</view>
</view> </view>-->
</view> </view>
</view> </view>
</view> </view>

@ -943,8 +943,8 @@ button.collect icon::before {
.xgxg { .xgxg {
/* height: 44px; */ /* height: 44px; */
/* position: relative; */ /* position: relative; */
padding: 8px 0px; /* padding: 8px 0px; */
margin-left: 24px; /* margin-left: 24px; */
/* position: sticky; */ /* position: sticky; */
/* top: 103px; */ /* top: 103px; */
/* z-index: 9999; */ /* z-index: 9999; */

@ -1509,7 +1509,17 @@ Page({
} else { } else {
var jobListTemp = commonUtil.disposeJobListData(data.recordList); var jobListTemp = commonUtil.disposeJobListData(data.recordList);
that.data.recordList = that.data.recordList.concat(jobListTemp); that.data.recordList = that.data.recordList.concat(jobListTemp);
that.data.recordList.forEach((item, index) => {
if (item.jobSpecialLabelNames && item.jobSpecialLabelNames.length > 0) {
item.labelGroup = item.jobSpecialLabelNames.split(', ').filter((item, index) => {
return index < 6
}).map(item => {
return item
})
} else {
item.labelGroup = [];
}
})
that.setData({ that.setData({
recordList: that.data.recordList, recordList: that.data.recordList,
hasMoreData: true, hasMoreData: true,

@ -214,7 +214,7 @@
<block wx:if="{{toped == 1}}"> <block wx:if="{{toped == 1}}">
<view wx:if="{{recordList != null && recordList.length > 0}}" class="standardList" style="padding-top: 0;"> <view wx:if="{{recordList != null && recordList.length > 0}}" class="standardList" style="padding-top: 0;">
<scroll-view scroll-y="{{true}}" enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" refresher-enabled="{{!isScrollTop}}" refresher-triggered="{{isTrigger}}" class="jobCenterActive" scroll-with-animation="true" scroll-into-view="{{siv}}" style="height:calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? (navigatorBarHeight + 151) : navigatorBarHeight + (!isFilterPage ? 103 : 95)}}px);"> <scroll-view scroll-y="{{true}}" enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" refresher-enabled="{{!isScrollTop}}" refresher-triggered="{{isTrigger}}" class="jobCenterActive" scroll-with-animation="true" scroll-into-view="{{siv}}" style="height:calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? (navigatorBarHeight + 151) : navigatorBarHeight + (!isFilterPage ? 103 : 95)}}px);">
<view x:if="{{recordList != null && recordList.length > 0}}" class style="padding-top: 0;"> <view x:if="{{recordList != null && recordList.length > 0}}" class style="padding-top: 10px;">
<job-sub storeJobListSearchForm="{{storeJobListSearchForm}}" bindcollectPaste="collectPaste" bindgetUserInfoBtn="getUserInfoBtn" recordList="{{recordList}}" isLogin="{{isLogin}}" agencyStatus="{{agencyStatus}}" hasUserInfo="{{hasUserInfo}}"></job-sub> <job-sub storeJobListSearchForm="{{storeJobListSearchForm}}" bindcollectPaste="collectPaste" bindgetUserInfoBtn="getUserInfoBtn" recordList="{{recordList}}" isLogin="{{isLogin}}" agencyStatus="{{agencyStatus}}" hasUserInfo="{{hasUserInfo}}"></job-sub>
<block wx:if="{{(recordList == null || recordList.length == 0) && (storeJobListSearchForm.keys != null && storeJobListSearchForm.keys != '')}}"> <block wx:if="{{(recordList == null || recordList.length == 0) && (storeJobListSearchForm.keys != null && storeJobListSearchForm.keys != '')}}">
@ -248,7 +248,7 @@
<scroll-view scroll-y="{{true}}" enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" refresher-enabled="{{!isScrollTop}}" refresher-triggered="{{isTrigger}}" class="jobCenterActive" scroll-with-animation="true" scroll-into-view="{{siv}}" style="height:calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? (navigatorBarHeight + 151) : navigatorBarHeight + (!isFilterPage ? 103 : 95)}}px);"> <scroll-view scroll-y="{{true}}" enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" refresher-enabled="{{!isScrollTop}}" refresher-triggered="{{isTrigger}}" class="jobCenterActive" scroll-with-animation="true" scroll-into-view="{{siv}}" style="height:calc(100vh - {{selectBrandList.length > 0 || selectJobList.length > 0 || activez != 'all' || sexid != '-1' ? (navigatorBarHeight + 151) : navigatorBarHeight + (!isFilterPage ? 103 : 95)}}px);">
<view x:if="{{recordList != null && recordList.length > 0}}" class style="padding-top: 0;"> <view x:if="{{recordList != null && recordList.length > 0}}" class style="padding-top: 0;">
<view class="jcenter bgf br8"> <view class="jcenter bgf br8">
<view class="listcontainer" style="border-top: 1px solid #f3f3f3;"> <view class="listcontainer " style="border-top: 1px solid #f3f3f3;">
<view class="jobOne" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-item="{{item}}" data-id="{{item.id}}" data-index="{{index}}" bindtap="goDrawer" wx:key="index" hover-class="ahoverd" style="background-color:{{item.recruitment == '1' ? '#fff':'#f5f5f5'}};padding: 0;"> <view class="jobOne" hover-start-time="50" hover-stay-time="0" wx:for="{{recordList}}" data-item="{{item}}" data-id="{{item.id}}" data-index="{{index}}" bindtap="goDrawer" wx:key="index" hover-class="ahoverd" style="background-color:{{item.recruitment == '1' ? '#fff':'#f5f5f5'}};padding: 0;">
<view class="jobIn" style="border-bottom: 1px dashed #cccccc;padding: 12px 0;" hover-class="none"> <view class="jobIn" style="border-bottom: 1px dashed #cccccc;padding: 12px 0;" hover-class="none">
<image style="width: 80px;height: 80px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.state == 1 && item.recruitment == 2}}"></image> <image style="width: 80px;height: 80px;position: absolute;right: 100px;" src="http://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/tingzhao.svg" wx:if="{{item.state == 1 && item.recruitment == 2}}"></image>

@ -165,7 +165,7 @@ export function getWorkTypeById (id) {
*/ */
export function getGenderByMinAge (res) { export function getGenderByMinAge (res) {
console.log("==================", res); // console.log("==================", res);
let str = ""; let str = "";
if (res.minAgeMan && res.minAgeWoman) { if (res.minAgeMan && res.minAgeWoman) {
str = "男女不限"; str = "男女不限";
@ -1168,7 +1168,7 @@ export function setJobInfoPosition (pos) {
citys.push(i); citys.push(i);
} }
}); });
citys = citys.join(",").replace(/,/g, " | "); citys = citys.join(",").replace(/,/g, "");
return citys ; return citys ;
} }
/* /*
@ -1281,7 +1281,7 @@ export function disposeJobListData (recordList) {
item["salaryClassifyValue"] = getSalaryClassifyValue(item.salaryClassify, item.salaryClassifyValue); item["salaryClassifyValue"] = getSalaryClassifyValue(item.salaryClassify, item.salaryClassifyValue);
// x天前更新 // x天前更新
item["update"] = dateUtil.timeShowXXX2(item.updateTime); item["update"] = dateUtil.timeShowXXX2(item.updateTime);
console.log('item["update"]',item["update"]); // console.log('item["update"]',item["update"]);
item.genderRestrict = getGenderByMinAge(item); item.genderRestrict = getGenderByMinAge(item);
// //时薪 // //时薪
@ -1327,7 +1327,7 @@ export function disposeJobListData (recordList) {
//地址深圳丨龙岗区丨 //地址深圳丨龙岗区丨
let citys = setJobInfoPosition(item.storeDistrict); let citys = setJobInfoPosition(item.storeDistrict);
console.log('citys',citys); // console.log('citys',citys);
var districtStr = ""; var districtStr = "";
if (isNotEmptyCheck(item.district)) { if (isNotEmptyCheck(item.district)) {
var districtArr = item.district.split(","); var districtArr = item.district.split(",");

Loading…
Cancel
Save