diff --git a/app.js b/app.js index 4f30300..a97f3c1 100644 --- a/app.js +++ b/app.js @@ -1,8 +1,8 @@ App({ globalData: { userInfo: null, - // ip: 'https://test.renminshitang.com.cn/daotian/api_dev', - ip: "https://daotian.matripe.com.cn", + ip: 'https://test.renminshitang.com.cn/daotian/api_dev', + // ip: "https://daotian.matripe.com.cn", // ip: 'http://localhost:8001', sessionId: "", header: { diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 51581a1..746f473 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -295,16 +295,45 @@ {{item.jobName || item.aliasName}} - {{item.salaryClassifyValue}} + + + + 月薪 + + {{item.salaryClassifyValue}} - {{(item.citys && item.citys != '-') ? item.citys + ' | ' : ''}} - {{ item.distanceKm}} + {{(item.district && item.district != '-') ? item.district + ' | ' : ''}} + {{ item.distanceKm}} {{item.age}} + {{item.monthlyPay}} diff --git a/utils/commonUtil.js b/utils/commonUtil.js index 96fa341..f1e04ef 100644 --- a/utils/commonUtil.js +++ b/utils/commonUtil.js @@ -1014,6 +1014,7 @@ export function getSalaryClassifyValue(salaryClassify, salaryClassifyValue,month } else if (salaryClassify == 6) { return `面议`; } else if (salaryClassify == 7) { + // return `${monthlyPayStr}元/月`; return `${monthlyPayStr}元/月`; } else { // return '请配置薪资'; @@ -1271,7 +1272,7 @@ export function disposeJobListData(recordList) { } else if (isNotEmptyCheck(item.maxMonthlyPay)) { monthlyPayStr = item.maxMonthlyPay / 100; } - // console.log(monthlyPayStr); + console.log(monthlyPayStr); // } item["monthlyPay"] = monthlyPayStr; item["salaryClassifyValue"] = getSalaryClassifyValue(item.salaryClassify, item.salaryClassifyValue,monthlyPayStr);