diff --git a/root/bind/applyList.vue b/root/bind/applyList.vue index b7bf161..5df243f 100644 --- a/root/bind/applyList.vue +++ b/root/bind/applyList.vue @@ -63,7 +63,8 @@ 查看 + @click.stop="handleTongguo(itm,item)" + >通过 已过期 已通过 @@ -165,6 +166,22 @@ that.loading = false; }) }, + handleTongguo($itm,$item){ + let that = this; + that.G.Get( + that.api.bind_recordSubmit + "/" + $itm.id, + { + id: $itm.id, + }, + (res) => { + uni.showToast({ + title: "已通过验证", + success() {}, + }); + $itm.recordStatus = 2; + } + ); + }, goPage($itm,$item){ let that = this; console.log('当前行点击事件:',$itm) diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index 246d28d..5d4076c 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -73,17 +73,14 @@ - - - - - 我已阅读并同意 - ;">《用户协议》 - - ;">《隐私政策》 - - - + + + + + 我已阅读并同意 + 《用户协议》 + 及 + 《隐私政策》 @@ -208,38 +205,39 @@ export default { }, 1); }, data() { - return { - detailRes: {}, - IS_CREATOR: false, - jobType: 2, - currentJobInfo: {}, - cdnBaseImg: this.G.store().cdnBaseImg, - nation: nationlist.map((item, index) => { - return item.name; - }), - nationIndex: 0, - userTel: "", - info: { - name: "", - sex: "男", - age: "", - nation: "", - idCard: "", - address: "", - }, - updateInfo: { - jobId: 0, - jobName: "请选择报名职位", - desp: "", - interviewTimeStr: "", - }, - persenInfo: [], - agreeRadio: ["agree"], - jobData: [], - zhengceTextList: [], - btnLoading: false, - }; - }, + return { + activeColor:getApp().globalData.themeColor, + detailRes: {}, + IS_CREATOR: false, + jobType: 2, + currentJobInfo: {}, + cdnBaseImg: this.G.store().cdnBaseImg, + nation: nationlist.map((item, index) => { + return item.name; + }), + nationIndex: 0, + userTel: "", + info: { + name: "", + sex: "男", + age: "", + nation: "", + idCard: "", + address: "", + }, + updateInfo: { + jobId: 0, + jobName: "请选择报名职位", + desp: "", + interviewTimeStr: "", + }, + persenInfo: [], + switchChecked: false, + jobData: [], + zhengceTextList: [], + btnLoading: false, + }; + }, onShow() { let that = this; that.pageSpeed = -1; @@ -351,7 +349,9 @@ export default { // this.info.address = e; this.$forceUpdate(); }, - radioGroupChange(e) {}, + switchChange() { + this.switchChecked = !this.switchChecked; + }, goReturn() { uni.navigateBack(); }, @@ -402,10 +402,10 @@ export default { handleClickMobile() {}, submitForm() { let that = this; - if (!that.agreeRadio) { + if (!that.switchChecked) { uni.showToast({ icon: "none", - title: "请阅读协议", + title: "请先同意用户及隐私协议", }); return false; } @@ -576,5 +576,18 @@ export default { .text-wrap { white-space: pre-wrap; } + .biggerSize { + position: relative; + } + .biggerSize::after { + content: ""; + width: 80px; + height: 40px; + position: absolute; + left: 50%; + top: 100%; + z-index: 99; + transform: translate(-50%, -50%); + } }