zhaojs
2023-07-06 c668ba9af0617e2f0f88f9435eb1ac18c7fc0aa1
no message
已修改1个文件
10 ■■■■ 文件已修改
public/html/mttran.html 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/html/mttran.html
@@ -34,10 +34,16 @@
                // uni.getEnv(function(res){
                //      alert(JSON.stringify(res));
                // });
                //const userAgent = navigator.userAgent.toLowerCase();
                //alert(userAgent);
                const userAgent = navigator.userAgent.toLowerCase();
                const iswx = userAgent.match(/weixin/i);
                if(iswx)
                {
                    window.location.href="https://click.meituan.com/t?t=1&c=2&p=jqgHar5zidEL";
                }
                else{
                window.location.href="imeituan://www.meituan.com/web?lch=cps:waimai:3:65c5f4b9271221c79eae104d969a48a3:94691jutuike123456:33:85459&url=https%3A%2F%2Fclick.meituan.com%2Ft%3Ft%3D1%26c%3D2%26p%3Dhl8Lar5zidEL";
           }
           }
        },
        mounted:function()
        {