wangfukang 3 weeks ago
parent
commit
c69cb98a54
  1. 9
      package2/login/login.vue
  2. 10
      package2/myCenter/partTimeJobRegister.vue

9
package2/login/login.vue

@ -204,6 +204,12 @@
this.tui.toast('需要绑定手机号后进入主页') this.tui.toast('需要绑定手机号后进入主页')
return return
} }
const token = uni.getStorageSync('hiver_token')
if (!token || token === 'null' || token === 'undefined') {
this.needPhoneAuth = false
this.tui.toast('登录态已失效,请重新登录')
return
}
this.phoneLoading = true this.phoneLoading = true
this.tui.request('/social/wechat/getPhone', 'POST', { this.tui.request('/social/wechat/getPhone', 'POST', {
@ -221,6 +227,9 @@
} }
this.enterHome() this.enterHome()
} else { } else {
if (res.code == 401) {
this.needPhoneAuth = false
}
this.tui.toast(res.message || '手机号绑定失败') this.tui.toast(res.message || '手机号绑定失败')
} }
}).catch(() => { }).catch(() => {

10
package2/myCenter/partTimeJobRegister.vue

@ -195,7 +195,7 @@
<view class="official-card"> <view class="official-card">
<img show-menu-by-longpress <img show-menu-by-longpress
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/d23a9043a8c24731831ec4db909fe3b4.jpg" alt="" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/ca2d31caab16467eac20b1711fa00a78.jpg" alt=""
class="official-qr" /> class="official-qr" />
<view class="official-info"> <view class="official-info">
<view class="official-title">长按 关注公众号</view> <view class="official-title">长按 关注公众号</view>
@ -264,10 +264,10 @@
<view class="area-popup-desc">选中的取货点和送达区域会两两组合生成路线新路线默认使用本弹窗填写的最低配送费和备注</view> <view class="area-popup-desc">选中的取货点和送达区域会两两组合生成路线新路线默认使用本弹窗填写的最低配送费和备注</view>
<view class="full-area-btn" v-if="currentConfigType == 'waima'" @tap="toggleWaimaFullAreaOrder" <view class="full-area-btn" v-if="currentConfigType == 'waima'" @tap="toggleWaimaFullAreaOrder"
:class="{'full-area-btn--active': waimaFullAreaOrder}"> :class="{'full-area-btn--active': waimaFullAreaOrder}">
{{waimaFullAreaOrder ? '已开启全域接单' : '全域接单'}} {{waimaFullAreaOrder ? '已开启全域接单' : '开启全域接单'}}
</view> </view>
<view class="full-area-tip" v-if="currentConfigType == 'waima' && waimaFullAreaOrder"> <view class="full-area-tip" v-if="currentConfigType == 'waima' && waimaFullAreaOrder">
因校内区域较多请手动选择接送单区域 已展示并选中所有接送单区域
</view> </view>
<view class="route-default-card"> <view class="route-default-card">
<view class="route-default-row"> <view class="route-default-row">
@ -741,11 +741,11 @@
if (isFullAreaOrder) { if (isFullAreaOrder) {
that.qucan.push({ that.qucan.push({
...item, ...item,
checked: isGetChecked checked: true
}); });
that.songcan.push({ that.songcan.push({
...item, ...item,
checked: isPutChecked checked: true
}); });
} else if (item.isCanteen == isCanteenVal) { } else if (item.isCanteen == isCanteenVal) {
that.qucan.push({ that.qucan.push({

Loading…
Cancel
Save