Browse Source

更新bug

master
tianyi 4 weeks ago
parent
commit
49b07fa9e8
  1. 18
      package1/myCenter/partTimeJobRegister.vue

18
package1/myCenter/partTimeJobRegister.vue

@ -147,7 +147,7 @@
<view <view
style="width: 120px;height: 140px;background: rgba(166, 255, 234, 1);margin: 10px auto;border-radius: 20px;text-align: center;"> style="width: 120px;height: 140px;background: rgba(166, 255, 234, 1);margin: 10px auto;border-radius: 20px;text-align: center;">
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/3a4e68eb14d7417cbb4f15fa85907c64.jpg" alt="" <img show-menu-by-longpress src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/d23a9043a8c24731831ec4db909fe3b4.jpg" alt=""
style="width: 90px;height: 90px;margin-top: 10px;" /> style="width: 90px;height: 90px;margin-top: 10px;" />
<view style="height: 25px;line-height: 25px;font-weight: 700;">关注公众号</view> <view style="height: 25px;line-height: 25px;font-weight: 700;">关注公众号</view>
</view> </view>
@ -407,13 +407,23 @@
let user = res.result; let user = res.result;
uni.setStorageSync('officialAccountOpenid',user.officialAccountOpenid) uni.setStorageSync('officialAccountOpenid',user.officialAccountOpenid)
if(user.officialAccountOpenid == null || user.officialAccountOpenid == '' || user.officialAccountOpenid == undefined){ if(user.officialAccountOpenid == null || user.officialAccountOpenid == '' || user.officialAccountOpenid == undefined){
uni.showToast({title: '您还没有关注公众号,关注公众号后可提现佣金'}); uni.showModal({
}else{ title: '提示',
content: '您还没有关注公众号,关注公众号后可提现佣金',
cancelText:'去关注',
confirmText:'暂时不用',
success: function (res) {
if (res.confirm) {
uni.showToast({title: '提交成功'}); uni.showToast({title: '提交成功'});
}
setTimeout(() => { setTimeout(() => {
uni.navigateBack(); uni.navigateBack();
}, 1500); }, 1500);
}
}
});
}else{
uni.showToast({title: '提交成功'});
}
} else { } else {
uni.showToast({title: res.message, icon: 'none'}); uni.showToast({title: res.message, icon: 'none'});
} }

Loading…
Cancel
Save