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