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"
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"){
$("#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);
})
},
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"