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
  • phonepay_old
  • gash-for.html
Find file
BlameHistoryPermalink
  • agan's avatar
    xg · 40929f4c
    agan committed 9 months ago
    40929f4c
gash-for.html 9.22 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
<!DOCTYPE html>
<html>

<head lang="en">
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, 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">
    <link rel="stylesheet" href="../css/base.css" />
    <link rel="stylesheet" href="../css/phonepay.css?v='20180509'" />
    <link rel="stylesheet" href="../css/gash.css">
    <script src='../lib/fsize.js'></script>
    <title></title>
    <meta name="keywords" content="Foot Seen,直播福利,直播,uplive,美女直播,美女視頻,泡泡寶盒,視頻直播,一直播,rc唱唱,美女直播間,丫播直播">
    <meta name="description"
        content="Foot Seen直播,深夜福利派送秀場。花樣主播私密秀,直播分享生活日常,記錄生活點點滴滴,陪你一起度過最美的時光,在直播間偶遇你的TA,連麥私聊,親密互動,說說生活,聊聊人生,談談理想......">
    <style type="text/css">
        body,
        .gash-for-ul li {
            background-color: #FFF;
        }

        .gash-for-ul li span {
            color: #FF57A0;
        }

        .gash-for-ul li img {
            margin-top: -.2rem;
        }

        .gash-for-ul li button {
            background: #FF57A0;
        }

        .gash-tips {
            color: #666;
        }

        .mHead {
            width: 10rem;
            height: 1rem;
            position: relative;
            background: #fff;
            display: none;
        }

        .closeBtn {
			width: 0.64rem;
			height: 0.64rem;
			padding-left: 0.64rem;
			background: url(../img/back.png) no-repeat;
			background-size: contain;
			position: absolute;
			top: 0.18rem;
			left: 0.32rem;
			font-size: 0.32rem;
			line-height: 0.64rem;;
            white-space: nowrap;
		}

        .closeBtn>a {
            width: 100%;
            height: 100%;
            display: block;
        }
    </style>
</head>

<body>
    <div class="mHead">
        <div class="closeBtn"><a class="mClose" href="javascript:window.opener=null;window.open('','_self');window.close();">關閉</a></div>
    </div>
    <ul class="gash-for-ul"></ul>
    <div id="gashp"></div>
    <p class="gash-tips"></p>
</body>
<script src="../lib/jquery-3.1.1.min.js"></script>
<script src="../lib/payLangchange.js?v=202212301624"></script>
<script>
    $('title').text(langList[langType].paytitle);
    $('.gash-tips').text(langList[langType].ques);
    $('.mClose').html(langList[langType].close);
    var bbb = location.href;
    var data = url_get_params(bbb)

    if (data.os == 'h5') {
        $('.mHead').show();
    }
    //    var $ip='http://ceshi.yabolive.tv/web'
    var $ip = "https://webserver.yabolive.net";
    $.ajax({
        url: $ip + "/setting/getRecharge.html",
        type: "post",
        data: {
            'cid': "web_gw",
            'os': "WEB",
            lang: sessionStorage.lang,
            'vest': 0,
            'paytype': sessionStorage.pay
        },
        error: function (msg) {
            console.log('请求出错');
        },
        success: function (msg) {
            var data = JSON.parse(msg);
            var html = [];
            for (var i = 0; i < data.data.length; i++) {
                //                html+="<div class=gash-more>";
                //                html+="<span class='gash-dm'><img style='width: 2rem'src='../img/zuan.png'>"+data.data[i].diamond+"</span>";
                //                html+="<span class='gash-money'>"+data.data[i].price[0].currency+"<b>"+data.data[i].price[0].price+"</b></span>";
                //                html+="<span class='gash-rid'>"+data.data[i].rid+"</span>";
                //                html+="</div>";
                if (sessionStorage.select == "BNK82201" || sessionStorage.select == "TELTCC01") {
                    if (data.data[i].price[0].price < 10001) {
                        html += '<li>';
                        html += '<img src="../img/zuan.png" alt="">';
                        html += '<span>' + data.data[i].diamond + '</span>';
                        html += '<button>' + data.data[i].price[0].currency + "<i style='font-style:normal'>" + data.data[i].price[0].price + '</i></button>';
                        html += "<span class='gash-rid'>" + data.data[i].rid + "</span>";
                        html += '</li>';
                    }
                }
                else if (sessionStorage.select == "TELCHT05" || sessionStorage.select == 'TELCHT06' || sessionStorage.select == 'TELCHT07') {
                    if (data.data[i].price[0].price < 2001) {
                        html += '<li>';
                        html += '<img src="../img/zuan.png" alt="">';
                        html += '<span>' + data.data[i].diamond + '</span>';
                        html += '<button>' + data.data[i].price[0].currency + "<i style='font-style:normal'>" + data.data[i].price[0].price + '</i></button>';
                        html += "<span class='gash-rid'>" + data.data[i].rid + "</span>";
                        html += '</li>';
                    }
                }
                else if (sessionStorage.select == "TELSON04") {
                    if (data.data[i].price[0].price < 1001) {
                        html += '<li>';
                        html += '<img src="../img/zuan.png" alt="">';
                        html += '<span>' + data.data[i].diamond + '</span>';
                        html += '<button>' + data.data[i].price[0].currency + "<i style='font-style:normal'>" + data.data[i].price[0].price + '</i></button>';
                        html += "<span class='gash-rid'>" + data.data[i].rid + "</span>";
                        html += '</li>';
                    }
                }
                else if (sessionStorage.select == "TELFET01") {
                    if (data.data[i].price[0].price < 3001) {
                        html += '<li>';
                        html += '<img src="../img/zuan.png" alt="">';
                        html += '<span>' + data.data[i].diamond + '</span>';
                        html += '<button>' + data.data[i].price[0].currency + "<i style='font-style:normal'>" + data.data[i].price[0].price + '</i></button>';
                        html += "<span class='gash-rid'>" + data.data[i].rid + "</span>";
                        html += '</li>';
                    }
                }
                else {
                    html += '<li>';
                    html += '<img src="../img/zuan.png" alt="">';
                    html += '<span>' + data.data[i].diamond + '</span>';
                    html += '<button>' + data.data[i].price[0].currency + "<i style='font-style:normal'>" + data.data[i].price[0].price + '</i></button>';
                    html += "<span class='gash-rid'>" + data.data[i].rid + "</span>";
                    html += '</li>';
                }

            }
            $(".gash-for-ul").html(html);
            $(".gash-for-ul li").on("click", function () {

                sessionStorage.money = $(this).children("button").children('i').text();
                sessionStorage.rid = $(this).children(".gash-rid").text();
                $.ajax({
                    url: $ip + "/pay/getGashP99Pay.html",
                    type: "post",
                    data: {
                        'lang': 2,
                        'uid': sessionStorage.uid,
                        // 'cid': data.cidStr || "web_gw",
                        // 'os': data.osStr,
                        'product': "橙钻充值",
                        'country': "86",
                        'rid': sessionStorage.rid,
                        'payType': 'GASHP99PAY',
                        'payTypeSub': "H5",
                        'amount': sessionStorage.money * 100,
                        'extend': sessionStorage.select,
                        //                'returnUrl':$ip+"/payorder/gash/returnH5.html",
                    },
                    success: function (msg) {
                        var datao = msg.split("##")
                        console.log(msg);
                        sessionStorage.oid = datao[0];
                        //                        $.cookie('oid',datao[0],{expires:1});
                        var reg = /<head>[\s\S]*<\/body>/;
                        var html2 = [];
                        html2 += msg.match(reg)[0];
                        go = true;
                        $("#gashp").html(html2);

                    }
                })

            })
        }
    })

    function url_get_params(url_path) {
        var url = url_path;
        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;
    }
</script>
<script>
    var f1 = setInterval(function () {
        if (go) {
            document.form1.submit();
        }
    }, 1000)
</script>

</html>