no message

cyl/job_im
jscyl13849007907 12 hours ago
parent 53a466df7d
commit 9196e7aead

@ -63,7 +63,8 @@
<view v-if="type == 2"> <view v-if="type == 2">
<view v-if="itm.recordStatus == 1 && item.time == ''" <view v-if="itm.recordStatus == 1 && item.time == ''"
class="g_fs_14 g_c_6 g_bg_f_5 g_pt_8 g_pb_8 g_pl_11 g_pr_11 g_radius_8" class="g_fs_14 g_c_6 g_bg_f_5 g_pt_8 g_pb_8 g_pl_11 g_pr_11 g_radius_8"
>查看</view> @click.stop="handleTongguo(itm,item)"
>通过</view>
<view v-if="itm.recordStatus == 1 && item.time == '三天前'" class="g_fs_14 g_c_9"></view> <view v-if="itm.recordStatus == 1 && item.time == '三天前'" class="g_fs_14 g_c_9"></view>
<view v-if="itm.recordStatus == 2" class="g_fs_14 g_c_9"></view> <view v-if="itm.recordStatus == 2" class="g_fs_14 g_c_9"></view>
</view> </view>
@ -165,6 +166,22 @@
that.loading = false; 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){ goPage($itm,$item){
let that = this; let that = this;
console.log('当前行点击事件:',$itm) console.log('当前行点击事件:',$itm)

@ -73,17 +73,14 @@
</view> </view>
</view> </view>
<view class="g_mt_12"> <view class="g_mt_12">
<view class="g_flex_row_center g_mb_12" style="color: rgba(0, 0, 0, 0.45)"> <view class="g_fs_12 g_c_9 g_flex_row_center g_mb_12" style="align-items: center;">
<u-checkbox-group @change="radioGroupChange" shape="circle"> <radio-group class="dib">
<u-checkbox v-model="agreeRadio" name="agree" active-color="#00b666"> <radio :checked="switchChecked" @click="switchChange" value="0" class="dib biggerSize" :color="activeColor" style="transform: scale(0.7)" />
<view class="g_flex_row_center g_fs_12"> </radio-group>
<view>我已阅读并同意</view> 我已阅读并同意
<view @click.stop="goPage('/root/person/agreeUser')" style="color: #576b95">;">用户协议</view> <navigator url="/root/person/agreeUser" class="aLink" style="color: #576b95;">用户协议</navigator>
<view></view>
<view @click.stop="goPage('/root/person/agreePrive')" style="color: #576b95">;">隐私政策</view> <navigator url="/root/person/agreePrive" class="aLink" style="color: #576b95;">隐私政策</navigator>
</view>
</u-checkbox>
</u-checkbox-group>
</view> </view>
<view class="g_h_84"></view> <view class="g_h_84"></view>
<g-panel-fixed> <g-panel-fixed>
@ -209,6 +206,7 @@ export default {
}, },
data() { data() {
return { return {
activeColor:getApp().globalData.themeColor,
detailRes: {}, detailRes: {},
IS_CREATOR: false, IS_CREATOR: false,
jobType: 2, jobType: 2,
@ -234,7 +232,7 @@ export default {
interviewTimeStr: "", interviewTimeStr: "",
}, },
persenInfo: [], persenInfo: [],
agreeRadio: ["agree"], switchChecked: false,
jobData: [], jobData: [],
zhengceTextList: [], zhengceTextList: [],
btnLoading: false, btnLoading: false,
@ -351,7 +349,9 @@ export default {
// this.info.address = e; // this.info.address = e;
this.$forceUpdate(); this.$forceUpdate();
}, },
radioGroupChange(e) {}, switchChange() {
this.switchChecked = !this.switchChecked;
},
goReturn() { goReturn() {
uni.navigateBack(); uni.navigateBack();
}, },
@ -402,10 +402,10 @@ export default {
handleClickMobile() {}, handleClickMobile() {},
submitForm() { submitForm() {
let that = this; let that = this;
if (!that.agreeRadio) { if (!that.switchChecked) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请阅读协议", title: "请先同意用户及隐私协议",
}); });
return false; return false;
} }
@ -576,5 +576,18 @@ export default {
.text-wrap { .text-wrap {
white-space: pre-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%);
}
} }
</style> </style>

Loading…
Cancel
Save