|
@@ -1,33 +1,79 @@
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<html>
|
|
<head>
|
|
<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" />
|
|
|
|
|
|
+ <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" href="{{Msg "seo" "cdn"}}/wxmyemail/css/reset.css?v={{Msg "seo" "version"}}">
|
|
<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/wxmyemail/css/reset.css?v={{Msg "seo" "version"}}">
|
|
<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/wxmyemail/css/common.css?v={{Msg "seo" "version"}}">
|
|
<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/wxmyemail/css/common.css?v={{Msg "seo" "version"}}">
|
|
<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/wxmyemail/css/mine.css?v={{Msg "seo" "version"}}"/>
|
|
<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/wxmyemail/css/mine.css?v={{Msg "seo" "version"}}"/>
|
|
{{include "/common/weixin.html"}}
|
|
{{include "/common/weixin.html"}}
|
|
- <script src="{{Msg "seo" "cdn"}}/wxswordfish/share.js?v={{Msg "seo" "version"}}"></script>
|
|
|
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/wxswordfish/share.js?v={{Msg "seo" "version"}}"></script>
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
- <div class="bind_success">
<div class="success">
<img src="{{Msg "seo" "cdn"}}/wxmyemail/img/successed.png" >
<p></p>
</div>
<button class="common_btn back">返回 <time class="time">()</time> </button>
</div>
<script src="{{Msg "seo" "cdn"}}/wxmyemail/js/zepto.js"></script>
<script src="{{Msg "seo" "cdn"}}/wxmyemail/js/public.js"></script>
<script>
$(function(){
|
|
|
|
|
|
+ <div class="bind_success">
|
|
|
|
+ <div class="success">
|
|
|
|
+ <img src="{{Msg "seo" "cdn"}}/wxmyemail/img/successed.png" >
|
|
|
|
+ <p></p>
|
|
|
|
+ </div>
|
|
|
|
+ <button class="common_btn back">返回 <time class="time">()</time> </button>
|
|
|
|
+ </div>
|
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/wxmyemail/js/zepto.js"></script>
|
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/wxmyemail/js/public.js"></script>
|
|
|
|
+ <script>
|
|
|
|
+ $(function(){
|
|
//分享
|
|
//分享
|
|
- initShare({{.T.signature}},{{.T.openid}},2,"jy_wxmyorder",{{.T.nickname}},{{.T.avatar}});
|
|
|
|
|
|
+ initShare({{.T.signature}},{{.T.openid}},2,"jy_wxmyorder",{{.T.nickname}},{{.T.avatar}});
|
|
|
|
+
|
|
let param = getParam('name');//获取url传来的参数 判断显示成功的字幕
|
|
let param = getParam('name');//获取url传来的参数 判断显示成功的字幕
|
|
- var orderCode=getParam("orderCode"); //开发票的订单
console.log(param)
var time = 6;
function countDown(){
if(time == 0){
$('.time').html('');
|
|
|
|
|
|
+ var orderCode=getParam("orderCode"); //开发票的订单
|
|
|
|
+ console.log(param)
|
|
|
|
+ var time = 6;
|
|
|
|
+ function countDown(){
|
|
|
|
+ if(time == 0){
|
|
|
|
+ $('.time').html('');
|
|
if((param="invoice")&&(orderCode!="")){
|
|
if((param="invoice")&&(orderCode!="")){
|
|
- window.location.replace('/front/vipsubscribe/toOrderDetailPage?orderCode='+orderCode);
|
|
|
|
|
|
+ window.location.replace('/weixin/pay/toOrderDetailPage?orderCode='+orderCode);
|
|
}else{
|
|
}else{
|
|
window.location.replace('/front/wxMyOrder/myEmail');
|
|
window.location.replace('/front/wxMyOrder/myEmail');
|
|
- }
}else{
$('.time').html('(' + time + ')');
time--;
setTimeout(()=>{
countDown()
},1000)
}
}
if(param == 'bindEmail'){
$('.success>p').html('邮箱绑定成功');
countDown();
}else if(param == 'bindPhoe'){
$('.success>p').html('手机号绑定成功');
countDown();
}else if(param == 'changeEmail'){
$('.success>p').html('邮箱更换成功');
countDown();
}else if(param == 'choosePhone'){
$('.success>p').html('手机号更换成功');
countDown();
}else if(param =="unbind"){
|
|
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ $('.time').html('(' + time + ')');
|
|
|
|
+ time--;
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
+ countDown()
|
|
|
|
+ },1000)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(param == 'bindEmail'){
|
|
|
|
+ $('.success>p').html('邮箱绑定成功');
|
|
|
|
+ countDown();
|
|
|
|
+ }else if(param == 'bindPhoe'){
|
|
|
|
+ $('.success>p').html('手机号绑定成功');
|
|
|
|
+ countDown();
|
|
|
|
+ }else if(param == 'changeEmail'){
|
|
|
|
+ $('.success>p').html('邮箱更换成功');
|
|
|
|
+ countDown();
|
|
|
|
+ }else if(param == 'choosePhone'){
|
|
|
|
+ $('.success>p').html('手机号更换成功');
|
|
|
|
+ countDown();
|
|
|
|
+ }else if(param =="unbind"){
|
|
$('.success>p').html('邮箱解绑成功');
|
|
$('.success>p').html('邮箱解绑成功');
|
|
countDown();
|
|
countDown();
|
|
}else if(param=="invoice"){
|
|
}else if(param=="invoice"){
|
|
$('.success>p').html('邮箱绑定成功');
|
|
$('.success>p').html('邮箱绑定成功');
|
|
countDown();
|
|
countDown();
|
|
- }
/* 返回 */
$('.back').on('click',() =>{
if((param="invoice")&&(orderCode!="")){
|
|
|
|
- window.location.replace('/front/vipsubscribe/toOrderDetailPage?orderCode='+orderCode);
|
|
|
|
|
|
+ }
|
|
|
|
+ /* 返回 */
|
|
|
|
+ $('.back').on('click',() =>{
|
|
|
|
+ if((param="invoice")&&(orderCode!="")){
|
|
|
|
+ window.location.replace('/weixin/pay/toOrderDetailPage?orderCode='+orderCode);
|
|
}else{
|
|
}else{
|
|
window.location.replace('/front/wxMyOrder/myEmail');
|
|
window.location.replace('/front/wxMyOrder/myEmail');
|
|
- }
})
})
</script>
|
|
|
|
- {{include "/common/baiducc.html"}}
</body>
|
|
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ </script>
|
|
|
|
+ {{include "/common/baiducc.html"}}
|
|
|
|
+ </body>
|
|
</html>
|
|
</html>
|