Compare commits

...

3 Commits

Author SHA1 Message Date
Dragon
04ec4e1213 写死注销传参 2023-08-03 14:47:59 +08:00
Dragon
d4edc4d7f9 更新注销逻辑 2023-08-02 14:51:36 +08:00
Dragon
33b327ef08 修复流水太长样式异常问题 2023-08-01 22:45:49 +08:00
4 changed files with 19 additions and 5 deletions

View File

@@ -20,9 +20,9 @@
账号注销后,你将无法使用本软件提供的各项服务, 你所获得的道具,积分,资格等等内容等视为你自行放弃,同样将无法继续使用。你理解并同意,本软件无法协助你重新回复前述服务。
</div>
<div class="tip1">
请再次确认以上信息,确认后,在下方输入框中输入“我已知晓并确认账号注销”点击确认注销后完成注销操作
请再次确认以上信息,确认后,在下方输入框中输入“我已知曉並确認賬號注銷”点击确认注销后完成注销操作
</div>
<input type="text" placeholder="请输入:我已知晓并确认账号注销" class="ipt">
<input type="text" placeholder="请输入:我已知曉並确認賬號注銷" class="ipt">
<div class="confirm_btn">确认注销</div>
</div>

View File

@@ -13,11 +13,11 @@ $(function(){
$('.confirm_btn').click(() => {
text = $('.ipt').val().trim()
if (text === '我已知晓并确认账号注销') {
if (text === '我已知曉並确認賬號注銷') {
getUserInfo()
$('.popup').show()
} else {
toastMsg('输入错误,请检查输入内容')
toastMsg('輸入錯誤,請檢查輸入內容')
}
})
@@ -56,7 +56,8 @@ const confirmLogout = (text) => {
type: 'POST',
url: urlPrefix + '/user/cancel/users',
data: {
confirmTxt : text
// confirmTxt : text
confirmTxt : '我已知晓并确认账号注销',
},
success(res) {
if (res.code === 200) {

View File

@@ -67,6 +67,12 @@ body {
display: -moz-box;
line-height: 1.4rem;
}
.max .userInfo .user-i > div .userName {
white-space: nowrap;
overflow: hidden;
width: 3.7rem;
text-overflow: ellipsis;
}
.max .userInfo .user-i > div:first-child {
font-size: 0.4rem;
color: #333;

View File

@@ -69,8 +69,15 @@ body {
height: px2rem(80);
@include flex();
line-height: px2rem(105);
// @include flex-justify-start;
// @include flex-align-center;
.userName {
white-space: nowrap;
overflow: hidden;
width: 3.7rem;
text-overflow: ellipsis;
}
&:first-child {
font-size: px2rem(30);