|
|
|
@ -54,10 +54,16 @@ |
|
|
|
|
<!-- <fix-bottom-button @confirm="toLoginOut" |
|
|
|
|
:text="[{ text: '退出登录', type: 'confirm' }]" bgColor="#fff"> |
|
|
|
|
</fix-bottom-button> --> |
|
|
|
|
<view class="logoutBtn" @click="toLoginOut" > |
|
|
|
|
退出登录 |
|
|
|
|
</view> |
|
|
|
|
<view style="display: flex;"> |
|
|
|
|
|
|
|
|
|
<view class="logoutBtn logoutBtnTwo" @click="zhuxiao" > |
|
|
|
|
注销账号 |
|
|
|
|
</view> |
|
|
|
|
<view class="logoutBtn" @click="toLoginOut" > |
|
|
|
|
退出登录 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<u-modal :show="show" content='已提交申请待审核' @confirm="show=false"></u-modal> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -87,7 +93,8 @@ |
|
|
|
|
text: '个人信息保护指引', |
|
|
|
|
url: 2 |
|
|
|
|
}], |
|
|
|
|
user_info: {} |
|
|
|
|
user_info: {}, |
|
|
|
|
show:false, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
computed: mapState({ |
|
|
|
@ -101,6 +108,17 @@ |
|
|
|
|
methods: { |
|
|
|
|
...mapActions(['getUserInfo']), |
|
|
|
|
...mapMutations(['updateUserItem']), |
|
|
|
|
zhuxiao(){ |
|
|
|
|
let that = this; |
|
|
|
|
uni.showModal({ |
|
|
|
|
title: "注销账户", |
|
|
|
|
confirmColor: "#FF4D4F", |
|
|
|
|
content: `注销此账号后您的数据将不再保留,是否继续注销?`, |
|
|
|
|
success: (res) => { |
|
|
|
|
this.show = true |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
async initIndex() { |
|
|
|
|
this.$util.setNavigationBarColor({ |
|
|
|
|
bg: this.primaryColor |
|
|
|
@ -197,8 +215,9 @@ |
|
|
|
|
margin-top:20rpx; |
|
|
|
|
} |
|
|
|
|
.logoutBtn{ |
|
|
|
|
width:66%; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
// width:66%; |
|
|
|
|
flex:1; |
|
|
|
|
margin: 0 30rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
background: rgba(8,191,119,0); |
|
|
|
|
border: 1px solid #08BF77; |
|
|
|
@ -209,4 +228,9 @@ |
|
|
|
|
font-weight: 500; |
|
|
|
|
color: #08BF77; |
|
|
|
|
} |
|
|
|
|
.logoutBtnTwo{ |
|
|
|
|
border: 1px solid gray; |
|
|
|
|
color: gray; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|