doum
2026-04-30 8d5f3a34166a487c5ff6c0834519fd1166ff7f9d
admin/public/gtxljz_share.html
@@ -1,22 +1,20 @@
<html>
    <title>
        <body></body>
    </title>
    <title> 高铁站行李寄存管理系统 </title>
    <body>
        <div id="content">ss</div>
    </body>
</html>
<script type="text/javascript">
    var ifr = document.createElement('iframe');
    ifr.style.display = 'none';
    $(function () {
        var flag = getPlatform();
        if (flag == 1) {
            android_download();
        }
        if (flag == 2) {
            ios_download();
        }
    var flag = getPlatform();
    if (flag == 1) {
        android_download();
    }
    if (flag == 2) {
        ios_download();
    }
    });
    function getPlatform() {
        var result = 0;
@@ -24,10 +22,12 @@
        if (url.indexOf("?") != -1) {
            result = url.substr(url.indexOf("=") + 1);
        }
        document.getElementById("content").innerHTML=result
        return result;
    }
    var ua = navigator.userAgent.split("(")[1].split(")")[0];
    /*var ua = navigator.userAgent.split("(")[1].split(")")[0];
    document.getElementById("content").innerHTML=ua
    var brand = "";
    var phone = [/IPHONE/gi, /huawei/gi, /mi/gi, /v1/gi, /OPPO/gi, /vivo/gi, /pcg/gi, /vivo/gi,];
    if (phone[0].test(ua)) {
@@ -48,7 +48,7 @@
    } else {
        brand = "Android";
        ifr.src = '';
    }
    }*/
    function ios_download() {
        window.location.href = "https://apps.apple.com/cn/app/xxxxxxx";
    }