<!DOCTYPE html>
|
<html>
|
|
<head>
|
<meta charset="utf-8" />
|
<title>账户注销</title>
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
<link rel="stylesheet" type="text/css" href="./css/sytleaccount.css" />
|
<script>
|
window.onresize = function() {
|
document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.5 + 'px';
|
};
|
window.onresize();
|
</script>
|
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
|
<script src="../js/app.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
|
<style type="text/css">
|
[v-cloak] {
|
display: none !important;
|
}
|
</style>
|
</head>
|
|
<body>
|
<div id="root" v-cloak>
|
<div class="div_hedaer_bg">
|
<div class="div_hedaer_gary_bg"></div>
|
<div class="div_hedaer_white_bg"></div>
|
<img src="img/icon_logo.png">
|
<div class="hedaer_title">你正在注销账户!</div>
|
</div>
|
<div class="div_tips_bg">
|
<div class="tips_title">账户注销</div>
|
<div class="tips_contetn">
|
1.您的账户无法登录与使用<br> 2.您的账户信息将永久删除且无法恢复
|
<br> 3.您授权的微信账户将会自动解绑
|
<br> 4.您账户所关联的订单将无法查询与找回
|
<br> 5.您的账户相关绑定的手机号、微信号等;将无法再次用于注册账户
|
<br>
|
</div>
|
<div style="height: 0.36rem;"></div>
|
</div>
|
|
<div class="div_register">
|
<img :src="imgLogo" @click="readDelegate">
|
<div class="register_title">
|
我已阅读并同意<a href="javascript:void()" style="text-decoration: none;color: #0E96FF; " @click="register">《账户注销须知》</a>
|
</div>
|
</div>
|
|
<div class="div_sure" @click="zxsure">同意须知,下一步</div>
|
<div class="div_pl" style="height: 0.3rem;">
|
</div>
|
</body>
|
|
<script type="text/javascript">
|
var host = "http://api.location.izzql.com:8090";
|
var jumpUrl = null;
|
|
$(function() {
|
var app = new Vue({
|
el: "#root",
|
data: {
|
select: true,
|
user: null,
|
imgLogo: 'img/icon_select.png'
|
},
|
methods: {
|
register: function() {
|
window.location.href = 'zxAgreement.html';
|
// yesApp.jumpWeb(jumpUrl, null);
|
},
|
zxsure: function() {
|
ksbridge.call("getUid", function(res) {
|
|
if (res == null || res == "") {
|
ksbridge.call("toast", {
|
msg: "尚未登录"
|
});
|
return;
|
}
|
|
if (app.select == true) {
|
window.location.href = "phoneNumber.html";
|
} else {
|
ksbridge.call("toast", {
|
msg: "请先同意账户注销协议"
|
});
|
}
|
|
|
});
|
|
|
|
},
|
readDelegate: function() {
|
if (app.select == true) {
|
app.imgLogo = 'img/icon_normol.png';
|
app.select = false;
|
|
} else {
|
app.imgLogo = 'img/icon_select.png';
|
app.select = true;
|
}
|
},
|
fetchProtocol: function() {
|
ksbridge.call("getUid", function(res) {
|
|
if (res == null || res == "") {
|
ksbridge.call("toast", {
|
msg: "尚未登录"
|
});
|
return;
|
}
|
var params = {
|
uid: res
|
};
|
|
ksbridge.call("getRequestBaseParams", params, function(res) {
|
params = JSON.parse(res);
|
$.ajax({
|
type: "POST",
|
data: params,
|
url: host + "/api/v1/user/getUserInfo",
|
dataType: "json",
|
async: false,
|
success: function(result) {
|
if (result.code == 0) {
|
jumpUrl = result.data.link;
|
app.user = result.data;
|
|
} else {
|
|
}
|
},
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
if (textStatus === 'timeout') {
|
setTimeout(function() {}, 2000);
|
}
|
}
|
});
|
|
|
});
|
|
|
});
|
var uid = 5; //yesApp.getUid();
|
var params = null
|
params = {
|
uid: uid
|
}; //yesApp.getRequestBaseParams(params);
|
|
}
|
|
}
|
});
|
app.fetchProtocol();
|
});
|
</script>
|
|
</html>
|