Browse Source

分享文章截取字符串

jack 8 years ago
parent
commit
ce9666d46a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/js/professorArticle.js

+ 2 - 2
app/js/professorArticle.js

234
				var share = buildShareService();
234
				var share = buildShareService();
235
				if(share) {
235
				if(share) {
236
					shareMessage(share, "WXSceneSession", {
236
					shareMessage(share, "WXSceneSession", {
237
						content: oImgShare,
237
						content: oImgShare.substring(0,70),
238
						title: "【科袖文章】" + proticleName,
238
						title: "【科袖文章】" + proticleName,
239
						href: baseUrl + "/ekexiu/shareArticalinfor.html?articleId=" + proId,
239
						href: baseUrl + "/ekexiu/shareArticalinfor.html?articleId=" + proId,
240
						thumbs: [baseUrl + "/images/logo180.png"]
240
						thumbs: [baseUrl + "/images/logo180.png"]
244
				var share = buildShareService();
244
				var share = buildShareService();
245
				if(share) {
245
				if(share) {
246
					shareMessage(share, "WXSceneTimeline", {
246
					shareMessage(share, "WXSceneTimeline", {
247
						content: oImgShare,
247
						content: oImgShare.substring(0,70),
248
						title: "【科袖文章】" + proticleName,
248
						title: "【科袖文章】" + proticleName,
249
						href: baseUrl + "/ekexiu/shareArticalinfor.html?articleId=" + proId,
249
						href: baseUrl + "/ekexiu/shareArticalinfor.html?articleId=" + proId,
250
						thumbs: [baseUrl + "/images/logo180.png"]
250
						thumbs: [baseUrl + "/images/logo180.png"]