|
|
@@ -3,7 +3,7 @@
|
|
|
<view class="content" :style="userinfo.is_authentication == 1 ? 'padding-top:30rpx;' : ''">
|
|
|
<!-- 用户信息 -->
|
|
|
<view class="uerInfo mar_t16 flex_r">
|
|
|
- <view class="user_img" @click="updateUserInfo">
|
|
|
+ <view class="user_img">
|
|
|
<image class="image" :src="
|
|
|
userinfo && userinfo.head_pic != ''
|
|
|
? userinfo.head_pic
|
|
|
@@ -18,7 +18,7 @@
|
|
|
</view>
|
|
|
<block v-if="userinfo && userinfo != ''">
|
|
|
<view class="user_con flex_c">
|
|
|
- <view class="user_name flex_r flex_ae ellipsis" @click="updateUserInfo">{{ userinfo.nickname
|
|
|
+ <view class="user_name flex_r flex_ae ellipsis">{{ userinfo.nickname
|
|
|
}}<text>({{
|
|
|
userinfo.is_authentication == 0 ? "未实名" : "已实名"
|
|
|
}})</text></view>
|
|
|
@@ -204,11 +204,11 @@
|
|
|
<image class="fun_img" src="/static/my/take.png" mode=""></image>
|
|
|
<view class="fun_text">待收货</view>
|
|
|
</navigator>
|
|
|
- <navigator class="fun_list flex_c flex_ac" url="/pages/szw-order-list/index?status=5"
|
|
|
+ <!-- <navigator class="fun_list flex_c flex_ac" url="/pages/szw-order-list/index?status=5"
|
|
|
hover-class="none">
|
|
|
<image class="fun_img" src="/static/my/evaluate.png" mode=""></image>
|
|
|
<view class="fun_text">待评价</view>
|
|
|
- </navigator>
|
|
|
+ </navigator> -->
|
|
|
<navigator class="fun_list flex_c flex_ac" url="/pages/order-refund-list/index?status=5"
|
|
|
hover-class="none">
|
|
|
<image class="fun_img" src="/static/my/refund.png" mode=""></image>
|
|
|
@@ -361,34 +361,6 @@
|
|
|
this.isGetUserInfo = false
|
|
|
console.log(res,"获取到的用户信息")
|
|
|
},
|
|
|
- updateUserInfo() {
|
|
|
- // uni.getUserProfile({
|
|
|
- // desc: '登录',
|
|
|
- // success: (response) => {
|
|
|
- // console.log('response', response)
|
|
|
- // try {
|
|
|
- // uni.showLoading({
|
|
|
- // title: '登录中...'
|
|
|
- // });
|
|
|
- // //请求后台,成功并隐藏加载
|
|
|
- // uni.hideLoading({})
|
|
|
- // } catch (e) {
|
|
|
- // uni.showToast({
|
|
|
- // title: "微信登录失败",
|
|
|
- // icon: "none"
|
|
|
- // });
|
|
|
- // }
|
|
|
- // },
|
|
|
- // fail: (res) => {
|
|
|
- // uni.showToast({
|
|
|
- // title: "您已取消授权",
|
|
|
- // icon: "none"
|
|
|
- // });
|
|
|
- // }
|
|
|
- // });\
|
|
|
- this.isGetUserInfo = true;
|
|
|
- this.showAuth = true
|
|
|
- },
|
|
|
getuserInfo() {
|
|
|
post("/user/userinfo").then((res) => {
|
|
|
if (res.code === 0) {
|