15 changed files with 158 additions and 41 deletions
@ -1,3 +1,10 @@
@@ -1,3 +1,10 @@
|
||||
{ |
||||
"usingComponents": {} |
||||
"emmet_language_server": { |
||||
"init_options": { |
||||
"preferences": { |
||||
"css.intUnit": "rpx", |
||||
"css.floatUnitr": "rpx" |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 5.4 KiB |
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
{ |
||||
"usingComponents": {} |
||||
} |
@ -0,0 +1,69 @@
@@ -0,0 +1,69 @@
|
||||
.page { |
||||
.container { |
||||
padding: 0 86rpx 0; |
||||
height: 100vh; |
||||
box-sizing: border-box; |
||||
.badge { |
||||
margin: 160px auto 0; |
||||
display: block; |
||||
width: 167rpx; |
||||
height: 167rpx; |
||||
} |
||||
.title { |
||||
margin-top: 26rpx; |
||||
font-size: 40rpx; |
||||
color: #141515; |
||||
font-weight: bold; |
||||
line-height: 64rpx; |
||||
text-align: center; |
||||
} |
||||
.content { |
||||
margin-top: 54rpx; |
||||
font-size: 32rpx; |
||||
color: #999999; |
||||
line-height: 56rpx; |
||||
} |
||||
.footer { |
||||
position: fixed; |
||||
bottom: 0; |
||||
left: 0; |
||||
width: 100%; |
||||
box-sizing: border-box; |
||||
padding: 32rpx 32rpx calc(env(safe-area-inset-bottom) + 32rpx); |
||||
flex-shrink: 0; |
||||
display: flex; |
||||
gap: 24rpx; |
||||
.cancel { |
||||
flex: 1; |
||||
height: 84rpx; |
||||
text-align: center; |
||||
line-height: 84rpx; |
||||
font-size: 32rpx; |
||||
color: rgba(1, 180, 197, 1); |
||||
border-radius: 96rpx 96rpx 96rpx 96rpx; |
||||
border: 1px solid #01b4c5; |
||||
} |
||||
.sure { |
||||
flex: 1; |
||||
height: 88rpx; |
||||
text-align: center; |
||||
line-height: 88rpx; |
||||
font-size: 32rpx; |
||||
color: #fff; |
||||
background: linear-gradient(90deg, #00b4c5 0%, #54e2b4 100%); |
||||
border-radius: 96rpx 96rpx 96rpx 96rpx; |
||||
} |
||||
.wait { |
||||
flex: 1; |
||||
height: 88rpx; |
||||
text-align: center; |
||||
line-height: 88rpx; |
||||
font-size: 32rpx; |
||||
color: #fff; |
||||
opacity: 0.3; |
||||
background: linear-gradient(90deg, #00b4c5 0%, #54e2b4 100%); |
||||
border-radius: 96rpx 96rpx 96rpx 96rpx; |
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
const _app = getApp<IAppOption>(); |
||||
|
||||
Page({ |
||||
data: {}, |
||||
onLoad() {}, |
||||
handleCancel() { |
||||
wx.navigateBack(); |
||||
}, |
||||
handleLoginOut() { |
||||
wx.showModal({ |
||||
confirmColor: "#00B4C5", |
||||
cancelColor: "#141515", |
||||
title: "确认注销该账号?", |
||||
success(res) { |
||||
if (res.confirm) { |
||||
app.globalData.isLogin = 0; |
||||
wx.ajax({ |
||||
method: "POST", |
||||
url: "?r=takeda/account/delete-account", |
||||
}).then(() => { |
||||
wx.reLaunch({ |
||||
url: "/module1/pages/login/index", |
||||
}); |
||||
}); |
||||
} |
||||
}, |
||||
}); |
||||
}, |
||||
}); |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
<view |
||||
class="page" |
||||
style="background: url({{imageUrl}}login-protool-bg.png?r={{Timestamp}}) no-repeat top center/100% 316rpx;" |
||||
> |
||||
<view class="container" style="padding-top:{{menuButtonInfo.bottom}}px;"> |
||||
<image class="badge" src="{{imageUrl}}login-out-badge.png?t={{Timestamp}}"></image> |
||||
<view class="title"> |
||||
注销后数据不可恢复 |
||||
<view></view> |
||||
请谨慎操作 |
||||
</view> |
||||
<view class="content">注销账号后,系统会删除当前用户的全部信息和数据</view> |
||||
<view class="footer"> |
||||
<view class="cancel" bind:tap="handleCancel">取消</view> |
||||
<view class="sure" bind:tap="handleLoginOut">确认注销</view> |
||||
</view> |
||||
</view> |
||||
</view> |
Loading…
Reference in new issue