推送链接更改
authorguangchao.xu <guangchao.xu@supwisdom.com>
Fri, 17 Jul 2020 08:56:37 +0000 (16:56 +0800)
committerguangchao.xu <guangchao.xu@supwisdom.com>
Fri, 17 Jul 2020 08:56:37 +0000 (16:56 +0800)
platforms/android/app/src/main/assets/www/main.html
www/js/mainmenu.js
www/js/more.js
www/main.html

index da00a53..db80468 100644 (file)
                var shareqq = document.getElementById("shareqq");
                var sharewx = document.getElementById("sharewx");
                shareqq.onclick = function() {
-                       alert("qq分享")
                        var args = {};
                        args.client = QQSDK.ClientType.QQ; //QQSDK.ClientType.QQ,QQSDK.ClientType.TIM;
                        args.scene = QQSDK.Scene.QQ; //QQSDK.Scene.QQZone,QQSDK.Scene.Favorite
                        }, args);
                }
                sharewx.onclick = function() {
-                       alert("wx分享")
                        Wechat.share({
                            message: {
                                title: "大理App分享",
                                description: "访客二维码",
                                thumb: "www/img/thumbnail.png",
-                               mediaTagName: "TEST-TAG-001",
-                               messageExt: "这是第三方带的测试字段",
-                               messageAction: "<action>dotalist</action>",
                                media: {
                                            type: Wechat.Type.LINK,
                                            webpageUrl: "http://www.jason-z.com"
index a8a5e2d..2996fb1 100644 (file)
@@ -15,7 +15,7 @@ var app = {
           if(device.platform == "Android") {
                        msgtype = event.extras.msgtype
                        if (msgtype ==="conference"){
-                               window.location= baseUrl + "/conference/signupconference?custid="+userid;
+                               window.location= baseUrl + "/conference/signupconference?userId="+userid;
                        }else if(msgtype ==="atte1"){
                                window.location= baseUrl + "/atte/reviewindex?custid="+userid;
                        }else if(msgtype ==="atte2"){
index 6c41713..7c6e8f8 100644 (file)
@@ -42,12 +42,12 @@ var app = {
                $("#moreBtn9").click(function(){ //会议记录
                    //window.location = "more.html";
                    //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid);
-                   showRet("https://yy.dlsmk.cn/wisdompolice/app/conference/conferencedtl?custid="+userid);
+                   showRet("https://yy.dlsmk.cn/wisdompolice/app/conference/conferencedtl?userId="+userid);
                })
-        $("#moreBtn2").click(function(){
+        $("#moreBtn2").click(function(){ //会议
             //window.location = "more.html";
             //showRet("https://yy.dlsmk.cn/wisdompolice/app/doorappindex?custid="+userid);
-            showRet("https://yy.dlsmk.cn/wisdompolice/app/conference/attendconference?custid="+userid);
+            showRet("https://yy.dlsmk.cn/wisdompolice/app/conference/signupconference?userId="+userid);
         })
 
     },
index da00a53..db80468 100644 (file)
                var shareqq = document.getElementById("shareqq");
                var sharewx = document.getElementById("sharewx");
                shareqq.onclick = function() {
-                       alert("qq分享")
                        var args = {};
                        args.client = QQSDK.ClientType.QQ; //QQSDK.ClientType.QQ,QQSDK.ClientType.TIM;
                        args.scene = QQSDK.Scene.QQ; //QQSDK.Scene.QQZone,QQSDK.Scene.Favorite
                        }, args);
                }
                sharewx.onclick = function() {
-                       alert("wx分享")
                        Wechat.share({
                            message: {
                                title: "大理App分享",
                                description: "访客二维码",
                                thumb: "www/img/thumbnail.png",
-                               mediaTagName: "TEST-TAG-001",
-                               messageExt: "这是第三方带的测试字段",
-                               messageAction: "<action>dotalist</action>",
                                media: {
                                            type: Wechat.Type.LINK,
                                            webpageUrl: "http://www.jason-z.com"