本地测试开发分支(伯才工作)

cyl/dev
wangxia 1 year ago
parent c4d5bf2fef
commit c2bc17e099

@ -591,20 +591,16 @@ App({
wx.setClipboardData({ wx.setClipboardData({
data, data,
success (res) { success (res) {
wx.getClipboardData({ if (callBack) {
success (res) { callBack();
console.log(res.data); // data } else {
if (callBack) { console.log(123123123);
callBack(); wx.showToast({
} else { title: "内容已复制",
wx.showToast({ icon: "none",
title: "内容已复制", duration: 1500,
icon: "none", });
duration: 1500, }
});
}
},
});
}, },
}); });
} }

@ -76,7 +76,7 @@
<image class="mr4" style="width:20px;height:20px;display:block" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/fee.svg" mode="aspecFill" lazy-load="false"></image> <image class="mr4" style="width:20px;height:20px;display:block" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/fee.svg" mode="aspecFill" lazy-load="false"></image>
</view> </view>
<view class style="font-size:13px" wx:if="{{!isLogin}}" hover-class="none" hover-stop-propagation="false">登录查看</view> <view class style="font-size:13px" wx:if="{{!isLogin}}" hover-class="none" hover-stop-propagation="false">登录查看</view>
<view class style="font-size:13px" wx:else hover-class="none" hover-stop-propagation="false">{{agencyStatus == 1 ? (item.fuWuFei ? item.fuWuFei : '详询客服') : '仅代理可见'}}</view> <view class style="font-size:13px" wx:else hover-class="none" hover-stop-propagation="false">{{(item.picked || corpUserFlag) ? (agencyStatus == 1 ? (item.fuWuFei ? item.fuWuFei : '详询客服') : '仅代理可见') : '详询客服' }}</view>
</view> </view>
</view> </view>
</view> </view>

@ -171,7 +171,6 @@ Page({
}, },
showMessageCard: true, showMessageCard: true,
sendMessagePath: `/pages/detail/index.html?storeJobId=${this.data.searchForm.storeJobId}&agencyId=${app.globalData.loginUserInfo.agencyId}`, sendMessagePath: `/pages/detail/index.html?storeJobId=${this.data.searchForm.storeJobId}&agencyId=${app.globalData.loginUserInfo.agencyId}`,
// sendMessageTitle:'丸子吗喽你好呀',
// sendMessageImg:'../../assets/images/jbn.png', // sendMessageImg:'../../assets/images/jbn.png',
corpId: 'wwc227639d3a136c8d', corpId: 'wwc227639d3a136c8d',
success (res) { success (res) {
@ -896,8 +895,8 @@ Page({
} }
}); });
} else { } else {
commonUtil.fillTextLineBreak(ctx, '暂无特色', baseLeft + 12, line4 + 4, 400, 40, "#666", mainFontSize); // 标签字符 commonUtil.fillTextLineBreak(ctx, '暂无特色', baseLeft + 12, line4 + 4, 400, 40, "#666", mainFontSize); // 标签字符
commonUtil.roundRect1(ctx, baseLeft , line4 - 38, ctx.measureText('暂无特色').width + 24, 56, 8, "#00000012"); commonUtil.roundRect1(ctx, baseLeft, line4 - 38, ctx.measureText('暂无特色').width + 24, 56, 8, "#00000012");
} }
// 根据标签数量调整宣传标语位置 // 根据标签数量调整宣传标语位置
@ -1118,7 +1117,6 @@ Page({
fuWuFei: commonUtil.getReturnFeeTypeName1ById(result.record.returnFeeType, result.record.returnFee ? result.record.returnFee / 100 : ''), fuWuFei: commonUtil.getReturnFeeTypeName1ById(result.record.returnFeeType, result.record.returnFee ? result.record.returnFee / 100 : ''),
}); });
} }
console.log(result); console.log(result);
console.log(commonUtil); console.log(commonUtil);
let citys = commonUtil.setJobInfoPositionv3(result.record.storeAddr); let citys = commonUtil.setJobInfoPositionv3(result.record.storeAddr);
@ -1869,7 +1867,7 @@ Page({
// if (!this.data.isAgency) return false // if (!this.data.isAgency) return false
console.log('that.data.bclr', that.data.bclr); console.log('that.data.bclr', that.data.bclr);
let content, title let content, title
if (that.data.jobDetail.record.returnFeeDesp) { if (that.data.jobDetail.record.returnFeeDesp && (that.data.jobDetail.record.picked || that.data.corpUserFlag)) {
title = that.data.isAgency ? '佣金: ' + that.data.fuWuFei : '' title = that.data.isAgency ? '佣金: ' + that.data.fuWuFei : ''
content = that.data.isAgency ? that.data.jobDetail.record.returnFeeDesp : '抱歉,您需先成为伯才代理以获得使用权限。' content = that.data.isAgency ? that.data.jobDetail.record.returnFeeDesp : '抱歉,您需先成为伯才代理以获得使用权限。'

@ -40,7 +40,7 @@
<icon class="iconfont {{isServicePriceShow ? 'icon-zhengyan1' : 'icon-biyan1'}} ysd-base-f40 f22 h67 g_flex_column_center" color data-index="{{isServicePriceShow ? 1 : 2}}" wx:if="{{isAgency}}" catchtap="toggleprice" style="width: 67px;"></icon> <icon class="iconfont {{isServicePriceShow ? 'icon-zhengyan1' : 'icon-biyan1'}} ysd-base-f40 f22 h67 g_flex_column_center" color data-index="{{isServicePriceShow ? 1 : 2}}" wx:if="{{isAgency}}" catchtap="toggleprice" style="width: 67px;"></icon>
</view> </view>
<view class="fse h67" hover-class="none" hover-stop-propagation="false" style="flex: 1;"> <view class="fse h67" hover-class="none" hover-stop-propagation="false" style="flex: 1;">
<span class wx:if="{{isServicePriceShow && isAgency}}">{{fuWuFei || '详询客服'}}</span> <span class wx:if="{{isServicePriceShow && isAgency}}">{{ (jobDetail.record.picked || corpUserFlag) ? (fuWuFei || '详询客服') : '详询客服'}}</span>
<span class wx:else>***</span> <span class wx:else>***</span>
<view class="iconfont icon-you f14 c045 ml4" hover-class="none" hover-stop-propagation="false"></view> <view class="iconfont icon-you f14 c045 ml4" hover-class="none" hover-stop-propagation="false"></view>
</view> </view>
@ -127,8 +127,8 @@
</view> </view>
</view> </view>
<view wx:if="{{corpUserFlag}}" class="fss ysd-base-color" data-content="{{jobDetail.record.jobName+'@'+jobDetail.record.supplier.supplierName}}" catchtap="getJobName"> <view wx:if="{{corpUserFlag}}" class="fss ysd-base-color" data-content="{{jobDetail.record.jobName+'@'+jobDetail.record.supplier.supplierName}}" catchtap="getJobName">
<view class="iconfont icon-fuzhi mr4" style=""></view> <view class="iconfont icon-fuzhi mr4" style></view>
<span class="f14 biggerSize">复制</span> <span class="f14 biggerSize">复制</span>
</view> </view>
</view> </view>
</view> </view>

@ -14,6 +14,13 @@ Page({
toped: "1", toped: "1",
jobNum: 0, // 48小时更新职位数 jobNum: 0, // 48小时更新职位数
currCode: '', currCode: '',
filterStatus: {
unset_tagArray0: true,
unset_tagArray1: true,
unset_tagArray2: true,
unset_tagArray3: true,
unset_tagArray4: true,
},
tabGroup: [ tabGroup: [
{ {
name: '全部', name: '全部',
@ -31,7 +38,7 @@ Page({
picked: '0' picked: '0'
}, },
], ],
sortList:[ sortList: [
{ {
name: '综合排序', name: '综合排序',
key: 'zuigao', key: 'zuigao',
@ -48,13 +55,13 @@ Page({
anchorList: [ anchorList: [
{ {
id: 'age', id: 'age',
name: '年龄' name: '性别年龄'
},
{
id: 'gender',
name: '性别'
}, },
// { // {
// id: 'gender',
// name: '性别'
// },
// {
// id: 'class', // id: 'class',
// name: '分类' // name: '分类'
// }, // },
@ -226,25 +233,31 @@ Page({
*/ */
filterData: { filterData: {
sex: [{ sex: [
name: "男", {
id: 1, name: "不限",
active: 0, id: -1,
icon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nan912.png", active: -1,
selectIcon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nan912-1.png", },
}, {
{ name: "收男工",
name: "女", id: 1,
id: 2, active: 0,
active: 0, icon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nan912.png",
icon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nv912.png", selectIcon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nan912-1.png",
selectIcon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nv912-1.png", },
}, {
{ name: "收女工",
name: "男女不限", id: 2,
id: -1, active: 0,
active: -1, icon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nv912.png",
}, selectIcon: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/nv912-1.png",
},
{
name: "男女都收",
id: 3,
active: 0,
},
], ],
jobFilter: { jobFilter: {
tagArray0: [], tagArray0: [],
@ -350,8 +363,8 @@ Page({
fangdou: true, fangdou: true,
rangeValues: [16, 60], // 年龄筛选区间 rangeValues: [16, 60], // 年龄筛选区间
rangeSmartValues: [16, 60], // 年龄筛选区间 rangeSmartValues: [16, 60], // 年龄筛选区间
maxAge: 60, // 年龄区间最大取值 maxAge: '', // 年龄区间最大取值
minAge: 16, minAge: '',
salary: [10, 150], // 薪资筛选区间 salary: [10, 150], // 薪资筛选区间
minSalary: 10, minSalary: 10,
maxSalary: 150, maxSalary: 150,
@ -374,6 +387,12 @@ Page({
url: "/pages/login/index", url: "/pages/login/index",
}); });
}, },
observers: {
filterData: function (e) {
console.log('filterData.jobFilter.tagArray1', e);
// 在 numberA 或者 numberB 被设置时,执行这个函数
}
},
close () { close () {
let that = this; let that = this;
let brandList = that.data.brandList; let brandList = that.data.brandList;
@ -517,7 +536,6 @@ Page({
activez: str, activez: str,
}); });
}, },
watch () { },
witchNav (e) { witchNav (e) {
console.log(e); console.log(e);
if (!this.data.isLogin && e.currentTarget.dataset.title != "职教职培") { if (!this.data.isLogin && e.currentTarget.dataset.title != "职教职培") {
@ -581,11 +599,13 @@ Page({
// let str = that.data.sexid // let str = that.data.sexid
console.log(e); console.log(e);
let str = e.currentTarget.dataset.id; let str = e.currentTarget.dataset.id;
console.log(str); console.log('str,', str);
if (str == "1") { if (str == "1") {
that.data.secondMenu = "男生"; that.data.secondMenu = "收男工";
} else if (str == "2") { } else if (str == "2") {
that.data.secondMenu = "女生"; that.data.secondMenu = "收女工";
} else if (str == "3") {
that.data.secondMenu = "男女都收";
} else if (str == "-1") { } else if (str == "-1") {
that.data.secondMenu = "不限"; that.data.secondMenu = "不限";
} }
@ -1302,7 +1322,7 @@ Page({
// console.log("agencyUserId", agencyUserId); // console.log("agencyUserId", agencyUserId);
app.globalData.isCommission = 1; app.globalData.isCommission = 1;
} }
app.getLoginUserTokenInfo().then((res)=>{ app.getLoginUserTokenInfo().then((res) => {
console.log('res', app.globalData.loginUserInfo) console.log('res', app.globalData.loginUserInfo)
this.setData({ this.setData({
userInfo: app.globalData.loginUserInfo, userInfo: app.globalData.loginUserInfo,
@ -1451,7 +1471,8 @@ Page({
* *
*/ */
setActive (e) { setActive (e) {
// console.log(e); console.log(e);
let that = this
let data = e.currentTarget.dataset; let data = e.currentTarget.dataset;
if (data.type == "tattoo" || data.type == "sex" || data.type == "price") { if (data.type == "tattoo" || data.type == "sex" || data.type == "price") {
// console.log(data.id); // console.log(data.id);
@ -1480,7 +1501,10 @@ Page({
} }
} }
}); });
// console.log(this.data.filterData[data.type]); this.setData({
filterData: this.data.filterData,
})
console.log('this.data.filterData[data.type]', this.data.filterData[data.type]);
} else { } else {
this.data.filterData[data.type][data.arr].forEach((item) => { this.data.filterData[data.type][data.arr].forEach((item) => {
if (item.id == data.id) { if (item.id == data.id) {
@ -1491,11 +1515,31 @@ Page({
} }
} }
}); });
this.setData({
filterData: this.data.filterData,
}, () => {
// 数据更新后的回调
console.log('this.data.filterData[data.type]', that.data.filterData[data.type]);
that.data.filterStatus['unset_' + data.arr] = !that.data.filterData[data.type][data.arr].some(item => item.active != 0);
that.setData({
filterStatus: that.data.filterStatus
})
console.log('that.data.filterStatus', that.data.filterStatus);
});
} }
this.setData({ },
filterData: this.data.filterData, clearArray (e) {
}); let that = this
let data = e.currentTarget.dataset;
this.data.filterData.jobFilter[data.type].forEach((item) => {
item.active = 0
})
that.data.filterStatus['unset_' + data.type] = true
that.setData({
filterStatus: that.data.filterStatus,
filterData: that.data.filterData
})
}, },
/** /**
* 智能匹配标签的点击 * 智能匹配标签的点击
@ -1618,8 +1662,7 @@ Page({
this.data.selectJobList.forEach((item, index) => { this.data.selectJobList.forEach((item, index) => {
if (item.id == data.id) { if (item.id == data.id) {
this.data.selectJobList.splice(index, 1); this.data.selectJobList.splice(index, 1);
let ind = let ind = filter.jobFilter["tagArray" + data.typeClassify].indexOf(item);
filter.jobFilter["tagArray" + data.typeClassify].indexOf(item);
console.log(filter.jobFilter["tagArray" + data.typeClassify][ind]); console.log(filter.jobFilter["tagArray" + data.typeClassify][ind]);
filter.jobFilter["tagArray" + data.typeClassify][ind].active = 0; filter.jobFilter["tagArray" + data.typeClassify][ind].active = 0;
// let ind = filter.classifyList.indexOf(item); // let ind = filter.classifyList.indexOf(item);
@ -1628,9 +1671,11 @@ Page({
this.toList(); this.toList();
} }
}); });
this.data.filterStatus['unset_tagArray' + data.typeClassify] = !filter.jobFilter["tagArray" + data.typeClassify].some(item => item.active != 0)
this.setData({ this.setData({
selectJobList: this.data.selectJobList, selectJobList: this.data.selectJobList,
filterData: this.data.filterData, filterData: this.data.filterData,
filterStatus: this.data.filterStatus
}); });
} else { } else {
console.log('this.data.selectBrandList', this.data.selectBrandList); console.log('this.data.selectBrandList', this.data.selectBrandList);
@ -1658,11 +1703,11 @@ Page({
deleteAge (e) { deleteAge (e) {
console.log(e); console.log(e);
let that = this; let that = this;
that.data.storeJobListSearchForm.ageRangeStr = "16-60"; that.data.storeJobListSearchForm.ageRangeStr = "";
that.data.storeJobListSearchForm.pageNum = 1; that.data.storeJobListSearchForm.pageNum = 1;
this.setData({ this.setData({
minAge: 16, minAge: '',
maxAge: 60, maxAge: '',
rangeValues: [16, 60], rangeValues: [16, 60],
}); });
this.toList(); this.toList();
@ -1685,13 +1730,13 @@ Page({
this.data.storeJobListSearchForm.pageNum = 1; this.data.storeJobListSearchForm.pageNum = 1;
this.data.filterData.sex.forEach((item, index) => { this.data.filterData.sex.forEach((item, index) => {
item.active = 0; item.active = 0;
if (index == 2) { if (index == 0) {
item.active = -1; item.active = -1;
} }
}); });
this.data.smartObj.sex.forEach((item, index) => { this.data.smartObj.sex.forEach((item, index) => {
item.active = 0; item.active = 0;
if (index == 2) { if (index == 0) {
item.active = -1; item.active = -1;
} }
}); });
@ -1821,12 +1866,19 @@ Page({
this.setData({ this.setData({
selectJobList: [], selectJobList: [],
selectBrandList: [], selectBrandList: [],
filterStatus: {
unset_tagArray0: true,
unset_tagArray1: true,
unset_tagArray2: true,
unset_tagArray3: true,
unset_tagArray4: true,
},
// firstMenu: "工价", // firstMenu: "工价",
secondMenu: "不限", secondMenu: "不限",
sexid: -1, sexid: -1,
rangeValues: [16, 60], rangeValues: [16, 60],
maxAge: 60, maxAge: '',
minAge: 16, minAge: '',
// activez: "zuigao", // activez: "zuigao",
storeJobListSearchForm: this.data.storeJobListSearchForm, storeJobListSearchForm: this.data.storeJobListSearchForm,
}); });
@ -1834,13 +1886,20 @@ Page({
filterData = middleList; filterData = middleList;
this.setData({ this.setData({
selectJobList: [], selectJobList: [],
filterStatus: {
unset_tagArray0: true,
unset_tagArray1: true,
unset_tagArray2: true,
unset_tagArray3: true,
unset_tagArray4: true,
},
selectBrandList: [], selectBrandList: [],
// firstMenu: "工价", // firstMenu: "工价",
secondMenu: "不限", secondMenu: "不限",
sexid: -1, sexid: -1,
rangeValues: [16, 60], rangeValues: [16, 60],
maxAge: 60, maxAge: '',
minAge: 16, minAge: '',
// activez: "zuigao", // activez: "zuigao",
}); });
} }
@ -1869,7 +1928,7 @@ Page({
}, },
swiperToggleF () { swiperToggleF () {
this.setData({ this.setData({
isSwiper:true, isSwiper: true,
// inputVal:'' // inputVal:''
}) })
}, },
@ -1901,11 +1960,13 @@ Page({
} else if (k == "sex") { } else if (k == "sex") {
formSearch.sex = item.id; formSearch.sex = item.id;
if (item.id == -1) { if (item.id == -1) {
this.data.secondMenu = "不限"; this.data.secondMenu = "";
} else if (item.id == 1) { } else if (item.id == 1) {
this.data.secondMenu = "男生"; this.data.secondMenu = "收男工";
} else if (item.id == 2) { } else if (item.id == 2) {
this.data.secondMenu = "女生"; this.data.secondMenu = "收女工";
} else if (item.id == "3") {
that.data.secondMenu = "男女都收";
} }
this.setData({ this.setData({
sexid: item.id, sexid: item.id,
@ -1943,7 +2004,7 @@ Page({
that.data.storeJobListSearchForm = { that.data.storeJobListSearchForm = {
...that.data.storeJobListSearchForm, ...that.data.storeJobListSearchForm,
...formSearch, ...formSearch,
ageRangeStr: that.data.minAge + "-" + that.data.maxAge, ageRangeStr: that.data.minAge ? that.data.minAge + "-" + that.data.maxAge : '',
}; };
if (this.data.choiceCollect == 0) { if (this.data.choiceCollect == 0) {
that.data.storeJobListSearchForm.ucj = 0; that.data.storeJobListSearchForm.ucj = 0;
@ -1972,7 +2033,7 @@ Page({
pageNum: 1, pageNum: 1,
pageSize: 20, pageSize: 20,
sex: -1, sex: -1,
ageRangeStr: "16-60", ageRangeStr: "",
salaryRangeStr: "1000-15000", salaryRangeStr: "1000-15000",
}; };
let filter = this.data.smartObj; let filter = this.data.smartObj;
@ -2016,7 +2077,7 @@ Page({
that.data.storeJobListSearchForm = { that.data.storeJobListSearchForm = {
...that.data.storeJobListSearchForm, ...that.data.storeJobListSearchForm,
...formSearch, ...formSearch,
ageRangeStr: that.data.minAge + "-" + that.data.maxAge, // ageRangeStr: that.data.minAge + "-" + that.data.maxAge,
salaryRangeStr: minSalary + "-" + maxSalary, salaryRangeStr: minSalary + "-" + maxSalary,
}; };
if (this.data.choiceCollect == 0) { if (this.data.choiceCollect == 0) {
@ -2034,7 +2095,7 @@ Page({
pageNum: 1, pageNum: 1,
pageSize: 20, pageSize: 20,
sex: -1, sex: -1,
ageRangeStr: "16-60", ageRangeStr: "",
salaryRangeStr: "1000-15000", salaryRangeStr: "1000-15000",
}) ? }) ?
true : false, true : false,
@ -2093,8 +2154,8 @@ Page({
rangeValues: [16, 60], rangeValues: [16, 60],
secondMenu: "不限", secondMenu: "不限",
sexid: -1, sexid: -1,
maxAge: 60, maxAge: '',
minAge: 16, minAge: '',
salary: [10, 150], // 薪资筛选区间 salary: [10, 150], // 薪资筛选区间
minSalary: 10, minSalary: 10,
maxSalary: 150, maxSalary: 150,
@ -2776,6 +2837,7 @@ Page({
item.returnFeeType, item.returnFeeType,
item.returnFee / 100 item.returnFee / 100
); );
} else { } else {
item["fuWuFei"] = ""; item["fuWuFei"] = "";
} }
@ -4280,21 +4342,21 @@ Page({
collectChange (e) { collectChange (e) {
let that = this; let that = this;
// if (that.data.isLogin || (!that.data.isLogin && e.currentTarget.dataset.item.key == 0)) { // if (that.data.isLogin || (!that.data.isLogin && e.currentTarget.dataset.item.key == 0)) {
if (e.currentTarget.dataset.item) { if (e.currentTarget.dataset.item) {
let item = e.currentTarget.dataset.item let item = e.currentTarget.dataset.item
that.data.choiceCollect = item.key; that.data.choiceCollect = item.key;
// that.data.storeJobListSearchForm.ucj = e.currentTarget.dataset.id; // that.data.storeJobListSearchForm.ucj = e.currentTarget.dataset.id;
that.data.storeJobListSearchForm.sortTag = item.key; that.data.storeJobListSearchForm.sortTag = item.key;
that.data.storeJobListSearchForm.picked = item.picked; that.data.storeJobListSearchForm.picked = item.picked;
that.data.storeJobListSearchForm.pageNum = 1; that.data.storeJobListSearchForm.pageNum = 1;
that.setData({ that.setData({
choiceCollect: that.data.choiceCollect, choiceCollect: that.data.choiceCollect,
storeJobListSearchForm: that.data.storeJobListSearchForm, storeJobListSearchForm: that.data.storeJobListSearchForm,
recordList: [], recordList: [],
hasMoreData: true, hasMoreData: true,
}); });
that.getJobList(); that.getJobList();
} }
// } else { // } else {
// // if(e.currentTarget.dataset.id == 1){ // // if(e.currentTarget.dataset.id == 1){
// that.setData({ // that.setData({
@ -4428,7 +4490,7 @@ Page({
siv: "menu", siv: "menu",
}); });
}); });
} else if (str == "shijian"){ } else if (str == "shijian") {
that.setData({ that.setData({
firstMenu: "时间", firstMenu: "时间",
// storeJobListSearchForm: tha t.data.storeJobListSearchForm, // storeJobListSearchForm: tha t.data.storeJobListSearchForm,

@ -141,34 +141,39 @@
<view class="content"> <view class="content">
<span wx:for="{{filterData.classifyList}}" catchtap="setActive" wx:key="index" data-type="classifyList" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span> <span wx:for="{{filterData.classifyList}}" catchtap="setActive" wx:key="index" data-type="classifyList" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span>
</view> </view>
</view> --> </view>-->
<view class="sub" id="xzfl" hover-class="none" hover-stop-propagation="false"> <view class="sub" id="xzfl" hover-class="none" hover-stop-propagation="false">
<view class="title">薪资福利</view> <view class="title">薪资福利</view>
<view class="content"> <view class="content">
<span catchtap="clearArray" data-type="tagArray1" class="{{filterStatus.unset_tagArray1 ? 'active':''}}">不限</span>
<span wx:for="{{filterData.jobFilter.tagArray1}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray1" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span> <span wx:for="{{filterData.jobFilter.tagArray1}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray1" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span>
</view> </view>
</view> </view>
<view class="sub" id="ssbz" hover-class="none" hover-stop-propagation="false"> <view class="sub" id="ssbz" hover-class="none" hover-stop-propagation="false">
<view class="title">吃饭住宿</view> <view class="title">吃饭住宿</view>
<view class="content"> <view class="content">
<span catchtap="clearArray" data-type="tagArray3" class="{{filterStatus.unset_tagArray3 ? 'active':''}}">不限</span>
<span wx:for="{{filterData.jobFilter.tagArray3}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray3" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span> <span wx:for="{{filterData.jobFilter.tagArray3}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray3" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span>
</view> </view>
</view> </view>
<view class="sub" id="bzxx" hover-class="none" hover-stop-propagation="false"> <view class="sub" id="bzxx" hover-class="none" hover-stop-propagation="false">
<view class="title">班制休息</view> <view class="title">班制休息</view>
<view class="content"> <view class="content">
<span catchtap="clearArray" data-type="tagArray0" class="{{filterStatus.unset_tagArray0 ? 'active':''}}">不限</span>
<span wx:for="{{filterData.jobFilter.tagArray0}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray0" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span> <span wx:for="{{filterData.jobFilter.tagArray0}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray0" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span>
</view> </view>
</view> </view>
<view class="sub" id="msts" hover-class="none" hover-stop-propagation="false"> <view class="sub" id="msts" hover-class="none" hover-stop-propagation="false">
<view class="title">面试特色</view> <view class="title">面试特色</view>
<view class="content"> <view class="content">
<span catchtap="clearArray" data-type="tagArray4" class="{{filterStatus.unset_tagArray4 ? 'active':''}}">不限</span>
<span wx:for="{{filterData.jobFilter.tagArray4}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray4" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span> <span wx:for="{{filterData.jobFilter.tagArray4}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray4" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span>
</view> </view>
</view> </view>
<view class="sub" id="qtts" hover-class="none" hover-stop-propagation="false"> <view class="sub" id="qtts" hover-class="none" hover-stop-propagation="false">
<view class="title">其他特色</view> <view class="title">其他特色</view>
<view class="content"> <view class="content">
<span catchtap="clearArray" data-type="tagArray2" class="{{filterStatus.unset_tagArray2 ? 'active':''}}">不限</span>
<span wx:for="{{filterData.jobFilter.tagArray2}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray2" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span> <span wx:for="{{filterData.jobFilter.tagArray2}}" catchtap="setActive" wx:key="index" data-type="jobFilter" data-arr="tagArray2" data-id="{{item.id}}" class="{{item.active ? 'active':''}}" hover-class="none" hover-stop-propagation="false">{{item.name}}</span>
</view> </view>
</view> </view>
@ -232,7 +237,7 @@
</view> </view>
</view>--> </view>-->
<!-- </view> --> <!-- </view> -->
<view class="fss" style="width:100vw" hover-class="none" hover-stop-propagation="false" wx:if="{{selectBrandList.length > 0 || selectJobList.length > 0 || sexid != '-1' ||(storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != '16-60')}}"> <view class="fss" style="width:100vw" hover-class="none" hover-stop-propagation="false" wx:if="{{selectBrandList.length > 0 || selectJobList.length > 0 || sexid != '-1' ||(storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != '')}}">
<scroll-view class="filterTag bt1" scroll-x="{{true}}" scroll-y="{{false}}" enable-flex> <scroll-view class="filterTag bt1" scroll-x="{{true}}" scroll-y="{{false}}" enable-flex>
<view class="fss" hover-class="none" hover-stop-propagation="false"> <view class="fss" 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">
@ -241,7 +246,7 @@
{{firstMenu}} {{firstMenu}}
</view> </view>
</view>--> </view>-->
<view class="tc genderTag f14 por" catchtap="deleteAge" style="min-width:60px" wx:if="{{ storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != '16-60'}}" hover-class="none" hover-stop-propagation="false"> <view class="tc genderTag f14 por" catchtap="deleteAge" style="min-width:60px" wx:if="{{ storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != ''}}" hover-class="none" hover-stop-propagation="false">
<view class="por" hover-class="none" hover-stop-propagation="false"> <view class="por" hover-class="none" hover-stop-propagation="false">
<view class="clear_icon iconfont icon-qingchu1"></view> <view class="clear_icon iconfont icon-qingchu1"></view>
{{maxAge == minAge ? maxAge + '岁' : storeJobListSearchForm.ageRangeStr + (maxAge == 60 ? '+' : '')}} {{maxAge == minAge ? maxAge + '岁' : storeJobListSearchForm.ageRangeStr + (maxAge == 60 ? '+' : '')}}
@ -1076,7 +1081,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="pabtm" wx:if="{{!whichOneShow && true}}" style="top:{{(systemInfo.windowHeight - 200)}}px"> <view class="pabtm" wx:if="{{!whichOneShow && false}}" style="top:{{(systemInfo.windowHeight - 200)}}px">
<!-- <view class="typeChange" catchtap="choosenTop" data-id="{{toped == 2 ? 1 : 2}}" hover-class="none" hover-stop-propagation="false"> <!-- <view class="typeChange" catchtap="choosenTop" data-id="{{toped == 2 ? 1 : 2}}" hover-class="none" hover-stop-propagation="false">
<image class style="border-radius: 70px;width:36px;height:28px;display:{{toped == 1 ? 'block' : 'none'}}" src="{{'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/biao1.svg'}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image> <image class style="border-radius: 70px;width:36px;height:28px;display:{{toped == 1 ? 'block' : 'none'}}" src="{{'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/biao1.svg'}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>
<image class style="border-radius: 70px;width:36px;height:28px;display:{{toped == 2 ? 'block' : 'none'}}" src="{{'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/jian1.svg'}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image> <image class style="border-radius: 70px;width:36px;height:28px;display:{{toped == 2 ? 'block' : 'none'}}" src="{{'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/jian1.svg'}}" mode="aspectFit|aspectFill|widthFix" binderror bindload></image>

@ -1,6 +1,6 @@
/* pages/message/index.wxss */ /* pages/message/index.wxss */
.container{ .container{
padding-top: 10px; padding: 10px;
} }
.noticImg{ .noticImg{
width: 48px; width: 48px;

@ -1,15 +1,98 @@
// subPage/todayBill/index.js // subPage/todayBill/index.js
const app = getApp()
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
text: `【泰州LG冰箱】 text: `伯才【在招】企业 3月7日
🚻 18-48 18-45黑户纹身不在明处都可以案底卡的不严身份证有效期内临时消磁均可
💰 底薪2490元+成果工资+夜班津贴15元/+特殊岗位津贴0-200+加班工资加班费 平时1.5倍21.47/周末2倍28.62/法定假日3倍42.93/综合工资5300~8000 1[红包] 中牟零食厂
发薪时间28号发放上月20号到当月19号工资工作不满七天无工资 工价180/ 18-50
📣 1. 三餐免费365天不上班也免费2. 免费提供住宿住宿人员班车免费接送3. 主要生产冰箱及冰箱用压缩机工作简单易操作详情咨询15936360682` 代理共300元
2[红包] 港区优质长白班
工价3500-4500/ 25-50
代理500/
3[红包] 港区南港长白班电子厂
工价4000-5500/ 18-45
代理300/
4[红包] 郑州九龙仪表盘厂小时工
工价184/男女 18-40
代理1.5/小时
5[红包] 郑州地铁安检员
工价5400-7350/男女 18-33
代理35/
6[红包] 郑州康师傅
工价170/男女 18-45
代理20/
7[红包] 郑州思念食品
工价5500-8000/ 18-52
代理共1000元
8[红包] 郑州超压新材料
工价200/男女 22-45
代理200/
9[红包] 信阳鑫达辉电子厂
工价17/小时男女 16-40
代理1.5/小时
10[红包] 信阳采茶工日结工
工价150/男女 16-68
代理工人收入16%
11[红包] 新乡新飞电器
工价14/小时男女 18-53
代理1.5/小时
12[红包] 新乡新能源材料厂
工价17/小时 18-50
代理1.5/小时
13[红包] 新乡立白包装厂
工价135/男女 18-50
代理15/
14[红包] 薛店镇民族食品厂
工价180/男女 18-45
代理20/
15[红包] 洛阳翔通光电
工价5000-6000/男女 18-35
代理50/
16[红包] 洛阳中航富士达
工价15/小时男女 18-30
代理1/小时
17[红包] 鹤壁耕德小时工
工价17/小时男女 16-46
代理费用待定
18[红包] 太仓食品包装
工价6500-8000/男女 18-52
代理15/
19[红包] 常熟东南书本厂
工价5500-6000/ 25-40
代理500/
20[红包] 苏州华星外包
工价6200-7200/男女 18-40
代理500/
==这里一键看详单👇==
点击#小程序伯才供应链
点击#小程序伯才供应链
点击#小程序伯才供应链`
}, },
/** /**
@ -67,6 +150,19 @@ Page({
query.select('#copy' + item).context().exec((res) => { query.select('#copy' + item).context().exec((res) => {
console.log(res); console.log(res);
}); });
},
copyInfo (e) {
app.vibrateShort()
// wx.setClipboardData({
// data: this.data.text,
// success (res) {
// },
// });
app.copyFun(this.data.text, () => {
console.log(123123);
})
}, },
/** /**
* 用户点击右上角分享 * 用户点击右上角分享

@ -7,17 +7,17 @@
<view class> <view class>
<image class="avatarImg" src="{{'../../assets/images/chatAvatar.jpg'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image> <image class="avatarImg" src="{{'../../assets/images/chatAvatar.jpg'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
</view> </view>
<view class="ml12"> <view class="ml8">
<view class="userName f12 c9">{{'客服刘丽'}}</view> <view class="serviceName f12 c9">{{'客服刘丽'}}</view>
<view class="chatContent"> <view class="chatContent">
<view class="pb4" hover-class="none" hover-stop-propagation="false"> <view class="pb4" hover-class="none" hover-stop-propagation="false">
<view class="triangle"></view> <view class="triangle"></view>
<rich-text class="linefeed f18" user-select="{{true}}" nodes="{{text}}"></rich-text> <rich-text class="linefeed f18" style="line-height:1.4" user-select="{{true}}" nodes="{{text}}"></rich-text>
</view> </view>
<view class="bt1 c6 pt8 pb8 fss f14"> </view>
<view class="copy"> <view class="pt8 fse f14">
<i class="iconfont icon-file-copy"></i>复制 <view class="copy" hover-class="thover" bindtap="copyInfo" data-info="{{item}}">
</view> <i class="iconfont icon-file-copy"></i>复制
</view> </view>
</view> </view>
</view> </view>

@ -1,5 +1,5 @@
/* subPage/todayBill/index.wxss */ /* subPage/todayBill/index.wxss */
.container { .container{
padding: 0 0 120px 16px; padding: 0 0 120px 16px;
} }
.timeTitle { .timeTitle {
@ -13,24 +13,24 @@
z-index: 999; z-index: 999;
/* background: #f5f5f5; */ /* background: #f5f5f5; */
} }
.sub { .sub{
/* margin-right: 58px; */ /* margin-right: 58px; */
} }
.avatarImg { .avatarImg {
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 8px; border-radius:4px;
} }
.chatContent { .chatContent {
position: relative; position: relative;
background-color: #fff; background-color: #95ec69;
padding: 12px 16px 0 16px; padding: 12px 16px ;
/* margin-left: 16px; */ /* margin-left: 16px; */
border-radius: 4px; border-radius: 4px;
} }
.userName { .serviceName{
line-height: 1; line-height: 1;
margin-bottom: 8px; margin-bottom: 4px;
} }
.triangle { .triangle {
position: absolute; position: absolute;
@ -39,11 +39,11 @@
width: 0; width: 0;
height: 0; height: 0;
border: 8px solid transparent; border: 8px solid transparent;
border-right: 12px solid #fff; border-right: 12px solid #95ec69;
} }
.copy { .copy {
padding: 1px 4px; padding: 1px 4px;
border-radius: 8px; border-radius: 4px;
background-color: #1890ff26; background-color: #1890ff26;
color: #1890ff; color: #1890ff;
} }

@ -1173,33 +1173,47 @@ export function setJobInfoPosition (pos) {
} }
export function setJobInfoPositionv3 (str) { export function setJobInfoPositionv3 (str) {
var reg = /.+?(省|市|自治区|自治州|县|区)/g; // 省市区的正则 var reg = /.+?(省|市|自治区|自治州|县|区)/g; // 省市区的正则
let matches = str.match(reg);
let result = ''; let result = '';
if (str) {
if (str.match(reg)) { if (matches && matches.length > 0) {
if (str.match(reg).length == 1) { switch (matches.length) {
result = str.match(reg)[0]; case 1:
} else if (str.match(reg).length == 2) { result = matches[0];
result = str break;
.match(reg) case 2:
.map((item) => { if (matches[0].includes('省') || matches[0].includes('自治区') || matches[0].includes('自治州')) {
return item; result = `${matches[0]}${matches[1]}`;
}) } else {
.join("丨"); result = `${matches[0]}${matches[1]}`;
} else if (str.match(reg).length == 3) { }
result = str break;
.match(reg) case 3:
.filter((item, index) => { if (matches[0].includes('省') || matches[0].includes('自治区') || matches[0].includes('自治州')) {
return item; if (matches[1].includes('市') && matches[2].includes('市')) {
}) result = `${matches[0]}${matches[2]}`;
.join("丨"); } else {
} if (matches[2].includes('县')) {
} else { result = `${matches[0]}${matches[2]}`;
result = str; } else {
result = `${matches[0]}${matches[1]}`;
}
}
} else if (matches[1].includes('市')) {
result = `${matches[0]}${matches[2]}`;
} else {
result = `${matches[1]}${matches[2]}`;
}
break;
default:
result = str;
break;
} }
return result;
} else { } else {
return ''; result = str;
} }
return result;
} }
/* /*
处理详情地址 处理详情地址

Loading…
Cancel
Save