Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footsen

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • footsen
  • footseen
  • Nesting
  • logOff
  • logOff.html
Find file
BlameHistoryPermalink
  • agan's avatar
    修改 · 4c104e1b
    agan committed a year ago
    4c104e1b
logOff.html 20.3 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625
<!doctype html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta content="telephone=no" name="format-detection">
    <title>賬號注銷 - 重要提醒</title>
    <link rel="stylesheet" href="https://app.ixiulive.com/static/layer-v3.1.0/layer.css" />
    <link rel="stylesheet" href="https://zhiboweb.yazhaiyabo.com/simper/css/reset.css">
    <script src="https://apps.bdimg.com/libs/zepto/1.1.4/zepto.min.js"></script>
    <script src="../../lib/fsize.js"></script>
    <style>
        body {
            background: #111111;
        }

        .main {
            width: 10rem;
            height: 100vh;
            background: #111111;
            position: relative;
            font-size: 0.373rem;
            line-height: 0.68rem;
        }

        .mCon {
            padding: 0.6rem 0.4rem 1rem 0.4rem;
            line-height: 0.8rem;
            color: #ccc;
            box-sizing: border-box;
            max-height: calc(100vh - 4rem);
            overflow-y: scroll;
        }

        .w {
            color: #fff;
            font-weight: bold;
        }

        .mt8 {
            margin-top: 0.8rem;
        }

        .mt2 {
            margin-top: 0.2rem;
        }

        .mBottom {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 10rem;
            height: 4rem;
        }

        .giveup {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #414141;
            border: 0.03rem solid #fff;
            border-radius: 0.6rem;
            position: absolute;
            top: 0.8rem;
            left: 0.5rem;
            color: #fff;
            font-size: 0.373rem;
        }

        .logoff {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #19333B;
            border: 0.03rem solid #00F7FF;
            border-radius: 0.6rem;
            position: absolute;
            top: 0.8rem;
            left: 5.5rem;
            color: #fff;
            font-size: 0.373rem;
        }

        .agree {
            position: absolute;
            top: 2.5rem;
            left: 0;
            width: 100%;
            text-align: center;
            font-size: 0.347rem;
            height: 0.48rem;
            line-height: 0.48rem;
        }

        .agreecheckBox {
            width: 0.44rem;
            height: 0.44rem;
            border-radius: 50%;
            border: 1px solid #fff;
            display: inline-block;
            vertical-align: bottom;
            box-sizing: border-box;
        }

        .checked {
            background: url(./img/selected.png) no-repeat;
            background-size: contain;
            background-position: center;
        }

        .agree a {
            text-decoration: underline;
            color: #fff;
        }

        .pop1 {
            width: 7.787rem;
            height: 5.84rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: url(./img/pop1.png) no-repeat;
            background-size: contain;
            display: none;

        }

        .popInfo {
            width: 7.387rem;
            height: 2.56rem;
            text-align: center;
            color: #fff;
            font-size: 0.4rem;
            padding: 1.4rem 0.2rem 0.4rem 0.2rem;
        }

        .popButtons {
            width: 7.387rem;
            height: 1.28rem;
            line-height: 1.28rem;
            text-align: center;
            color: #fff;
            font-size: 0.4rem;
            padding: 0 0.2rem 0.4rem 0.2rem;
        }

        .popButtons div {
            float: left;
            width: 50%;
            height: 100%;
        }

        .pop2 {
            width: 7.787rem;
            height: 8.493rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: url(./img/pop2.png) no-repeat;
            background-size: contain;
            display: none;
        }

        .popInfo2 {
            width: 4.987rem;
            height: 2.56rem;
            text-align: center;
            color: #fff;
            font-size: 0.4rem;
            padding: 1.6rem 1.4rem 0.4rem 1.4rem;
        }

        .contact {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #19333B;
            border: 0.03rem solid #00F7FF;
            border-radius: 0.6rem;
            position: absolute;
            top: 4.4rem;
            left: 50%;
            transform: translateX(-50%);
            color: #fff;
            font-size: 0.4rem;
        }

        .cancel {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #414141;
            border: 0.03rem solid #fff;
            border-radius: 0.6rem;
            position: absolute;
            top: 6rem;
            left: 50%;
            transform: translateX(-50%);
            color: #fff;
            font-size: 0.4rem;
        }

        /* footseen */
        body.body_ft {
            background: #fff;
        }

        .body_ft .main {
            width: 10rem;
            height: 100vh;
            background: #fff;
            position: relative;
            font-size: 0.373rem;
            line-height: 0.68rem;
        }

        .body_ft .mCon {
            padding: 0.6rem 0.4rem 1rem 0.4rem;
            line-height: 0.8rem;
            color: #666;
            box-sizing: border-box;
            max-height: calc(100vh - 4rem);
            overflow-y: scroll;
        }

        .body_ft .w {
            color: #ea277d;
            font-weight: bold;
        }

        .body_ft .giveup {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #fff;
            border: 0.03rem solid #ea277d;
            border-radius: 0.6rem;
            position: absolute;
            top: 0.8rem;
            left: 0.5rem;
            color: #666;
            font-size: 0.373rem;
        }

        .body_ft .logoff {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #fff;
            border: 0.03rem solid #ea277d;
            border-radius: 0.6rem;
            position: absolute;
            top: 0.8rem;
            left: 5.5rem;
            color: #666;
            font-size: 0.373rem;
        }

        .body_ft .agreecheckBox {
            width: 0.44rem;
            height: 0.44rem;
            border-radius: 50%;
            border: 1px solid #666;
            display: inline-block;
            vertical-align: bottom;
            box-sizing: border-box;
        }

        .body_ft .checked {
            background: url(./img/ftImg/selected.png) no-repeat;
            background-size: contain;
            background-position: center;
        }

        .body_ft .agree a {
            text-decoration: underline;
            color: #ea277d;
        }

        .body_ft .pop1 {
            width: 7.787rem;
            height: 5.84rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: url(./img/ftImg/pop1.png) no-repeat;
            background-size: contain;
            display: none;

        }

        .body_ft .popInfo {
            width: 7.387rem;
            height: 2.56rem;
            text-align: center;
            color: #666;
            font-size: 0.4rem;
            padding: 1.4rem 0.2rem 0.4rem 0.2rem;
        }

        .body_ft .popButtons {
            width: 7.387rem;
            height: 1.28rem;
            line-height: 1.28rem;
            text-align: center;
            color: #666;
            font-size: 0.4rem;
            padding: 0 0.2rem 0.4rem 0.2rem;
        }

        .body_ft .pop2 {
            width: 7.787rem;
            height: 8.493rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: url(./img/ftImg/pop2.png) no-repeat;
            background-size: contain;
            display: none;
        }

        .body_ft .popInfo2 {
            width: 4.987rem;
            height: 2.56rem;
            text-align: center;
            color: #666;
            font-size: 0.4rem;
            padding: 1.6rem 1.4rem 0.4rem 1.4rem;
        }

        .body_ft .contact {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #fff;
            border: 0.03rem solid #ea277d;
            border-radius: 0.6rem;
            position: absolute;
            top: 4.4rem;
            left: 50%;
            transform: translateX(-50%);
            color: #666;
            font-size: 0.4rem;
        }

        .body_ft .cancel {
            width: 4rem;
            height: 1.307rem;
            line-height: 1.307rem;
            text-align: center;
            background: #fff;
            border: 0.03rem solid #ea277d;
            border-radius: 0.6rem;
            position: absolute;
            top: 6rem;
            left: 50%;
            transform: translateX(-50%);
            color: #666;
            font-size: 0.4rem;
        }
    </style>
</head>

<body>
    <div class="main">
        <div class="mCon">
            <p class="w">申請賬號注銷前,請認真閲讀以下注意事項</p>
            <p>1 您申請註銷的賬號為當前的登錄賬號::</p>
            <p class="b mInfo"> ID :232323 暱稱:我是昭君</p>
            <p>2 註銷後,您將不再能夠登錄,重新激活,使用和恢復該賬戶;</p>
            <p>3 註銷後,您將無法對購買的任何商品退款,也無法獲得直播的收益;</p>
            <p>4 住下後,您的個人資料、照片、視頻、消息、評論、道具、禮物、虛擬貨幣、分享、等級、關注、特權和其他數字內容將被永久註銷,並且無法恢復;</p>
            <p>5 如果您是與我們單獨簽訂了協議的主播,內容製作人,代理,經紀人或其他人,則可能由於您在這些協議中的責任和義務而拒絕您註銷賬戶的申請。</p>
            <p>6 若您是公會經紀人,因您的公會經紀人身份會影響您的公會成員的利益和權益。若您申請註銷,可能會被拒絕。請取消公會經紀人身份後申請註銷。</p>
            <p>7 如果您和您的賬號和我們或第三方存在未決的和解,投訴,爭議或糾紛,您的註銷申請可能會被拒絕。</p>
            <p>8 更多內容,請閱讀賬戶註銷協議。</p>
        </div>

        <div class="mBottom">
            <div class="giveup">放棄</div>
            <div class="logoff">注銷</div>
            <div class="agree">
                <span class="agreecheckBox"></span>
                <span>我已閲讀并同意</span>
                <a class="mAgreement" href="https://www.yabolive.tv/Nesting/help/FireAgreement.html">FireFire Live
                    用戶協議</a>
            </div>
        </div>

        <div class="pop1">
            <div class="popInfo">
                <p class="popUid"></p>
                <p class="popUname"></p>
                <p>注銷后,賬號將無法恢復</p>
            </div>
            <div class="popButtons">
                <div>取消</div>
                <div>確定</div>
            </div>
        </div>

        <div class="pop2">
            <div class="popInfo2">請向客服申請註銷。申請通過後,將在30個工作日內處理完畢</div>
            <div class="popButtons2">
                <div class="contact">確認注銷並退出App</div>
                <div class="cancel">取消</div>
            </div>
        </div>
    </div>
    <script src="../../lib/jquery-3.1.1.min.js"></script>
    <script src="../../lib/langchange.js"></script>
    <script type="text/javascript" src="https://app.ixiulive.com/static/layer-v3.1.0/layer/layer.js"></script>
    <script>
        var $ip = "https://webserver.yabolive.net";
        // var $ip = "http://ceshi.yabolive.tv/web"
        cdn = "https://zhibocdn.yabolive.net/";
        var mAppIndexs = {
            "com.yzfirefire.live.ios": 0,
            "com.ft.chat.ios": 1,
            "com.happy.live": 2,
            "com.nine.one.android": 3,
            "com.naichalive.android": 4,
            "com.mimosa.live.android": 5,
            "com.peach.live.android": 6,
            "com.xingchat.android": 7,
            "com.ftsfuxin.android": 8,
            "com.yz.madou.android": 9,
            "com.mewo.android": 10,
            "com.yinghua.cherry.organize": 11,
            "com.tempting.live.show.android": 12
        }
        var mAppNames = {
            "com.yzfirefire.live.ios": "FireFire Live",
            "com.ft.chat.ios": "FireFire Live",
            "com.happy.live": "Firefly Live",
            "com.nine.one.android": "秘密直播",
            "com.naichalive.android": "奶香直播",
            "com.mimosa.live.android": "含羞草直播",
            "com.peach.live.android": "蜜桃直播",
            "com.xingchat.android": "杏吧直播",
            "com.ftsfuxin.android": "福絲直播",
            "com.yz.madou.android": "麻豆直播",
            "com.mewo.android": "貓咪直播",
            "com.yinghua.cherry.organize": "櫻花秀直播",
            "com.tempting.live.show.android": "迷人直播秀"
        }
        var mAgreementUrls = [
            "https://www.yabolive.tv/Nesting/help/FireAgreement.html",
            "https://www.yabolive.tv/Nesting/help/FireAgreement.html",
            "https://www.yabolive.tv/Nesting/help/Agreement.html",
            "https://www.footseen.com/footseen/Nesting/help/91userAgreement.html",
            "https://www.footseen.com/footseen/Nesting/help/teaUserAgreement.html",
            "https://www.footseen.com/footseen/Nesting/help/mimosaUserAgreement.html",
            "",
            "https://www.footseen.com/footseen/Nesting/help/xingUserAgreement.html",
            "https://www.footseen.com/footseen/Nesting/help/fusiUserAgreement.html",
            "https://www.footseen.com/footseen/Nesting/help/madouUserAgreement.html",
            "",
            "",
            "",
        ]
        if (url_get_params().appname != "com.happy.live" && url_get_params().appname != "com.yzfirefire.live.ios" && url_get_params().appname != "com.ft.chat.ios") {
            $('body').addClass('body_ft');
        }
        var aHref = mAgreementUrls[mAppIndexs[url_get_params().appname]]
        $('.mAgreement').attr('href', aHref);
        $('.mAgreement').html(mAppNames[url_get_params().appname] + "用戶協議");


        $(function () {
            var params = url_get_params();
            $.ajax({
                url: $ip + "/user/getUserInfo.html",
                data: {
                    uid: params.uid,
                    token: params.token,
                    'cid': "web_gw",
                    'os': "WEB",
                    'lang': 2,
                    'vest': 0,
                },
                dataType: "json",
                type: "post",
                error: function (msg) {
                    console.log('请求出错');
                },
                success: function (msg) {
                    console.log(msg)
                    if (msg.code == 1) {
                        var data = msg.data;
                        $('.mInfo').html('ID:' + data.uid + ' 暱稱:' + data.nickName);
                        $('.popUid').html('確認注銷ID: ' + data.uid);
                        $('.popUname').html('(昵稱:' + data.nickName + ') ?');
                    }
                }
            })

            $('.giveup').on('click', function () {
                var obj = {
                    "cid": 14,
                    "reqCode": new Date().getTime(),
                    "data": {
                        "msg": '關閉當前網頁',
                    }
                }
                var obj2 = JSON.stringify(obj);
                appCollaboration(obj2);
            })

            //設置倒計時
            var iSec = 10;
            var mInter = window.setInterval(function () {
                var s = iSec ? '(' + iSec + 's)' : '';
                $('.logoff').html('注銷' + s);
                iSec--;
                if (iSec < 0) {
                    clearInterval(mInter);
                    //綁定事件
                    $('.agreecheckBox').on('click', function () {
                        var ifchecked = $(this).hasClass('checked');
                        if (ifchecked) {
                            $(this).removeClass('checked');
                        } else {
                            $(this).addClass('checked');
                        }
                    })

                    $('.logoff').on('click', function () {
                        var ifchecked = $('.agreecheckBox').hasClass('checked');
                        if (!ifchecked) {
                            layer.msg('請先仔細閲讀並同意用戶協議');
                            return
                        }
                        $('.pop1').show();
                    })
                }
            }, 1000)

            $('.popButtons div').on('click', function () {
                $('.pop1').hide();
                var mIndex = $(this).index();
                if (mIndex) {
                    $('.pop2').show();
                }
            })

            $('.contact').on('click', function () {
                $.ajax({
                    url: $ip + '/user/account/remove',
                    data: {
                        uid: params.uid,
                        token: params.token,
                        'cid': params.cid,
                        'os': "WEB",
                        'lang': params.lang,
                        'vest': 0,
                    },
                    success: function (res) {
                        if (res.code == -90) {
                            layer.msg(res.msg)
                        }
                    }
                })
                setTimeout(function () {
                    //注銷並退出
                    var obj = {
                        "cid": 30
                    }
                    var objCust = JSON.stringify(obj);
                    appCollaboration(objCust)
                }, 1000)
            })

            $('.cancel').on('click', function () {
                $('.pop2').hide();
            })
        })

        function url_get_params() {
            var url = location.href;
            var theRequest = new Object();
            if (url.indexOf("?") != -1) {
                var str = url.substr(url.indexOf("?") + 1);
                strs = str.split("&");
                for (var i = 0; i < strs.length; i++) {
                    theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
                }
            }
            return theRequest;
        }

        function appCollaboration(msg) {
            var sUserAgent = navigator.userAgent.toLowerCase();
            var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
            var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
            var bIsMidp = sUserAgent.match(/midp/i) == "midp";
            var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
            var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
            var bIsAndroid = sUserAgent.match(/android/i) == "android";
            var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
            var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
            if (!(bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM)) { } else if (bIsAndroid) {
                window.yazhai.appCollaboration(msg);
            } else if (bIsIphoneOs || bIsIpad) {
                window.webkit.messageHandlers.appCollaboration.postMessage(msg);
            }
        }
    </script>
</body>

</html>