|
@ -526,14 +526,14 @@ mui.plusReady(function() {
|
526
|
526
|
var ss = shares['weixin'];
|
527
|
527
|
if(navigator.userAgent.indexOf('StreamApp') < 0 && navigator.userAgent.indexOf('qihoo') < 0) { //在360流应用中微信不支持分享图片
|
528
|
528
|
ss && ss.nativeClient && (shareBts.push({
|
529
|
|
title: '微信朋友圈',
|
|
529
|
title: '微信好友',
|
530
|
530
|
s: ss,
|
531
|
|
x: 'WXSceneTimeline'
|
|
531
|
x: 'WXSceneSession'
|
532
|
532
|
}),
|
533
|
533
|
shareBts.push({
|
534
|
|
title: '微信好友',
|
|
534
|
title: '微信朋友圈',
|
535
|
535
|
s: ss,
|
536
|
|
x: 'WXSceneSession'
|
|
536
|
x: 'WXSceneTimeline'
|
537
|
537
|
}));
|
538
|
538
|
}
|
539
|
539
|
// // 弹出分享列表
|
|
@ -546,17 +546,17 @@ mui.plusReady(function() {
|
546
|
546
|
if(resear) {
|
547
|
547
|
str = "研究方向:" + resear
|
548
|
548
|
}
|
549
|
|
if(e.index == 2) {
|
|
549
|
if(e.index == 1) {
|
550
|
550
|
var share = buildShareService();
|
551
|
551
|
if(share) {
|
552
|
552
|
shareMessage(share, "WXSceneSession", {
|
553
|
553
|
content: str,
|
554
|
554
|
title: "【科袖名片】" + professorName + " " + title + "",
|
555
|
|
href: "http://192.168.3.233/shareProinfor.html?professorId=" + proId,
|
|
555
|
href: "http://www.ekexiu.com/shareProinfor.html?professorId=" + proId,
|
556
|
556
|
thumbs: ["http://www.ekexiu.com/images/head/" + proId + "_l.jpg"]
|
557
|
557
|
});
|
558
|
558
|
}
|
559
|
|
} else if(e.index == 1) {
|
|
559
|
} else if(e.index == 2) {
|
560
|
560
|
var share = buildShareService();
|
561
|
561
|
if(share) {
|
562
|
562
|
shareMessage(share, "WXSceneTimeline", {
|