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

10
package2/myCenter/partTimeJobRegister.vue

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

Loading…
Cancel
Save