yurong/.svn/pristine/18/180fdba499f81d9e959b2948c63...

54 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="pl-30 pr-30 fs-30 pt-50 fw-600" style="line-height: 1.8;">
<view>账号取消后:</view>
<view>以下信息将被清空且无法找回</view>
<view>
<view>1、身份账号信息等权限</view>
<view>2、图片库所有信息</view>
<view>3、所有投放订单信息</view>
<view>4、请确保所有交易已完结且无纠纷,账号删除后,历史交易可能产生资金退出将视为自动放弃</view>
</view>
<view class="rowsc pt-100">
<view @tap="deleteAccount" class="h-94 w-550 br-60 rowsc rowsm colfff" style="background-image: linear-gradient(#97e1de,#18a5a8);">立即注销</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
deleteAccount() {
this.axiosFromToken('POST', 'user/zhuxiaoAccount', {
token: this.app.token
}, '加载中').then(res => {
if (res.code == 1) {
this.outLogin()
} else {
this.showtt(res.msg)
}
})
},
outLogin() {//退出登录
uni.removeStorage({
key: 'token'
})
uni.removeStorage({
key: 'userInfo'
})
getApp().globalData.token = ''
getApp().globalData.userInfo = {}
this.$tools.goReLaunch('/pages/login/login/login')
}
}
}
</script>
<style>
</style>