|
|
@@ -28,7 +28,7 @@
|
|
|
<image :src="userInfo.selfPhotoUrl || '/static/me/ud4.png'" mode=""></image>
|
|
|
</view>
|
|
|
<view class="text">
|
|
|
- <view class="phone">{{ userInfo.cellPhone || ''}}</view>
|
|
|
+ <view class="phone">{{ userInfo.ncikName || ''}}</view>
|
|
|
<!-- <view class="welcome">尊敬的{{ userInfo.ncikName || ''}},下午好~</view>-->
|
|
|
</view>
|
|
|
<view @click="goQrCode" class="arrow-right">
|
|
|
@@ -399,21 +399,6 @@ export default {
|
|
|
},
|
|
|
|
|
|
goRights(){
|
|
|
- this.userInfo = uni.getStorageSync('userInfo')
|
|
|
- if (!this.userInfo.phone){
|
|
|
- uni.showModal({
|
|
|
- title:'温馨提示',
|
|
|
- content:'请绑定手机号,以便为你提供服务',
|
|
|
- success:res=>{
|
|
|
- if (res.confirm){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/myPages/setting/setting-telphone',
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
uni.navigateTo({
|
|
|
url: '/storePages/rights/index'
|
|
|
})
|
|
|
@@ -422,45 +407,12 @@ export default {
|
|
|
// 去服务点单页面
|
|
|
gotoServiceOrder() {
|
|
|
|
|
|
- this.userInfo = uni.getStorageSync('userInfo')
|
|
|
- if (!this.userInfo.phone){
|
|
|
- uni.showModal({
|
|
|
- title:'温馨提示',
|
|
|
- content:'请绑定手机号,以便为你提供服务',
|
|
|
- success:res=>{
|
|
|
- if (res.confirm){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/myPages/setting/setting-telphone',
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
uni.navigateTo({
|
|
|
url: '/orderPages/storeService/index'
|
|
|
})
|
|
|
},
|
|
|
|
|
|
goBookService() {
|
|
|
-
|
|
|
- this.userInfo = uni.getStorageSync('userInfo')
|
|
|
- if (!this.userInfo.phone){
|
|
|
- uni.showModal({
|
|
|
- title:'温馨提示',
|
|
|
- content:'请绑定手机号,以便为你提供服务',
|
|
|
- success:res=>{
|
|
|
- if (res.confirm){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/myPages/setting/setting-telphone',
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
uni.navigateTo({
|
|
|
url: '/orderPages/bookService/index'
|
|
|
})
|
|
|
@@ -589,23 +541,6 @@ export default {
|
|
|
},
|
|
|
// 去商品下单页面
|
|
|
gotoGoods() {
|
|
|
-
|
|
|
- this.userInfo = uni.getStorageSync('userInfo')
|
|
|
- if (!this.userInfo.phone){
|
|
|
- uni.showModal({
|
|
|
- title:'温馨提示',
|
|
|
- content:'请绑定手机号,以便为你提供服务',
|
|
|
- success:res=>{
|
|
|
- if (res.confirm){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/myPages/setting/setting-telphone',
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
uni.navigateTo({
|
|
|
url: '/orderPages/bookService/index',
|
|
|
})
|