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
  • fireflyRmb
  • payoneerTrue.html
Find file
BlameHistoryPermalink
  • agan's avatar
    修改文案 · af8060fb
    agan committed 2 years ago
    af8060fb
payoneerTrue.html 9.61 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
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <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">
    <meta name="wap-font-scale" content="no">
    <title></title>
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="layer-v3.1.0/layer.css">
    <link rel="stylesheet" href="css/indexLi.css?v='23123121'">
    <script src="js/fsize.js"></script>
    <style>
        body {
            background: #FFF;
        }

        .paypal-false-btn {
            background: #FF57A0;
        }

        .paypal-tips {
            color: #333;
        }

        .layui-layer-setwin .layui-layer-close2 {
            display: none !important;
        }

        .layui-layer-page .layui-layer-content {
            border-radius: 0.4rem !important;
        }

        .yourclass2 {
            border-radius: 0.4rem !important;
        }

        .paypal-big-box {
            width: 8.9rem;
            position: relative;
            margin: 0 auto;
            height: 6rem;
            background: url(./img/payoneerbigBox.png) no-repeat;
            background-size: 100% 100%;
            overflow: hidden;
        }

        .paypal-layer .paypal-layer-content :nth-child(2) {
            color: #333;
        }

        .payoneerTaxInfo {
            font-size: 0.373rem;
            text-decoration: underline;
            width: 100%;
            text-align: center;
            margin-top: 5.8rem;
        }
    </style>
</head>

<body>
    <div style="height: 1rem;"></div>
    <div class="paypal-big-box">
        <p class="paypal-true-p1">Payoneer:<span class="paypal-big-mall"></span></p>
        <p class="paypal-true-p2"></p>
        <div class="paypal-input"><span class="money-logo">$</span><input oninput="value=value.replace(/[^\d]/g,'')"
                type="text" placeholder=""></div>
        <p class="paypal-true-p3"></p>
    </div>
    <div class="paypal-false-btn "></div>

    <div class="payoneerTaxInfo"><a href="../help/payoneerTaxHelp.html"></a></div>
    <!-- <p class="paypal-tips-b"><a
            href="https://www.paypal.com/hk/webapps/mpp/ua/useragreement-full?locale.x=zh_HK#exhibit_"></a></p> -->
    <div class="paypal-layer">
        <div class="paypal-layer-content">
            <p></p>
            <p></p>
        </div>
        <div class="paypal-layer-btnBox">
            <div class="paypal-layer-no"></div>
            <div class="paypal-layer-yes"></div>
        </div>
    </div>
</body>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="layer-v3.1.0/layer/layer.js"></script>
<script src="../../lib/langchange.js?v=100000"></script>
<script>
    $('title').html(langList[langType].payoneer20);
    $('.paypal-true-p2').html(langList[langType].payoneer15);

    $('.paypal-input input').attr('placeholder', langList[langType].payoneer16);
    $('.paypal-true-p3').html(langList[langType].payoneer17 + '$<span class="paypal-money">--</span>,<span class="paypal-all" style="color: #2ADAAB;">' + langList[langType].payoneer18 + '</span>');
    $('.paypal-false-btn ').html(langList[langType].payoneer10);

    $('.paypal-layer-content p').eq(0).html(langList[langType].cashreal13 + ' <span class="layer-money">--</span>' + langList[langType].cashreal14 + ' <br>' + langList[langType].cashreal15 + '<span class="layer-mall">--</span>' + langList[langType].cashreal16);
    $('.paypal-layer-content p').eq(1).html(langList[langType].payoneer21);
    $('.paypal-layer-no').html(langList[langType].payoneer4);
    $('.paypal-layer-yes').html(langList[langType].payoneer5);
    $('.paypal-tips-b a').html(langList[langType].payoneer19);
    $('.payoneerTaxInfo a').html(langList[langType].payoneer22);

    $('.payoneerTaxInfo a')[0].href += window.location.search
    //呼叫帮助
    try {
        var obj2 = {
            "cid": 9,
            "reqCode": new Date().getTime(),
            "data": {
                msg: '是否分享或帮助',
                shareType: 0,
                helpType: 1
            }
        }
        var obj = JSON.stringify(obj2);
        localStorage.help = 'payoneer'
        appCollaboration(obj)

    }
    catch (err) {
        console.log(err)
    }

    var data = getRequest()
    if (sessionStorage.bbb == undefined || sessionStorage.bbb == "undefined") {
        sessionStorage.bbb = data.uid;
        sessionStorage.lang = data.lang;
        sessionStorage.kkk = data.token;
    }


    $.ajax({
        url: $ip + '/withdraw/getbindway.html',
        type: "post",
        data: {
            os: "WEB",
            cid: "web_gw",
            lang: 2,
            uid: sessionStorage.bbb,
            token: sessionStorage.kkk
        },
        success: function (msg) {
            var data = JSON.parse(msg);
            console.log(data);
            btnOK = true;
            $(".paypal-big-mall").text(data.cardaddr);
            $(".paypal-money").text(parseInt(data.cashamount / 10) * 10);
            $('.paypal-input input').val(parseInt(data.cashamount / 10) * 10)
            if ($('.paypal-input input').val() > 49) {
                $(".paypal-false-btn").addClass("paypal-btn-ok");
            }
            //全部提現
            $(".paypal-all").on("click", function () {
                $('.paypal-input input').val(parseInt(data.cashamount / 10) * 10)
            })
            //輸入金額
            $('.paypal-input input').on("input", function () {
                if ($('.paypal-input input').val().length > 1 && $('.paypal-input input').val() % 10 != 0) {
                    $('.paypal-input input').val(parseInt($('.paypal-input input').val() / 10) * 10);
                    layer.msg(langList[langType].cashreal27)
                }

                if ($('.paypal-input input').val() > parseInt(data.cashamount / 10) * 10) {
                    $('.paypal-input input').val(parseInt(data.cashamount / 10) * 10);
                    layer.msg(langList[langType].cashreal14);
                }
                else if ($('.paypal-input input').val() < 50) {
                    $(".paypal-false-btn").removeClass("paypal-btn-ok");
                }
                else if ($('.paypal-input input').val() > 49) {
                    $(".paypal-false-btn").addClass("paypal-btn-ok");
                }
            })
            $(".paypal-btn-ok").on("click", function () {
                if (btnOK == true) {
                    btnOK = false;
                    $(".layer-money").text($(".paypal-input input").val());
                    $(".layer-mall").text($(".paypal-big-mall").text())
                    if ($('.paypal-input input').val() > 49) {
                        $.ajax({
                            url: $ip + '/withdraw/queryCashData.html',
                            type: "post",
                            data: {
                                os: "WEB",
                                cid: "web_gw",
                                lang: 2,
                                uid: sessionStorage.bbb,
                                token: sessionStorage.kkk,
                                amount: $('.paypal-input input').val()
                            },
                            success: function (res) {
                                var result = JSON.parse(res);
                                if (result.code == 1) {
                                    $('.totalCost').html(result.cashBonds);
                                    $('.taxCost').html(result.rateBonds);
                                    layer.open({
                                        type: 1,
                                        title: false,
                                        shadeClose: false,
                                        skin: 'yourclass2',
                                        area: ['7.2rem', '4.6rem'],
                                        content: $(".paypal-layer"),
                                    });
                                } else {
                                    layer.msg(result.msg)
                                }

                            }
                        })

                    } else {
                        layer.msg(langList[langType].cashreal32)
                        btnOK = true;
                    }

                }
            })

        }
    })

    $(".paypal-layer-no").on("click", function () {
        layer.closeAll()
        btnOK = true;
    })
    $(".paypal-layer-yes").on("click", function () {
        paypalGet()
    })
    function paypalGet() {
        if ($('.paypal-input input').val() > 49) {
            $.ajax({
                url: $ip + '/withdraw/payoneerApply.html',
                type: "post",
                data: {
                    os: "WEB",
                    cid: "h5_firefly",
                    lang: 2,
                    uid: sessionStorage.bbb,
                    amount: $('.paypal-input input').val(),
                    token: sessionStorage.kkk
                },
                success: function (msg) {
                    var data = JSON.parse(msg);
                    console.log(data);
                    if (data.code == 1) {
                        sessionStorage.payNum = data.wid;
                        window.location.href = 'withdrawEnd.html';
                    } else {
                        layer.msg(data.msg)
                        btnOK = true;
                    }
                }
            })
        } else {
            layer.msg(langList[langType].cashreal32);
        }

    }
</script>

</html>