详情报名

master
wangxia 2 years ago
parent 71bbf8363f
commit 1628dadd3c

@ -4,8 +4,8 @@
page { page {
height: 100vh; height: 100vh;
background: #f5f5f5; background: #f5f5f5;
--color-ysd: #00B666; --color-ysd: #00b666;
--color-hover: #3393FF; --color-hover: #3393ff;
--color-be: #ff4400; --color-be: #ff4400;
--color-f40: #ff4400; --color-f40: #ff4400;
--color-027: #ff4400; --color-027: #ff4400;
@ -26,7 +26,7 @@ page {
.ysd-base-color { .ysd-base-color {
color: var(--color-ysd) !important; color: var(--color-ysd) !important;
} }
.color-f40{ .color-f40 {
color: var(--color-f40) !important; color: var(--color-f40) !important;
} }
.br8 { .br8 {
@ -122,10 +122,18 @@ page {
.pr16 { .pr16 {
padding-right: 16px; padding-right: 16px;
} }
.pl4{
padding-left: 4px;
}
.pl16 { .pl16 {
padding-left: 16px; padding-left: 16px;
} }
.pl32 {
padding-left: 32px;
}
.pr32 {
padding-right: 32px;
}
.pb12 { .pb12 {
padding-bottom: 12px; padding-bottom: 12px;
} }
@ -153,7 +161,7 @@ page {
.p1612 { .p1612 {
padding: 16px 12px; padding: 16px 12px;
} }
.pb10{ .pb10 {
padding-bottom: 10px; padding-bottom: 10px;
} }
.ml10 { .ml10 {
@ -368,7 +376,9 @@ page {
.mt32 { .mt32 {
margin-top: 32px !important; margin-top: 32px !important;
} }
.mb24 {
margin-bottom: 24px;
}
.f11 { .f11 {
font-size: 11px; font-size: 11px;
} }
@ -376,7 +386,9 @@ page {
.f12 { .f12 {
font-size: 12px; font-size: 12px;
} }
.f15 {
font-size: 15px !important;
}
.f16 { .f16 {
font-size: 16px !important; font-size: 16px !important;
} }
@ -811,6 +823,11 @@ button::after {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.fss {
display: flex;
align-items: center;
justify-content: start;
}
.fsc { .fsc {
display: flex; display: flex;
/* flex-direction: column; */ /* flex-direction: column; */
@ -964,7 +981,7 @@ button::after {
} }
.mr16 { .mr16 {
margin-right: 16px; margin-right: 16px !important;
} }
.ml16 { .ml16 {
@ -1969,7 +1986,7 @@ page {
*/ */
.contact { .contact {
width: 80%; width: 80%;
height: 350px; min-height: 350px;
} }
.contact .contact_bottomBtn .v-center { .contact .contact_bottomBtn .v-center {
width: 80px !important; width: 80px !important;
@ -1995,3 +2012,31 @@ page {
padding: 0; padding: 0;
width: 100%; width: 100%;
} }
/* 按钮样式 */
.normalBtn {
display: inline-block;
border-radius: 18px;
font-size: 16px;
font-weight: 601;
padding: 0;
height: 36px;
box-sizing: border-box;
margin: 0;
}
button.bgBtn {
color: #ffffff;
background-color: var(--color-ysd);
line-height: 36px;
}
button.nobg_Btn {
color: var(--color-ysd);
border: 1px solid var(--color-ysd);
line-height: 34px;
}
/* 按钮样式 end */
/* 输入框默认显示样式 */
.input-placeholder{
color: #CCCCCC;
font-weight: normal;
}
/* 输入框默认显示样式 end */

@ -6,7 +6,7 @@ var qqmapsdk;
Page({ Page({
data: { data: {
isLogin:false, isLogin: false,
statusBarHeight: wx.getStorageSync("statusBarHeight"), // 状态栏高度 statusBarHeight: wx.getStorageSync("statusBarHeight"), // 状态栏高度
navigationBarHeight: wx.getStorageSync("navigationBarHeight"), // 导航栏高度 navigationBarHeight: wx.getStorageSync("navigationBarHeight"), // 导航栏高度
@ -14,7 +14,7 @@ Page({
menuButtonHeight: wx.getStorageSync("menuButtonHeight"), // 胶囊按钮高度 menuButtonHeight: wx.getStorageSync("menuButtonHeight"), // 胶囊按钮高度
menuButton: wx.getStorageSync("menuButtonInfo"), // 胶囊信息 menuButton: wx.getStorageSync("menuButtonInfo"), // 胶囊信息
backHeight:wx.getMenuButtonBoundingClientRect().top + (wx.getMenuButtonBoundingClientRect().height/2) +'px', backHeight: wx.getMenuButtonBoundingClientRect().top + (wx.getMenuButtonBoundingClientRect().height / 2) + 'px',
storeJobId: "", storeJobId: "",
iosDialog: false, iosDialog: false,
//职位ID //职位ID
@ -60,21 +60,22 @@ Page({
shareListImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/detail830-1.png", shareListImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/detail830-1.png",
shareDetailImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/posterbg1.1.png", shareDetailImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/posterbg1.1.png",
posterImg: "", posterImg: "",
safeBottom:wx.getWindowInfo().screenHeight - wx.getWindowInfo().safeArea.height+'px', safeBottom: wx.getWindowInfo().screenHeight - wx.getWindowInfo().safeArea.height + 'px',
fromScene:false, fromScene: false,
fromShoucangOrBaoming:'' fromShoucangOrBaoming: '',
recordBillShow: false
}, },
showdialog() { showdialog () {
this.setData({ this.setData({
iosDialog: true, iosDialog: true,
}); });
}, },
closeDialog() { closeDialog () {
this.setData({ this.setData({
iosDialog: false, iosDialog: false,
}); });
}, },
onShow() { onShow () {
var that = this; var that = this;
console.log(that.data.safeBottom); console.log(that.data.safeBottom);
@ -109,10 +110,10 @@ Page({
phoneDialog: false, phoneDialog: false,
}); });
}, },
wxLogin() { wxLogin () {
var that = this; var that = this;
wx.login({ wx.login({
success(res) { success (res) {
if (res.code) { if (res.code) {
that.setData({ that.setData({
wxCode: res.code, wxCode: res.code,
@ -123,7 +124,7 @@ Page({
}, },
}); });
}, },
showImage(e) { showImage (e) {
let resImg = e.currentTarget.dataset.src; let resImg = e.currentTarget.dataset.src;
var imgArr = []; var imgArr = [];
@ -140,7 +141,7 @@ Page({
}); });
}, },
renderToCanvas() { renderToCanvas () {
const p1 = this.widget.renderToCanvas({ wxml: wxml(that.data.wxml), style }); const p1 = this.widget.renderToCanvas({ wxml: wxml(that.data.wxml), style });
p1.then((res) => { p1.then((res) => {
console.log("container", res.layoutBox); console.log("container", res.layoutBox);
@ -148,7 +149,7 @@ Page({
console.log(res); console.log(res);
}); });
}, },
extraImage() { extraImage () {
var that = this; var that = this;
// return new Promise(function (resolve, reject) { // return new Promise(function (resolve, reject) {
that.widget.renderToCanvas({ wxml: wxml(that.data.wxml), style }).then((res1) => { that.widget.renderToCanvas({ wxml: wxml(that.data.wxml), style }).then((res1) => {
@ -162,17 +163,17 @@ Page({
}); });
// }); // });
}, },
onLoad(query) { onLoad (query) {
var that = this; var that = this;
// let systemInfo = wx.getSystemInfoSync(); // let systemInfo = wx.getSystemInfoSync();
// let rect = wx.getMenuButtonBoundingClientRect ? wx.getMenuButtonBoundingClientRect() : null; //胶囊按钮位置信息 // let rect = wx.getMenuButtonBoundingClientRect ? wx.getMenuButtonBoundingClientRect() : null; //胶囊按钮位置信息
// wx.getMenuButtonBoundingClientRect(); // wx.getMenuButtonBoundingClientRect();
// let navBarHeight = (function() { //导航栏高度 // let navBarHeight = (function() { //导航栏高度
// let gap = rect.top - systemInfo.statusBarHeight; //动态计算每台手机状态栏到胶囊按钮间距 // let gap = rect.top - systemInfo.statusBarHeight; //动态计算每台手机状态栏到胶囊按钮间距
// return 2 * gap + rect.height; // return 2 * gap + rect.height;
// })(); // })();
console.log((wx.getMenuButtonBoundingClientRect().top - wx.getWindowInfo().statusBarHeight) * 2 + wx.getMenuButtonBoundingClientRect().height + wx.getWindowInfo().statusBarHeight); console.log((wx.getMenuButtonBoundingClientRect().top - wx.getWindowInfo().statusBarHeight) * 2 + wx.getMenuButtonBoundingClientRect().height + wx.getWindowInfo().statusBarHeight);
@ -211,9 +212,9 @@ Page({
}, },
}); });
console.log(query); console.log(query);
if(app.isNotEmptyCheck(query.fromShoucangOrBaoming)){ if (app.isNotEmptyCheck(query.fromShoucangOrBaoming)) {
that.setData({ that.setData({
fromShoucangOrBaoming:query.fromShoucangOrBaoming fromShoucangOrBaoming: query.fromShoucangOrBaoming
}) })
} }
console.log("HHHHHHHHHHHHH" + query.storeJobId); console.log("HHHHHHHHHHHHH" + query.storeJobId);
@ -227,27 +228,27 @@ Page({
var sceneJson = commonUtil.sceneToJson(sceneStr); var sceneJson = commonUtil.sceneToJson(sceneStr);
console.log("sceneJson===", sceneJson); console.log("sceneJson===", sceneJson);
let arr = sceneJson.i.split('_') let arr = sceneJson.i.split('_')
if(arr[0] > 0){ if (arr[0] > 0) {
wx.setStorageSync("applyUserId", arr[0]); wx.setStorageSync("applyUserId", arr[0]);
} }
if(arr[1] > 0){ if (arr[1] > 0) {
wx.setStorageSync("agencyId", arr[1]); wx.setStorageSync("agencyId", arr[1]);
app.globalData.agencyId = arr[1] app.globalData.agencyId = arr[1]
} }
if(arr[2] > 0){ if (arr[2] > 0) {
this.data.searchForm.storeJobId = arr[2]; this.data.searchForm.storeJobId = arr[2];
} }
// wx.setStorageSync("agencyId", sceneJson.agencyId); // wx.setStorageSync("agencyId", sceneJson.agencyId);
that.setData({ that.setData({
fromScene:true fromScene: true
}) })
} }
if(app.isNotEmptyCheck(query.from)){ if (app.isNotEmptyCheck(query.from)) {
that.setData({ that.setData({
fromScene:true fromScene: true
}) })
} }
@ -272,12 +273,12 @@ Page({
app.globalData.isCommission = 1; app.globalData.isCommission = 1;
} }
}, },
backIndex(){ backIndex () {
wx.switchTab({ wx.switchTab({
url: '../index/index', url: '../index/index',
}) })
}, },
searchAnimate() { searchAnimate () {
let that = this; let that = this;
wx.createSelectorQuery() wx.createSelectorQuery()
.select("#listBox") .select("#listBox")
@ -331,7 +332,7 @@ Page({
getAgencyInfo(job) { getAgencyInfo (job) {
var that = this; var that = this;
console.log(job); console.log(job);
console.log("打印基本信息"); console.log("打印基本信息");
@ -374,7 +375,7 @@ Page({
// return agencyStr + '\n' + objAgency.returnFeeDesp; // return agencyStr + '\n' + objAgency.returnFeeDesp;
} }
}, },
toMapChoice(e) { toMapChoice (e) {
var that = this; var that = this;
console.log(e); console.log(e);
try { try {
@ -421,13 +422,13 @@ Page({
// }, // },
// }); // });
// }, // },
changeMenu(e) { changeMenu (e) {
let currentIndex = parseInt(e.currentTarget.dataset.id); let currentIndex = parseInt(e.currentTarget.dataset.id);
this.setData({ this.setData({
currIndex: e.currentTarget.dataset.id, currIndex: e.currentTarget.dataset.id,
}); });
}, },
getLocation() { getLocation () {
var that = this; var that = this;
wx.getSetting({ wx.getSetting({
@ -436,7 +437,7 @@ Page({
if (res.authSetting.location) { if (res.authSetting.location) {
wx.getLocation({ wx.getLocation({
success(res1) { success (res1) {
console.log("获取位置"); console.log("获取位置");
console.log(res1); console.log(res1);
@ -448,7 +449,7 @@ Page({
that.getStoreJobDetailById(); that.getStoreJobDetailById();
}, },
fail() { fail () {
that.getStoreJobDetailById(); that.getStoreJobDetailById();
}, },
}); });
@ -501,7 +502,7 @@ Page({
// }) // })
// }, // },
getCanvas() { getCanvas () {
const that = this; const that = this;
return new Promise((resolve) => { return new Promise((resolve) => {
var mycenter = 0; //文字左右居中显示 var mycenter = 0; //文字左右居中显示
@ -518,7 +519,7 @@ Page({
// 绘制背景图片 // 绘制背景图片
wx.getImageInfo({ wx.getImageInfo({
src: that.data.img, //网络图片,如果不行请换一个 src: that.data.img, //网络图片,如果不行请换一个
success(res) { success (res) {
console.log(res); console.log(res);
var width = res.width; var width = res.width;
var height = res.height; var height = res.height;
@ -549,7 +550,7 @@ Page({
.then(function () { .then(function () {
wx.canvasToTempFilePath({ wx.canvasToTempFilePath({
canvas: canvas, canvas: canvas,
success(res) { success (res) {
console.log(res); console.log(res);
that.setData({ that.setData({
canvasImg: res.tempFilePath, canvasImg: res.tempFilePath,
@ -560,7 +561,7 @@ Page({
}, },
}); });
}) })
.catch((err) => {}); .catch((err) => { });
}); });
}); });
}, },
@ -570,7 +571,7 @@ Page({
// query: "?storeJobId=" + this.data.storeJobId, // query: "?storeJobId=" + this.data.storeJobId,
// }; // };
// }, // },
getCanvas() { getCanvas () {
const that = this; const that = this;
return new Promise((resolve) => { return new Promise((resolve) => {
@ -588,7 +589,7 @@ Page({
// 绘制背景图片 // 绘制背景图片
wx.getImageInfo({ wx.getImageInfo({
src: that.data.shareDetailImg, //网络图片,如果不行请换一个 src: that.data.shareDetailImg, //网络图片,如果不行请换一个
success(res) { success (res) {
console.log(res); console.log(res);
var width = res.width; var width = res.width;
var height = res.height; var height = res.height;
@ -648,7 +649,7 @@ Page({
// 恢复之前保存的绘图上下文 // 恢复之前保存的绘图上下文
ctx.restore(); ctx.restore();
}; };
function roundRect1(ctx, x, y, w, h, r, color) { function roundRect1 (ctx, x, y, w, h, r, color) {
//绘制圆角矩形(无填充色)) //绘制圆角矩形(无填充色))
ctx.save(); ctx.save();
ctx.fillStyle = color; ctx.fillStyle = color;
@ -719,7 +720,7 @@ Page({
console.log(that.data.jobDetail.store.logo); console.log(that.data.jobDetail.store.logo);
wx.downloadFile({ wx.downloadFile({
url: that.data.jobDetail.store.logo, //网络图片,如果不行请换一个 url: that.data.jobDetail.store.logo, //网络图片,如果不行请换一个
success(res) { success (res) {
console.log(res); console.log(res);
const img = canvas.createImage(); const img = canvas.createImage();
img.src = res.tempFilePath; img.src = res.tempFilePath;
@ -732,7 +733,7 @@ Page({
// } // }
}; };
}, },
fail(err){ fail (err) {
console.log(err); console.log(err);
} }
}); });
@ -743,14 +744,14 @@ Page({
.then(function () { .then(function () {
wx.canvasToTempFilePath({ wx.canvasToTempFilePath({
canvas: canvas, canvas: canvas,
success(res) { success (res) {
console.log(res); console.log(res);
that.setData({ that.setData({
canvasImg: res.tempFilePath, canvasImg: res.tempFilePath,
}); });
resolve(res); resolve(res);
}, },
fail(res) { fail (res) {
wx.hideLoading(); wx.hideLoading();
wx.showToast({ wx.showToast({
@ -772,7 +773,7 @@ Page({
* *
* *
*/ */
sharePoster() { sharePoster () {
wx.showLoading({ wx.showLoading({
title: "生成中...", title: "生成中...",
}); });
@ -787,16 +788,16 @@ Page({
// this.setData({ // this.setData({
// }); // });
}, },
hidePoster() { hidePoster () {
this.setData({ this.setData({
posterShow: false, posterShow: false,
}); });
}, },
saveToalbum() { saveToalbum () {
let that = this; let that = this;
wx.saveImageToPhotosAlbum({ wx.saveImageToPhotosAlbum({
filePath: that.data.posterImg, filePath: that.data.posterImg,
success(res) { success (res) {
console.log(res); console.log(res);
if (res.errMsg == "saveImageToPhotosAlbum:ok") { if (res.errMsg == "saveImageToPhotosAlbum:ok") {
wx.showToast({ wx.showToast({
@ -806,7 +807,7 @@ Page({
}); });
} }
}, },
fail(res) { fail (res) {
console.log(res); console.log(res);
wx.showToast({ wx.showToast({
title: "图片保存失败", title: "图片保存失败",
@ -816,18 +817,18 @@ Page({
}, },
}); });
}, },
goBack(){ goBack () {
if(this.data.fromScene){ if (this.data.fromScene) {
wx.switchTab({ wx.switchTab({
url: '../index/index', url: '../index/index',
}) })
}else{ } else {
wx.navigateBack({ wx.navigateBack({
delta: -1, delta: -1,
}) })
} }
}, },
getStoreJobDetailById() { getStoreJobDetailById () {
var that = this; var that = this;
wx.showLoading({ wx.showLoading({
title: "加载中...", title: "加载中...",
@ -970,7 +971,7 @@ Page({
console.log(commonUtil); console.log(commonUtil);
let citys = commonUtil.setJobInfoPosition(result.store.district); let citys = commonUtil.setJobInfoPosition(result.store.district);
// city = city.replace(/,/g, " | ") // city = city.replace(/,/g, " | ")
result.storeImage.splice(0,1) result.storeImage.splice(0, 1)
@ -1002,7 +1003,7 @@ Page({
}); });
}, },
showSexAge() { showSexAge () {
var that = this; var that = this;
var manStr = ""; var manStr = "";
var womanStr = ""; var womanStr = "";
@ -1039,7 +1040,7 @@ Page({
/** /**
* 处理后台返回的职位列表 * 处理后台返回的职位列表
*/ */
disposeJobListData(jobDetail) { disposeJobListData (jobDetail) {
var that = this; var that = this;
// item["workType"] = commonUtil.getWorkTypeById( // item["workType"] = commonUtil.getWorkTypeById(
@ -1128,20 +1129,20 @@ Page({
// jobDetail.storeJob['jobRequestLabelNames'] = that.getJobRequestLabelNamesArray(jobDetail.storeJob.jobRequestLabelNames); // jobDetail.storeJob['jobRequestLabelNames'] = that.getJobRequestLabelNamesArray(jobDetail.storeJob.jobRequestLabelNames);
// } // }
}, },
getJobSpecialLabelNamesArray(jobSpecialLabelNames) { getJobSpecialLabelNamesArray (jobSpecialLabelNames) {
if (app.isNotEmptyCheck(jobSpecialLabelNames)) { if (app.isNotEmptyCheck(jobSpecialLabelNames)) {
return jobSpecialLabelNames.split(", "); return jobSpecialLabelNames.split(", ");
} }
return []; return [];
}, },
getJobRequestLabelNamesArray(jobRequestLabelNames) { getJobRequestLabelNamesArray (jobRequestLabelNames) {
console.log(jobRequestLabelNames); console.log(jobRequestLabelNames);
if (app.isNotEmptyCheck(jobRequestLabelNames)) { if (app.isNotEmptyCheck(jobRequestLabelNames)) {
return jobRequestLabelNames.split(", "); return jobRequestLabelNames.split(", ");
} }
return []; return [];
}, },
goSimilar() { goSimilar () {
var that = this; var that = this;
console.log(that.data.jobDetail); console.log(that.data.jobDetail);
@ -1152,7 +1153,7 @@ Page({
}); });
}, },
makePhoneCall() { makePhoneCall () {
console.log(1); console.log(1);
var that = this; var that = this;
wx.makePhoneCall({ wx.makePhoneCall({
@ -1193,7 +1194,7 @@ Page({
// }); // });
// } // }
}, },
textPaste() { textPaste () {
var that = this; var that = this;
wx.setClipboardData({ wx.setClipboardData({
// data: that.data.jobDetail.assistantUserWechat, // data: that.data.jobDetail.assistantUserWechat,
@ -1210,7 +1211,7 @@ Page({
title: "已复制微信号", title: "已复制微信号",
content: "快去搜索添加经纪人好友吧", content: "快去搜索添加经纪人好友吧",
showCancel: false, showCancel: false,
success(res) { success (res) {
if (res.confirm) { if (res.confirm) {
console.log("用户点击确定"); console.log("用户点击确定");
} else if (res.cancel) { } else if (res.cancel) {
@ -1245,34 +1246,42 @@ Page({
}) })
},*/ },*/
hideModal () {
goNewEnroll(e) { this.setData({
recordBillShow: false
})
},
goNewEnroll (e) {
let that = this; let that = this;
// this.data.recordBillShow = true
this.setData({
recordBillShow: true
})
return
let argument; let argument;
argument = JSON.stringify(that.data.jobDetail.storeJob).replace(/\=|\&/g, "3D"); argument = JSON.stringify(that.data.jobDetail.storeJob).replace(/\=|\&/g, "3D");
if (!app.globalData.isLogin) { if (!app.globalData.isLogin) {
wx.setStorageSync("comeFromPage", "detailBaoming"); wx.setStorageSync("comeFromPage", "detailBaoming");
wx.setStorageSync("baomingDetail",argument); wx.setStorageSync("baomingDetail", argument);
wx.navigateTo({ wx.navigateTo({
url: "/pages/login/index", url: "/pages/login/index",
}); });
return; return;
} }
wx.navigateTo({ // wx.navigateTo({
url: `../newEnroll/enroll/index?applyType=1&info=${argument}`, // url: `../newEnroll/enroll/index?applyType=1&info=${argument}`,
}); // });
// wx.navigateTo({ // wx.navigateTo({
// url: `../newEnroll/enroll/index?applyType=1&info=${argument}`, // url: `../newEnroll/enroll/index?applyType=1&info=${argument}`,
// }); // });
}, },
emptyMethod() {}, emptyMethod () { },
wxLogin() { wxLogin () {
var that = this; var that = this;
wx.login({ wx.login({
success(res) { success (res) {
if (res.code) { if (res.code) {
that.setData({ that.setData({
wxCode: res.code, wxCode: res.code,
@ -1283,7 +1292,7 @@ Page({
}, },
}); });
}, },
getPhoneNumber(e) { getPhoneNumber (e) {
var that = this; var that = this;
console.log(e); console.log(e);
console.log(e.detail.errMsg); console.log(e.detail.errMsg);
@ -1302,7 +1311,7 @@ Page({
var iv = e.detail.iv; var iv = e.detail.iv;
var encryptedData = e.detail.encryptedData; var encryptedData = e.detail.encryptedData;
wx.checkSession({ wx.checkSession({
success() { success () {
//session_key 未过期,并且在本生命周期一直有效 //session_key 未过期,并且在本生命周期一直有效
wx.request({ wx.request({
url: app.globalData.ip + "/getWechatTel", url: app.globalData.ip + "/getWechatTel",
@ -1311,7 +1320,7 @@ Page({
iv: iv, iv: iv,
encryptedData: encryptedData, encryptedData: encryptedData,
type: "yishoudan", type: "yishoudan",
appId:app.globalData.appId appId: app.globalData.appId
}, },
success: function (res) { success: function (res) {
console.log(res); console.log(res);
@ -1354,10 +1363,10 @@ Page({
}, },
}); });
}, },
fail() { fail () {
// session_key 已经失效,需要重新执行登录流程 // session_key 已经失效,需要重新执行登录流程
wx.login({ wx.login({
success(res) { success (res) {
if (res.code) { if (res.code) {
console.log(res.code); console.log(res.code);
//发起网络请求 //发起网络请求
@ -1368,7 +1377,7 @@ Page({
iv: iv, iv: iv,
encryptedData: encryptedData, encryptedData: encryptedData,
type: "yishoudan", type: "yishoudan",
appId:app.globalData.appId appId: app.globalData.appId
}, },
success: function (res) { success: function (res) {
console.log(res); console.log(res);
@ -1432,7 +1441,7 @@ Page({
} }
return false; return false;
}, },
setCopy(e) { setCopy (e) {
var that = this; var that = this;
var contentInfo; var contentInfo;
const query = wx.createSelectorQuery().in(this); const query = wx.createSelectorQuery().in(this);
@ -1442,9 +1451,9 @@ Page({
contentInfo = res.dataset.info; contentInfo = res.dataset.info;
wx.setClipboardData({ wx.setClipboardData({
data: e.currentTarget.dataset.content + contentInfo, data: e.currentTarget.dataset.content + contentInfo,
success(res) { success (res) {
wx.getClipboardData({ wx.getClipboardData({
success(res) { success (res) {
console.log(res.data); // data console.log(res.data); // data
wx.showToast({ wx.showToast({
title: "内容已复制", title: "内容已复制",
@ -1458,13 +1467,13 @@ Page({
}) })
.exec(); .exec();
}, },
changeContact() { changeContact () {
console.log(2123); console.log(2123);
wx.navigateTo({ wx.navigateTo({
url: `/pages/configAnnunciate/index`, url: `/pages/configAnnunciate/index`,
}); });
}, },
collectPaste(e) { collectPaste (e) {
var txt; var txt;
var that = this; var that = this;
if (!this.data.isLogin) { if (!this.data.isLogin) {
@ -1491,7 +1500,7 @@ Page({
// }) // })
// } // }
}, },
doCollected(collected, storeJobId) { doCollected (collected, storeJobId) {
var that = this; var that = this;
var url = "/user/collect/job/add"; var url = "/user/collect/job/add";
if (collected - 1 == 0) { if (collected - 1 == 0) {
@ -1533,7 +1542,7 @@ Page({
}, },
}); });
}, },
toggleprice(type) { toggleprice (type) {
console.log(type); console.log(type);
if (type.target.dataset.index == 1) { if (type.target.dataset.index == 1) {
this.setData({ this.setData({
@ -1545,7 +1554,7 @@ Page({
}); });
} }
}, },
imageLoad() { imageLoad () {
this.setData({ this.setData({
isLoading: false, isLoading: false,
}); });
@ -1555,15 +1564,15 @@ Page({
* *
* *
*/ */
modalMove() { modalMove () {
return false; return false;
}, },
showTobe() { showTobe () {
this.setData({ this.setData({
iosDialogTobe: true, iosDialogTobe: true,
}); });
}, },
closeTobe() { closeTobe () {
this.setData({ this.setData({
iosDialogTobe: false, iosDialogTobe: false,
}); });

@ -1,26 +1,22 @@
<view class="bt1"> <view class="bt1">
<view class="navigatorBar" hover-class="none" style="padding-top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 2}}px" hover-stop-propagation="false"> <view class="navigatorBar" hover-class="none" style="padding-top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 2}}px" hover-stop-propagation="false">
<view class="goback iconfont icon-xiangzuo" bindtap='goBack' style="top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 2}}px"></view> <view class="goback iconfont icon-xiangzuo" bindtap="goBack" style="top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 2}}px"></view>
<view class="tabs daotian fw500" style="width:200px;text-align:center;overflow: hidden;text-overflow: ellipsis; white-space: nowrap;">{{jobDetail.storeJob.jobName}}</view> <view class="tabs daotian fw500" style="width:200px;text-align:center;overflow: hidden;text-overflow: ellipsis; white-space: nowrap;">{{jobDetail.storeJob.jobName}}</view>
</view> </view>
<scroll-view id="listBox" style="height: calc(100vh - 90px);padding-bottom: 30px;" scroll-y="{{true}}"> <scroll-view id="listBox" style="height: calc(100vh - 90px);padding-bottom: 30px;" scroll-y="{{true}}">
<view class="goback iconfont icon-xiangzuo noBack" bindtap='goBack' style="top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 2}}px"></view> <view class="goback iconfont icon-xiangzuo noBack" bindtap="goBack" style="top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 2}}px"></view>
<view class="page-section page-section-spacing swiper"> <view class="page-section page-section-spacing swiper">
<block wx:if="{{jobDetail.storeImage.length > 0}}" > <block wx:if="{{jobDetail.storeImage.length > 0}}">
<swiper indicator-dots="{{true}}" autoplay="{{true}}" interval="5000" duration="200"> <swiper indicator-dots="{{true}}" autoplay="{{true}}" interval="5000" duration="200">
<block wx:for="{{jobDetail.storeImage}}" wx:key="index"> <block wx:for="{{jobDetail.storeImage}}" wx:key="index">
<swiper-item> <swiper-item>
<image data-src="{{item.url}}" data-id="{{item.id}}" wx:if="{{item.isImg}}" src="{{item.url}}" mode="aspectFill" class="scrollImg" bindtap="showImage"></image> <image data-src="{{item.url}}" data-id="{{item.id}}" wx:if="{{item.isImg}}" src="{{item.url}}" mode="aspectFill" class="scrollImg" bindtap="showImage"></image>
<view class="videoContainer" data-id="{{item.id}}" hover-class="none" hover-stop-propagation="false" wx:if="{{!item.isImg && item.url}}" style="width:100%;height:100%"> <view class="videoContainer" data-id="{{item.id}}" hover-class="none" hover-stop-propagation="false" wx:if="{{!item.isImg && item.url}}" style="width:100%;height:100%">
<video class="theVideo" id="{{item.id}}" data-id="{{item.id}}" src="{{item.url}}" show-center-play-btn='{{false}}' show-fullscreen-btn="{{true}}" show-play-btn="{{true}}" controls> <video class="theVideo" id="{{item.id}}" data-id="{{item.id}}" src="{{item.url}}" show-center-play-btn="{{false}}" show-fullscreen-btn="{{true}}" show-play-btn="{{true}}" controls></video>
</video>
</view> </view>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
</block> </block>
<block wx:else> <block wx:else>
@ -28,24 +24,16 @@
</block> </block>
</view> </view>
<view class="p20 pt12 pb10" id="tocanvas">
<view class="p20 pt12 pb10" id="tocanvas">
<view class="v-center"> <view class="v-center">
<view class="jobTitle"> <view class="jobTitle">{{jobDetail.storeJob.jobName}}</view>
{{jobDetail.storeJob.jobName}}
</view>
</view> </view>
<view class="display-flex mt12"> <view class="display-flex mt12">
<view class="display-flex flex-1"> <view class="display-flex flex-1">
<!-- <view> <!-- <view>
<image class="tImage" wx:if="{{jobDetail.store.logo != null && jobDetail.store.logo != ''}}" mode="aspectFit" src="{{jobDetail.store.logo}}"></image> <image class="tImage" wx:if="{{jobDetail.store.logo != null && jobDetail.store.logo != ''}}" mode="aspectFit" src="{{jobDetail.store.logo}}"></image>
<image class="tImage" wx:else mode="aspectFit" src="https://matripe.oss-cn-beijing.aliyuncs.com/default.png"></image> <image class="tImage" wx:else mode="aspectFit" src="https://matripe.oss-cn-beijing.aliyuncs.com/default.png"></image>
</view> --> </view>-->
<view class="flex-1 vsb"> <view class="flex-1 vsb">
<view class="f14s c045 mb4"> <view class="f14s c045 mb4">
<!-- 深圳丨龙岗区丨16-35岁 --> <!-- 深圳丨龙岗区丨16-35岁 -->
@ -83,8 +71,8 @@
<view class="tagsLi" tyle="color:{{labelColor[index % labelColor.length]}};background-color:{{bgColor[index % bgColor.length]}};" wx:for="{{jobDetail.storeJob.jobRequestLabelNames}}" wx:for-item="item1" wx:key="index">{{item1}}</view> <view class="tagsLi" tyle="color:{{labelColor[index % labelColor.length]}};background-color:{{bgColor[index % bgColor.length]}};" wx:for="{{jobDetail.storeJob.jobRequestLabelNames}}" wx:for-item="item1" wx:key="index">{{item1}}</view>
</view> </view>
</view> </view>
</view> </view>
<view class="mg020 pb10 bb1 v-center" bindtap="toMapChoice" data-address="{{jobDetail}}"> <view class="mg020 pb10 bb1 v-center" bindtap="toMapChoice" data-address="{{jobDetail}}">
<view> <view>
<i class="iconfont icon-dizhi11 f18 mr10 lh1" style="color:#027AFF;"></i> <i class="iconfont icon-dizhi11 f18 mr10 lh1" style="color:#027AFF;"></i>
</view> </view>
@ -92,8 +80,8 @@
<view> <view>
<i class="iconfont icon-gengduo11 f14 ml18 dib pr c9" style="line-height:1;top:1px;"></i> <i class="iconfont icon-gengduo11 f14 ml18 dib pr c9" style="line-height:1;top:1px;"></i>
</view> </view>
</view> </view>
<view class="p020"> <view class="p020">
<view class="f14"> <view class="f14">
<block wx:if="{{currIndex == '1'}}"> <block wx:if="{{currIndex == '1'}}">
<view wx:if="{{jobDetail.storeJob.notes}}"> <view wx:if="{{jobDetail.storeJob.notes}}">
@ -284,7 +272,6 @@
</view> </view>
<view style="height: 40px;"></view> <view style="height: 40px;"></view>
</block> </block>
<block wx:if="{{currIndex == '2'}}"> <block wx:if="{{currIndex == '2'}}">
<view class="detailH3">面试</view> <view class="detailH3">面试</view>
@ -439,9 +426,8 @@
<view style="white-space: pre-line;"> {{djxx}}</view> <view style="white-space: pre-line;"> {{djxx}}</view>
</view> </view>
</view>--> </view>-->
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<view class="bottomBtn" style="padding-bottom:calc(constant(safe-area-inset-bottom) + 12px);padding-bottom:calc(env(safe-area-inset-bottom) + 12px);"> <view class="bottomBtn" style="padding-bottom:calc(constant(safe-area-inset-bottom) + 12px);padding-bottom:calc(env(safe-area-inset-bottom) + 12px);">
<view class="norecruit" wx:if="{{isMaskShow}}">该职位暂时停招</view> <view class="norecruit" wx:if="{{isMaskShow}}">该职位暂时停招</view>
@ -477,20 +463,69 @@
<button class="loginOut" type hover-class="none" style="background-color:#ccc;width: 260px;" hover-stop-propagation>已报名</button> <button class="loginOut" type hover-class="none" style="background-color:#ccc;width: 260px;" hover-stop-propagation>已报名</button>
</view> </view>
<view wx:else> <view wx:else>
<view class="" wx:if="{{fromScene}}"> <view class wx:if="{{fromScene}}">
<button class="loginOut wxBtn ysd-base-bgcolor" hover-class="loginBtnHov" bindtap="backIndex">返回首页</button> <button class="loginOut wxBtn ysd-base-bgcolor" hover-class="loginBtnHov" bindtap="backIndex">返回首页</button>
</view> </view>
<view class="" wx:if="{{!isMaskShow}}"> <view class wx:if="{{!isMaskShow}}">
<button type="primary" style="width: {{!fromScene ? '260px' :''}};" class="loginOut" bindtap="goNewEnroll">立即报名</button> <button type="primary" style="width: {{!fromScene ? '260px' :''}};" class="loginOut" bindtap="goNewEnroll">立即报名</button>
</view> </view>
<view class="" wx:else> <view class wx:else>
<button class="loginOut" type hover-class="none" style="background-color:#ccc;width: {{!fromScene ? '260px' :''}};" hover-stop-propagation>暂时停招</button> <button class="loginOut" type hover-class="none" style="background-color:#ccc;width: {{!fromScene ? '260px' :''}};" hover-stop-propagation>暂时停招</button>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="mask" wx:if="{{isMaskShow}}"></view> <view class="mask" wx:if="{{isMaskShow}}"></view>
<view aria-role="dialog" aria-modal="true" catchtouchmove="modalMove" class="fadeIn" wx:if="{{recordBillShow}}">
<view class="weui-mask" catchtap="hideModal"></view>
<view class="weui-dialog contact" style="box-sizing:border-box;">
<view class="mt24 f18 fw500 mb24">报名确认</view>
<view class="pl32">
<view class="fss">
<view class="mr16 f14">报名岗位</view>
<view class="fw500 f15">{{jobDetail.storeJob.jobName}}</view>
</view>
<view class="fss mt10">
<view class="mr16 f14">薪资待遇</view>
<view class="fw500 f15 cfred">{{jobDetail.storeJob.monthlyPay + '元/月'}}</view>
</view>
<view class="mt16 tal">
<view class="mr16 f14">
<text class="cfred">*</text>姓名
</view>
<view class="fw500 f15 fss por billInput">
<view class>
<input class="weui-input" type="text" name="userName" bindinput="bothwayBind" data-type="name" value="{{userInfo.name}}" placeholder="请输入姓名或称呼" placeholder-class="input-placeholder"/>
</view>
</view>
</view>
<view class="mt16 tal">
<view class="mr16 f14">
<text class="cfred">*</text>身份证
</view>
<view class="fw500 f15 fss por billInput">
<view class>
<input class="weui-input" type="text" name="userName" bindinput="bothwayBind" data-type="name" value="{{userInfo.name}}" placeholder="手动输入或拍照自动识别" />
</view>
<view class="t-icon t-icon-paizhao4 poa" style="right:12px" catchtap="chooseIdCard"></view>
</view>
</view>
<view class="mt16 tal">
<view class="mr16 f14">
<text class="cfred">*</text>联系电话
</view>
<view class="fw500 f15 fss por billInput">
<view class>
<input class="weui-input" type="text" name="userName" bindinput="bothwayBind" data-type="name" value="{{userInfo.name}}" placeholder="请输入联系电话" />
</view>
</view>
</view>
<view class="mt8 f11 tal cccc mb24 pl4" style="width:90%" hover-class="none" hover-stop-propagation="false">注意:不同的报名人如果填写同一个手机号,报名提交将会失败。</view>
</view>
<view class='fsa pl32 pr32 mb24' hover-class="none" hover-stop-propagation="false">
<button class="nobg_Btn normalBtn mr16" style type role="button" bindtap>我再想想</button>
<button class="bgBtn normalBtn" style type="primary" role="button" bindtap>确认报名</button>
</view>
</view>
</view>

@ -1,4 +1,4 @@
.goback { .goback {
position: absolute; position: absolute;
color: #000; color: #000;
left: 0px; left: 0px;
@ -14,23 +14,23 @@ page,
padding-bottom: 120px; padding-bottom: 120px;
background-color: #fff; background-color: #fff;
} }
.p14{ .p14 {
padding: 14px; padding: 14px;
} }
.mg020 { .mg020 {
margin: 0 20px; margin: 0 20px;
} }
.pb10{ .pb10 {
padding-bottom: 10px; padding-bottom: 10px;
} }
.desp-copy { .desp-copy {
color: #FF4400; color: #ff4400;
font-size: 12px; font-size: 12px;
float: right; float: right;
/* top: 11px; /* top: 11px;
right: 8px; right: 8px;
position: relative; */ position: relative; */
border: 1px solid #FF4400; border: 1px solid #ff4400;
border-radius: 25rpx; border-radius: 25rpx;
padding: 0px 8px; padding: 0px 8px;
height: 16px; height: 16px;
@ -56,7 +56,6 @@ page,
justify-content: start; justify-content: start;
} }
.servicePrice { .servicePrice {
border: 1rpx solid var(--color-ysd); border: 1rpx solid var(--color-ysd);
background-color: #ffeee7; background-color: #ffeee7;
@ -145,7 +144,9 @@ button::after {
margin: 12px 5px; margin: 12px 5px;
overflow: hidden; overflow: hidden;
} }
.scrollImg,swiper,.theVideo { .scrollImg,
swiper,
.theVideo {
width: 100vw; width: 100vw;
height: calc(100vw * 281 / 375); height: calc(100vw * 281 / 375);
/* position: absolute; /* position: absolute;
@ -189,7 +190,7 @@ button.loginOut {
width: 136px; width: 136px;
line-height: 36px; line-height: 36px;
height: 36px; height: 36px;
margin-right:16px; margin-right: 16px;
margin-left: 0; margin-left: 0;
background-color: var(--color-ysd); background-color: var(--color-ysd);
} }
@ -198,11 +199,11 @@ button.loginOut {
color: var(--color-ysd); color: var(--color-ysd);
border: 1px solid var(--color-ysd); border: 1px solid var(--color-ysd);
} }
.loginBtnHov{ .loginBtnHov {
background-color: var(--color-ysd) !important; background-color: var(--color-ysd) !important;
color: #fff !important; color: #fff !important;
} }
.bottomBox{ .bottomBox {
/* padding-bottom: 16px; */ /* padding-bottom: 16px; */
} }
.button-hover[type="primary"] { .button-hover[type="primary"] {
@ -417,14 +418,14 @@ button.collectBtn {
.navigatorBar { .navigatorBar {
position: relative; position: relative;
letter-spacing:1px; letter-spacing: 1px;
/* z-index: 999; */ /* z-index: 999; */
/* background-color: var(--color-ysd); */ /* background-color: var(--color-ysd); */
padding-bottom: 8px; padding-bottom: 8px;
} }
.navigatorBar { .navigatorBar {
position: absolute; position: absolute;
letter-spacing:1px; letter-spacing: 1px;
background-color: #fff; background-color: #fff;
padding-bottom: 8px; padding-bottom: 8px;
z-index: 999; z-index: 999;
@ -471,9 +472,9 @@ button.collectBtn {
color: #fff; color: #fff;
/* display: none; */ /* display: none; */
} }
.transparentBtn{ .transparentBtn {
background-color: transparent !important; background-color: transparent !important;
color: #FF4400 !important; color: #ff4400 !important;
} }
.drawerMask { .drawerMask {
position: fixed; position: fixed;
@ -561,5 +562,16 @@ button.collectBtn {
} }
.posterImg { .posterImg {
height: 75vh; height: 75vh;
width: calc(75vh * .52); width: calc(75vh * 0.52);
}
/* 报名弹窗相关 */
.billInput {
height: 40px;
width: 90%;
padding-left: 12px;
box-sizing: border-box;
background: #f9f9f9;
border-radius: 4px;
margin-top: 4px;
} }

@ -4,7 +4,7 @@
"urlCheck": false "urlCheck": false
}, },
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "signupAssistant", "projectname": "signupHelper",
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [

Loading…
Cancel
Save