From fbf3cd3176f6035436f0f0bf94dc01d44e712128 Mon Sep 17 00:00:00 2001 From: heyuntao <heyuntao@LAPTOP-MP4HD5NS> Date: 星期五, 14 七月 2023 11:00:06 +0800 Subject: [PATCH] Merge branch 'feature/v1.1.4开发' of http://60.204.153.149:8081/r/dfgApi into feature/v1.1.4开发 --- public/html/mttran.html | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/public/html/mttran.html b/public/html/mttran.html index 28480ab..dadc47a 100644 --- a/public/html/mttran.html +++ b/public/html/mttran.html @@ -35,7 +35,14 @@ // alert(JSON.stringify(res)); // }); const userAgent = navigator.userAgent.toLowerCase(); - alert(userAgent); + 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() -- Gitblit v1.9.3