diff --git a/packageA/my/person-detail.vue b/packageA/my/person-detail.vue
index 0a1da48..34b63af 100644
--- a/packageA/my/person-detail.vue
+++ b/packageA/my/person-detail.vue
@@ -235,14 +235,15 @@
this.phoneNumber = userInfo.mobile
this.niName = userInfo.nickname
this.realname = userInfo.username
- this.avatar = uni.getStorageSync('userInfo').avatar
+ this.avatar = userInfo.avatar
this.$refs.datetimePicker.setFormatter(this.formatter)
// this.handelData()
- this.getDetail()
+ // this.getDetail()
},
onShow() {
this.getSfInfo();
this.getBankList();
+ this.getDetail();
},
methods: {
getBankList() {
@@ -301,7 +302,7 @@
if (res.code == 1) {
uni.setStorageSync('userInfo', {
...uni.getStorageSync('userInfo'),
- avatar: avatar
+ avatar: this.avatar
});
this.getDetail()
this.$refs.uToast.show({
@@ -309,9 +310,9 @@
message: '保存成功',
duration: '1000',
complete: function() {
- setTimeout(function() {
- uni.navigateBack(1)
- }, 1000);
+ // setTimeout(function() {
+ // uni.navigateBack(1)
+ // }, 1000);
}
})
} else if (res.code == 0) {
@@ -329,29 +330,29 @@
const userinfo = res.data.user_info
uni.setStorageSync('userInfo', res.data.user_info)
uni.setStorageSync("niName", res.data.user_info.nickname)
- if (userinfo.birthday !== null) {
- this.birthday = userinfo.birthday
- }
- if (userinfo.work !== null) {
- this.zhiYe = userinfo.work
- }
- if (userinfo.diqu !== null) {
- this.area = userinfo.diqu
- }
+ // if (userinfo.birthday !== null) {
+ // this.birthday = userinfo.birthday
+ // }
+ // if (userinfo.work !== null) {
+ // this.zhiYe = userinfo.work
+ // }
+ // if (userinfo.diqu !== null) {
+ // this.area = userinfo.diqu
+ // }
if (userinfo.avatar !== null) {
this.avatar = userinfo.avatar
uni.setStorageSync('avatar', this.avatar)
}
if (userinfo.nickname !== null) {
- this.nickname = userinfo.nickname
- uni.setStorageSync('niName', this.nickname)
- }
- if (userinfo.gender !== null) {
- this.gender = userinfo.gender == '1' ? '男' : '女'
- }
- if (userinfo.realname !== null) {
- this.realname = userinfo.realname
+ this.niName = userinfo.nickname
+ uni.setStorageSync('niName', this.niName)
}
+ // if (userinfo.gender !== null) {
+ // this.gender = userinfo.gender == '1' ? '男' : '女'
+ // }
+ // if (userinfo.realname !== null) {
+ // this.realname = userinfo.realname
+ // }
}
})
},
diff --git a/pages/my/index.vue b/pages/my/index.vue
index 6cdcc20..e1e60da 100644
--- a/pages/my/index.vue
+++ b/pages/my/index.vue
@@ -1415,1431 +1415,6 @@
}
}
- .ovr {
- width: 312rpx;
- background: #ffffff;
- border-radius: 20rpx 20rpx 20rpx 20rpx;
- margin-top: 18rpx;
- margin-right: 24rpx;
- }
- }
-
-
-
-
-
-
-
-
-
-
- 我参与的
- {{ actives }}个活动
-
-
-
-
-
- 我发布的
- {{ pushActives }}个活动
-
-
-
-
-
-
-
-
-
-
-
-
- 当前余额
-
- {{settleInfo.settled_amount?settleInfo.settled_amount:0}}
-
-
-
-
-
- 提现
-
-
-
- 待入账 ¥{{settleInfo.expected_incoming_amount?settleInfo.expected_incoming_amount:0}}
-
- 累计收益
- ¥{{settleInfo.accumulated_incoming_amount?settleInfo.accumulated_incoming_amount:0}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
- {{ item.user.nickname }}
-
- #{{ items_t }}
-
-
-
-
-
-
- {{ '报名中' }}
- {{ dateWeeks(item.start_time) }}
-
- {{ item.address_detail
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ Number(item.join_info.people_number) + "人已上车" }}
-
-
-
- 已结束
-
-
- 上车
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-