Browse Source

[我的][修改]:[我的手机号的修改]

tags/福建版C.9.1.06
meo 5 years ago
parent
commit
2932c0ef39
2 changed files with 5 additions and 5 deletions
  1. +4
    -4
      index/user.js
  2. +1
    -1
      index/user.wxml

+ 4
- 4
index/user.js View File

@@ -50,6 +50,9 @@ Page({
url: config.api.checkPhoneStatus, url: config.api.checkPhoneStatus,
data: {} data: {}
}).then(res => { }).then(res => {
wx.navigateTo({
url: '/pages/edit/edit',
})
}).catch(err => { }).catch(err => {
wx.navigateTo({ wx.navigateTo({
url: `/pages/getphoneInfo/index?mineFlag=mine`, url: `/pages/getphoneInfo/index?mineFlag=mine`,
@@ -76,9 +79,7 @@ Page({
} }
}, },
gotoedit: function() { gotoedit: function() {
wx.navigateTo({
url: '/pages/edit/edit',
})
this.checkUserStatus();
}, },
onLoad() { onLoad() {
this.getLocation(); this.getLocation();
@@ -145,7 +146,6 @@ Page({
} }
} }
that.checkUserStatus();
that.setData({ that.setData({
appVersion: extConfig.appVersion, appVersion: extConfig.appVersion,
}) })


+ 1
- 1
index/user.wxml View File

@@ -2,7 +2,7 @@
<view class="user" style="padding-top:{{navigationBarHeight}};"> <view class="user" style="padding-top:{{navigationBarHeight}};">
<view class="top" style='background:{{banneColor}}'></view> <view class="top" style='background:{{banneColor}}'></view>
<view class="top-content" wx:if="{{ifStoreApp!=1}}"> <view class="top-content" wx:if="{{ifStoreApp!=1}}">
<view class='user_title '>
<view class='user_title'>
<view class="user-avatar" bindtap='gotoedit'> <view class="user-avatar" bindtap='gotoedit'>
<open-data class="open" type="userAvatarUrl"></open-data> <open-data class="open" type="userAvatarUrl"></open-data>
</view> </view>


Loading…
Cancel
Save