|
|
|
|
450
|
}
|
450
|
}
|
451
|
if(e.index == 1) {
|
451
|
if(e.index == 1) {
|
452
|
var share = buildShareService();
|
452
|
var share = buildShareService();
|
|
|
453
|
|
453
|
if(share) {
|
454
|
if(share) {
|
454
|
shareMessage(share, "WXSceneSession", {
|
455
|
shareMessage(share, "WXSceneSession", {
|
455
|
content: str,
|
456
|
content: str,
|
456
|
title: "【科袖资源】" + resourceName + "",
|
457
|
title: "【科袖资源】" + resourceName + "",
|
457
|
href: baseUrl + "/shareResinfor.html?resourceId=" + resourceId,
|
458
|
href: baseUrl + "/shareResinfor.html?resourceId=" + resourceId,
|
458
|
thumbs: [baseUrl + "/images/resource/" + resourceId + ".jpg"]
|
|
|
|
|
459
|
// thumbs: [baseUrl + "/images/resource/" + resourceId + ".jpg"]
|
459
|
});
|
460
|
});
|
460
|
}
|
461
|
}
|
461
|
} else if(e.index == 2) {
|
462
|
} else if(e.index == 2) {
|
|
|
|
|
465
|
content: str,
|
466
|
content: str,
|
466
|
title: "【科袖资源】" + resourceName + " ",
|
467
|
title: "【科袖资源】" + resourceName + " ",
|
467
|
href: baseUrl + "/shareResinfor.html?resourceId=" + resourceId,
|
468
|
href: baseUrl + "/shareResinfor.html?resourceId=" + resourceId,
|
468
|
thumbs: [baseUrl + "/images/resource/" + resourceId + ".jpg"]
|
|
|
|
|
469
|
// thumbs: [baseUrl + "/images/resource/" + resourceId + ".jpg"]
|
469
|
});
|
470
|
});
|
470
|
}
|
471
|
}
|
471
|
}
|
472
|
}
|