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
  • wxTrue.html
Find file
BlameHistoryPermalink
  • dabai's avatar
    footseen h5 移植 · 6161a8cd
    dabai committed 4 years ago
    6161a8cd
wxTrue.html 3.64 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
<!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="css/indexLi.css?v='23125142'">
     <link rel="stylesheet" href="../../css/background.css" />
    <script src="js/fsize.js"></script>
    <style type="text/css">
    	.wx-false-btn{
    		background:  #FF57A0;
    	}
    	.wx-true-banner .wx-true-p2{
    		color:#333;
    	}
    	.wx-true-banner .wx-true-p3,.wx-true-banner .wx-true-p4{
    		color:#666;
    	}
    	.wx-true-btn{
    		background: #FF57A0;
    	}
    </style>
</head>
<body>
<div style="height: 1rem;"></div>
<div class="wx-true-banner">
    <p class="wx-true-p1"><img src="img/big-wx.png" alt=""></p>
    <p class="wx-true-p2 L-Cn">微信提現(您已經綁定微信)</p>
    <p class="wx-true-p2 L-En">Wechat withdrawal (already bind wechat)</p>
    <p class="wx-true-p3 L-Cn">說明:微信搜索并關注“Foot Seen</p>
    <p class="wx-true-p3 L-En">Note: Search and follow "Foot Seen"  </p>
    <p class="wx-true-p4 L-Cn">可進行提現,<span class="go-wxHelp" style="color: #FF57A0;">微信公眾號提現指導></span></p>
    <p class="wx-true-p4 L-En">in WeChat to withdraw</p>
</div>
<div  class="wx-true-btn L-Cn" >去微信公眾號提現</div>
<div  class="wx-true-btn L-En" >in WeChat to withdraw </div>
</body>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="../../lib/globalizationJq.js"> </script>
<script>
    if(sessionStorage.lang==1)$("title").text("Wechat withdrawal")
    else $("title").text("微信提現")
    $ip = "https://webserver.yabolive.net";
    //$ip = "http://ceshi.yabolive.tv/web"
    $(".go-wxHelp").on("click", function () {
        window.location.href='../help/wxHelp.html';
    })
    $(".wx-true-btn").on("click", function () {
        var obj2 = {
            "cid": 10,
            "reqCode": new Date().getTime(),
            "data": {
                msg: '點擊確認有沒有這個APP',
                type:1
            }
        }
        var obj = JSON.stringify(obj2);
        appCollaboration(obj)
    })
    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);
        }
    }
    //客户端回调结果
    function appCallback(msg) {
//        var data=JSON.parse(msg)
        if(msg.result==1){
            window.location.href='http://yazhai://_weixin';
        }
        else{
            layer.msg("您還沒有安裝微信")
        }
    }
</script>
</html>