Browse Source

资源微博分享

luyanan 8 years ago
parent
commit
21a19b0fa8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/js/resourceShow.js

+ 3 - 3
app/js/resourceShow.js

639
			var share = buildShareService("sinaweibo");
639
			var share = buildShareService("sinaweibo");
640
			if(share) {
640
			if(share) {
641
				shareMessage(share, "sinaweibo", {
641
				shareMessage(share, "sinaweibo", {
642
					content: oapplication.innerHTML,
643
					title: oresourceName.innerHTML,
642
					content: oresourceName.innerHTML,
643
//					title: oresourceName.innerHTML,
644
					href: baseUrl + "/ekexiu/shareResinfor.html?resourceId=" + resourceId,
644
					href: baseUrl + "/ekexiu/shareResinfor.html?resourceId=" + resourceId,
645
					thumbs: [firstImg.querySelectorAll("img")[0].getAttribute("src").replace(/.jpg/,"_s.jpg") ]
645
//					thumbs: [firstImg.querySelectorAll("img")[0].getAttribute("src").replace(/.jpg/,"_s.jpg") ]
646
					
646
					
647
				});
647
				});
648
			}
648
			}