添加注销功能

This commit is contained in:
zhouyanli
2026-07-04 15:51:49 +08:00
parent c190f60710
commit d6b00b8e9e
4 changed files with 231 additions and 0 deletions

View File

@@ -25,6 +25,12 @@
<view class="item-value">{{ passwordNumber }}</view>
<uni-icons type="arrowright" size="20" color="#ccc"></uni-icons>
</view>
<!-- 注销账号 -->
<view class="setting-item" @tap="goToDeleteAccount">
<view class="item-label">注销账号</view>
<!-- <view class="item-value">{{ }}</view> -->
<uni-icons type="arrowright" size="20" color="#ccc"></uni-icons>
</view>
</scroll-view>
<!-- 退出登录按钮 -->
@@ -84,6 +90,12 @@ const goToModifyPassword = () => {
url: '/pageSubPack/setting/change-password'
})
}
// 跳转到注销账号
const goToDeleteAccount = () =>{
uni.navigateTo({
url:'/pageSubPack/setting/deleteAccount'
})
}
// 点击退出登录,显示原生确认弹窗
const handleLogout = () => {