Browse Source

屏蔽分享资源图片

jack 8 years ago
parent
commit
146f52ec2a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/js/resinforbrow.js

+ 3 - 2
app/js/resinforbrow.js

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
			}