|
|
|
@ -19,12 +19,8 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_flex_row_center g_mt_30">
|
|
|
|
<view class="g_flex_row_center g_mt_30">
|
|
|
|
<view v-if="!isEdit" class="g_flex_row_center">
|
|
|
|
<view v-if="!isEdit" class="g_flex_row_center">
|
|
|
|
<!-- #ifdef APP-PLUS || H5 || MP-TOUTIAO || MP-KUAISHOU -->
|
|
|
|
<button aria-role="button" class="g_w_110 g_h_32 g_flex_c g_radius_17 g_c_f"
|
|
|
|
<button aria-role="button" class="g_w_110 g_h_32 g_flex_c g_radius_17 g_c_f" style="border: 1px solid #fff; background-color: transparent; font-size: 14px" @click="handleOpenAvatar">更换头像</button>
|
|
|
|
style="border: 1px solid #fff; background-color: transparent; font-size: 14px" @click="handleOpenAvatar">更换头像</button>
|
|
|
|
<!-- #endif -->
|
|
|
|
|
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
|
|
|
|
|
<button open-type="chooseAvatar" @chooseavatar="handleStartChangeAvatar" aria-role="button" class="g_w_110 g_h_32 g_flex_c g_radius_17 g_c_f" style="border: 1px solid #fff; background-color: transparent; font-size: 14px">更换头像</button>
|
|
|
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view v-if="isEdit" class="g_flex_row_center">
|
|
|
|
<view v-if="isEdit" class="g_flex_row_center">
|
|
|
|
<view class="g_w_110 g_h_32 g_flex_c g_radius_17 g_c_f g_mr_16" style="border: 1px solid #fff" @click="handleCancel">取消</view>
|
|
|
|
<view class="g_w_110 g_h_32 g_flex_c g_radius_17 g_c_f g_mr_16" style="border: 1px solid #fff" @click="handleCancel">取消</view>
|
|
|
|
@ -122,7 +118,9 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
that.G.checkToken();
|
|
|
|
that.G.checkToken();
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
uni.navigateBack();
|
|
|
|
uni.redirectTo({
|
|
|
|
|
|
|
|
url:'/root/person/info'
|
|
|
|
|
|
|
|
})
|
|
|
|
}, 1500);
|
|
|
|
}, 1500);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|