portal html css js resource

a.html 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>文章分享-科袖网</title>
  6. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <link rel="stylesheet" href="../css/reset.css" />
  8. <link rel="stylesheet" href="../css/common.css" />
  9. <link rel="stylesheet" href="../css/share.css" />
  10. <script type="text/javascript" src="../js/jquery-1.11.1.js"></script>
  11. <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  12. <script type="text/javascript" src="../js/public/shareCom.js"></script>
  13. <style>
  14. html,body {background: #FFFFFF;}
  15. </style>
  16. </head>
  17. <body>
  18. <div class="contentBody2">
  19. <div class="topFu clearfix">
  20. <div class="topLogo floatL"></div>
  21. <div class="goSpan floatR">
  22. <span class="openSpan">打开</span>
  23. </div>
  24. </div>
  25. <div class="showDetail" style="padding-top:56px;">
  26. <div class="h1Font hWeight" id="articleName"></div>
  27. <div class="madiaBlock">
  28. <ul class="mui-table-view noactiveTab">
  29. <li>
  30. <div class="flexCenter clearfix">
  31. <a id="personAL">
  32. <div class="madiaHead useHead" id="messImg"></div>
  33. <div class="madiaInfo">
  34. <p><span class="h1Font ellipsisSty" id="name"></span><em class="authiconNew" title="" id="auth"></em></p>
  35. <p class="h3Font" id="oTime"></p>
  36. </div>
  37. </a>
  38. <div class="goSpan">
  39. <span class="attenSpan">关注</span>
  40. </div>
  41. </div>
  42. </li>
  43. </ul>
  44. </div>
  45. <!--文章内容区-->
  46. <div class="showMain" id="articleContent">
  47. </div>
  48. <!--标签模块-->
  49. <ul class="tagList displayNone">
  50. <!--<li>
  51. <span class="h2Font">金属材料工程与腐</span>
  52. </li>-->
  53. </ul>
  54. <div class="madiaBlock displayNone" id="correlationExpert">
  55. <div class="madiaTit">相关专家</div>
  56. <ul class="mui-table-view" id="expertList">
  57. </ul>
  58. </div>
  59. <div class="madiaBlock displayNone" id="resource">
  60. <div class="madiaTit">相关资源</div>
  61. <ul class="mui-table-view" id="resourceList">
  62. </ul>
  63. </div>
  64. <div class="madiaBlock displayNone" id="correlationCompany">
  65. <div class="madiaTit">相关企业</div>
  66. <ul class="mui-table-view" id="companyList">
  67. </ul>
  68. </div>
  69. <!--点赞模块-->
  70. <div class="thumbBlock">
  71. <span class="thumbBtn"><span id="snum"></span></span><!-- thumbedBtn 已赞 201-->
  72. </div>
  73. <!--您可能感兴趣的文章-->
  74. <div class="madiaBlock displayNone" id="article">
  75. <div class="madiaTit">您可能感兴趣的文章</div>
  76. <ul class="mui-table-view" id="articleList">
  77. </ul>
  78. </div>
  79. <!--留言-->
  80. <div class="madiaBlock displayNone">
  81. <div class="madiaTit" id="olisten">留言</div>
  82. <ul class="mui-table-view commentBlock commentsArea">
  83. </ul>
  84. </div>
  85. </div>
  86. <div class="shareEcode">
  87. <img class="Ecodecon" src="../images/ecordCard.jpg" />
  88. </div>
  89. </div>
  90. <script type="text/javascript">
  91. $(document).ready(function() {
  92. var imgUrl ="http://www.ekexiu.com/images/logo180.png";
  93. var lineLink = document.location.href;
  94. var descContent="";
  95. var shareTitle;
  96. var appid = '';
  97. var articleId = GetQueryString("id");
  98. leword(500, 1);//liuyan
  99. //进入发布者详情页面
  100. $("#personAL").on("click", function() {
  101. var reType = this.getAttribute("data-type");
  102. if(reType=="1"){
  103. var proId=this.getAttribute("data-id");
  104. location.href="http://" + window.location.host + "/e/p.html?id=" + proId;
  105. }else{
  106. var cmpId=this.getAttribute("data-id");
  107. location.href="http://" + window.location.host + "/e/c.html?id=" + cmpId;
  108. }
  109. })
  110. $("body").on("click",".goSpan,.thumbBtn",function(){
  111. location.href="http://a.app.qq.com/o/simple.jsp?pkgname=com.ekexiu.app";
  112. $(this).addClass("activeThis");
  113. })
  114. $("#articleList").on("click","li", function() {
  115. var OdataId=this.getAttribute("data-id");
  116. location.href="http://" + window.location.host + "/e/a.html?id=" + OdataId;
  117. })
  118. $("#resourceList").on("click","li", function() {
  119. var OdataId=this.getAttribute("data-id");
  120. location.href="http://" + window.location.host + "/e/r.html?id=" + OdataId;
  121. })
  122. $("#expertList").on("click","li", function() {
  123. var OdataId=this.getAttribute("data-id");
  124. location.href="http://" + window.location.host + "/e/p.html?id=" + OdataId;
  125. })
  126. $(".commentBlock").on("click","li>.flexCenter",function(){
  127. var OdataId=this.getAttribute("data-id");
  128. location.href="http://" + window.location.host + "/e/p.html?id=" + OdataId;
  129. })
  130. $("#companyList").on("click","li", function() {
  131. var OdataId=this.getAttribute("data-id");
  132. location.href="http://" + window.location.host + "/e/c.html?id=" + OdataId;
  133. })
  134. var oArticleModule = {
  135. articleId: GetQueryString("id"),
  136. oAjaxGet: function(url, obj, oType, oFun) {
  137. $.ajax(url,{
  138. data: obj,
  139. dataType: 'json', //服务器返回json格式数据
  140. type: oType, //HTTP请求类型
  141. timeout: 10000, //超时时间设置为10秒;
  142. traditional: true,
  143. success: function(data) {
  144. if(data.success) {
  145. oFun(data.data);
  146. }
  147. },
  148. error: function(e) {
  149. return;
  150. }
  151. });
  152. },
  153. articleMess: function($data) {
  154. console.log($data);
  155. document.getElementById("articleName").innerHTML = $data.articleTitle;
  156. shareTitle=$data.articleTitle;
  157. document.title=$data.articleTitle;
  158. stt = $data.articleImg.substring(0, 9);
  159. imgUrl="http://www.ekexiu.com/data/article/" + stt + $data.articleId + "_s.jpg";
  160. console.log(stt)
  161. if($data.articleContent) {
  162. document.getElementById("articleContent").innerHTML = $data.articleContent;
  163. descContent=document.getElementById("articleContent").innerText.substr(0,40);
  164. }
  165. if($data.subject) {
  166. document.getElementsByClassName("tagList")[0].style.display = "block";
  167. var arr = $data.subject.split(",");
  168. for(var i in arr) {
  169. var oLi = document.createElement("li");
  170. oLi.innerHTML = '<span class="h2Font">' + arr[i] + '</span>'
  171. document.getElementsByClassName("tagList")[0].appendChild(oLi);
  172. }
  173. }
  174. document.getElementById("snum").innerHTML = $data.articleAgree;
  175. document.getElementById("oTime").innerHTML = commenTime($data.publishTime);
  176. document.getElementById("personAL").setAttribute("data-type",$data.articleType);
  177. if($data.articleType == 1) {
  178. oArticleModule.oAjaxGet("../ajax/article/ralateArticles", {
  179. "keys": arr,
  180. "professorId": oArticleModule.oWner,
  181. "articleId": oArticleModule.articleId,
  182. "rows": 5
  183. }, "get", oArticleModule.correlationArticle);
  184. document.getElementById("personAL").setAttribute("data-id",$data.professorId);
  185. oArticleModule.oAjaxGet("../ajax/professor/editBaseInfo/" + $data.professorId, "", "get", oArticleModule.professorMess);
  186. } else {
  187. oArticleModule.oAjaxGet("../ajax/article/ralateArticles", {
  188. "keys": arr,
  189. "orgId": oArticleModule.oWner,
  190. "articleId": oArticleModule.articleId,
  191. "rows": 5
  192. }, "get", oArticleModule.correlationArticle);
  193. document.getElementById("personAL").setAttribute("data-id",$data.orgId);
  194. oArticleModule.oAjaxGet("../ajax/org/" + $data.orgId, "", "get", oArticleModule.business);
  195. }
  196. },
  197. professorMess: function($data) {
  198. console.log($data);
  199. document.getElementById('name').innerHTML = $data.name;
  200. if($data.hasHeadImage == 1) {
  201. document.getElementById("messImg").style.backgroundImage = "url(../images/head/" + $data.id + "_l.jpg" + ")";
  202. }
  203. var userType = autho($data.authType, $data.orgAuth, $data.authStatus);
  204. document.getElementById("auth").classList.add(userType.sty);
  205. },
  206. business: function($data) {
  207. if($data.forShort) {
  208. document.getElementById('name').innerHTML = $data.forShort;
  209. }else{
  210. document.getElementById('name').innerHTML = $data.name;
  211. }
  212. var mgimg="../images/default-icon.jpg";
  213. if($data.hasOrgLogo) {
  214. mgimg="/images/org/" + $data.id + ".jpg";
  215. }
  216. document.getElementById("messImg").classList.add("cmpHead2");
  217. document.getElementById("messImg").innerHTML='<div class="boxBlock"><img class="boxBlockimg" id="companyImg" src="'+ mgimg+'"></div>'
  218. if($data.authStatus == 3) {
  219. document.getElementById("auth").classList.add("authicon-com-ok");
  220. }
  221. },
  222. correlationExpert: function($data) {
  223. if($data.length == 0) {
  224. return;
  225. }
  226. document.getElementById("correlationExpert").classList.remove("displayNone");
  227. for(var i = 0; i < $data.length; i++) {
  228. (function(n) {
  229. oArticleModule.oAjaxGet("../ajax/professor/editBaseInfo/" + $data[n].professorId, "", "get", oArticleModule.expertList);
  230. })(i)
  231. }
  232. },
  233. expertList: function($data) {
  234. var os = "";
  235. if($data.title) {
  236. if($data.orgName) {
  237. os = $data.title + "," + $data.orgName;
  238. } else {
  239. os = $data.title;
  240. }
  241. } else {
  242. if($data.office) {
  243. if($data.orgName) {
  244. os = $data.office + "," + $data.orgName;
  245. } else {
  246. os = $data.office;
  247. }
  248. } else {
  249. if($data.orgName) {
  250. os = $data.orgName;
  251. }
  252. }
  253. }
  254. var baImg = "../images/default-photo.jpg";
  255. if($data.hasHeadImage == 1) {
  256. baImg = "/images/head/" + $data.id + "_l.jpg";
  257. }
  258. var userType = autho($data.authType, $data.orgAuth, $data.authStatus);
  259. var li = document.createElement("li");
  260. li.setAttribute("data-id", $data.id);
  261. li.innerHTML = '<div class="flexCenter clearfix">' +
  262. '<div class="madiaHead useHead" style="background-image:url(' + baImg + ')"></div>' +
  263. '<div class="madiaInfo">' +
  264. '<p><span class="h1Font">' + $data.name + '</span><em class="authiconNew ' + userType.sty + '"></em></p>' +
  265. '<p class="ellipsisSty h2Font">' + os + '</p>' +
  266. '</div>' +
  267. '</div>'
  268. document.getElementById("expertList").appendChild(li);
  269. },
  270. correlationResource: function($data) {
  271. console.log($data);
  272. if($data.length == 0) {
  273. return;
  274. }
  275. document.getElementById("resource").classList.remove("displayNone");
  276. for(var i = 0; i < $data.length; i++) {
  277. oArticleModule.oAjaxGet( "../ajax/resource/queryOne", {
  278. "resourceId": $data[i].resourceId
  279. }, "get", oArticleModule.rsourceList);
  280. }
  281. },
  282. rsourceList: function($data) {
  283. var namepo, userType;
  284. if($data.resourceType == 1) {
  285. namepo = $data.editProfessor.name;
  286. userType = autho($data.editProfessor.authType, $data.editProfessor.orgAuth, $data.editProfessor.authStatus);
  287. } else {
  288. userType = {};
  289. if($data.organization.forShort){
  290. namepo = $data.organization.forShort;
  291. }else{
  292. namepo = $data.organization.name;
  293. }
  294. if($data.organization.authStatus == 3) {
  295. userType.sty = "authicon-com-ok"
  296. }
  297. }
  298. var rImg = "/data/resource/" + $data.images[0].imageSrc;
  299. var li = document.createElement("li");
  300. li.setAttribute("data-id", $data.resourceId);
  301. li.innerHTML = '<div class="flexCenter OflexCenter clearfix">' +
  302. ' <div class="madiaHead resouseHead" style="background-image:url(' + rImg + ')"></div>' +
  303. '<div class="madiaInfo OmadiaInfo">' +
  304. '<p class="ellipsisSty h1Font">' + $data.resourceName + '</p>' +
  305. '<p class="ellipsisSty h2Font">用途:' + $data.supportedServices + '</p>' +
  306. '<p><span class="h2Font">' + namepo + '</span><em class="authiconNew ' + userType.sty + '" title="科袖认证专家"></em></p>' +
  307. '</div>' +
  308. '</div>'
  309. document.getElementById("resourceList").appendChild(li);
  310. },
  311. correlationArticle: function($data) {
  312. if($data.length == 0) {
  313. return;
  314. }
  315. document.getElementById('article').classList.remove("displayNone");
  316. for(var i = 0; i < $data.length; i++) {
  317. var ourl, of ;
  318. if($data[i].articleType == 1) {
  319. ourl = "/ajax/professor/editBaseInfo/" + $data[i].professorId; of = 1;
  320. } else {
  321. ourl = "/ajax/org/" + $data[i].orgId; of = 2;
  322. }
  323. var arImg = "../images/default-artical.jpg";
  324. if($data[i].articleImg) {
  325. arImg = "/data/article/" + $data[i].articleImg
  326. }
  327. var title = $data[i].articleTitle;
  328. $.ajax({
  329. url:ourl,
  330. dataType: 'json', //服务器返回json格式数据
  331. type: "get", //HTTP请求类型
  332. timeout: 10000, //超时时间设置为10秒;
  333. async: false,
  334. traditional: true,
  335. success: function(data) {
  336. if(data.success) {
  337. var namepo=""
  338. var li = document.createElement("li");
  339. if( of == 1) {
  340. namepo = data.data.name;
  341. var userType = autho(data.data.authType, data.data.orgAuth, data.data.authStatus);
  342. li.setAttribute("owner-id", data.data.id);
  343. li.setAttribute("data-type", 1);
  344. } else {
  345. if(data.data.forShort){
  346. namepo = data.data.forShort;
  347. }else{
  348. namepo = data.data.name;
  349. }
  350. var userType = {};
  351. if(data.data.authStatus == 3) {
  352. userType.sty = 'authicon-com-ok'
  353. } else {
  354. userType.sty = "e"
  355. }
  356. li.setAttribute("owner-id", data.data.id);
  357. li.setAttribute("data-type", 2);
  358. }
  359. li.setAttribute("data-id", $data[i].articleId);
  360. li.className = "mui-table-view-cell";
  361. li.innerHTML = '<div class="flexCenter OflexCenter clearfix">' +
  362. '<div class="madiaHead artHead" style="background-image:url(' + arImg + ')"></div>' +
  363. '<div class="madiaInfo OmadiaInfo">' +
  364. '<p class="ellipsisSty-2 h1Font">' + title + '</p>' +
  365. '<p><span class="h2Font" style="margin-right:10px">'+namepo+'</span><span class="time">'+commenTime($data[i].publishTime)+'</span></p>'+
  366. '</div>' +
  367. '</div>'
  368. document.getElementById("articleList").appendChild(li);
  369. }
  370. },
  371. error: function() {
  372. }
  373. });
  374. }
  375. },
  376. correlationCompany: function($data) {
  377. console.log($data);
  378. if($data.length == 0) {
  379. return;
  380. }
  381. document.getElementById("correlationCompany").classList.remove("displayNone");
  382. for(var i = 0; i < $data.length; i++) {
  383. oArticleModule.oAjaxGet( "../ajax/org/"+ $data[i].orgId, {
  384. }, "get", oArticleModule.companyList);
  385. }
  386. },
  387. companyList: function($data) {
  388. var baImg = "../images/default-icon.jpg";
  389. if($data.hasHeadImage == 1) {
  390. baImg = "/images/org/" + $data.id + "_l.jpg";
  391. }
  392. var namepo,userType=""
  393. if($data.authStatus == 3){
  394. userType= "authicon-com-ok"
  395. }
  396. if($data.forShort){
  397. namepo = $data.forShort;
  398. }else{
  399. namepo = $data.name;
  400. }
  401. /*应用行业*/
  402. var proOther = "";
  403. if($data.industry) {
  404. proOther = $data.industry.replace(/,/gi, " | ");
  405. }
  406. var li = document.createElement("li");
  407. li.setAttribute("data-id", $data.id);
  408. li.innerHTML = '<div class="flexCenter OflexCenter clearfix">' +
  409. '<div class="madiaHead cmpHead">'+
  410. '<div class="boxBlock"><img class="boxBlockimg companyImg" id="oimg" src="'+ baImg +'"></div>'+
  411. '</div>' +
  412. '<div class="madiaInfo OmadiaInfo">' +
  413. '<p><span class="h1Font">' + namepo + '</span><em class="authiconNew ' + userType + '"></em></p>' +
  414. '<p class="ellipsisSty h2Font">' + proOther + '</p>' +
  415. '</div>' +
  416. '</div>'
  417. document.getElementById("companyList").appendChild(li);
  418. }
  419. }
  420. /*文章详细内容*/
  421. oArticleModule.oAjaxGet("../ajax/article/query", {
  422. articleId: oArticleModule.articleId
  423. }, "get", oArticleModule.articleMess);
  424. oArticleModule.oAjaxGet("../ajax/article/ralatePro", {
  425. "articleId": oArticleModule.articleId
  426. }, "get", oArticleModule.correlationExpert);
  427. oArticleModule.oAjaxGet("../ajax/article/ralateRes", {
  428. "articleId": oArticleModule.articleId
  429. }, "get", oArticleModule.correlationResource);
  430. oArticleModule.oAjaxGet("../ajax/article/ralateOrg", {
  431. "articleId": oArticleModule.articleId
  432. }, "get", oArticleModule.correlationCompany);
  433. //留言
  434. function leword(row, aa){
  435. $.ajax({
  436. url:"../ajax/leaveWord/ql",
  437. data: {
  438. "articleId":articleId,
  439. "rows":row },
  440. dataType: 'json', //服务器返回json格式数据
  441. type: 'get', //HTTP请求类型
  442. timeout: 10000, //超时时间设置为10秒;
  443. traditional: true,
  444. success: function(data) {
  445. if(data.success) {
  446. console.log(data)
  447. document.getElementsByClassName('commentBlock')[0].innerHTML = ""
  448. if(data.data.length == 0) {
  449. return;
  450. }
  451. document.getElementById("olisten").parentNode.classList.remove("displayNone");
  452. for(var i = 0; i < data.data.length; i++) {
  453. var oText = ""
  454. var userType = autho(data.data[i].professor.authType, data.data[i].professor.orgAuth, data.data[i].professor.authStatus);
  455. var baImg = "../images/default-photo.jpg";
  456. if(data.data[i].professor.hasHeadImage == 1) {
  457. baImg = "/images/head/" + data.data[i].professor.id + "_l.jpg";
  458. }
  459. var li = document.createElement("li");
  460. li.innerHTML = '<div class="flexCenter clearfix" data-id="' + data.data[i].professor.id + '">' +
  461. '<div class="madiaHead useHead useHeadMsg" style="background-image:url(' + baImg + ')"></div>' +
  462. '<div class="madiaInfo">' +
  463. '<p><span class="h1Font" data-id="' + data.data[i].professor.id + '">' + data.data[i].professor.name + '</span><em class="authiconNew ' + userType.sty + '" title="科袖认证专家"></em></p>' +
  464. '<p class="h2Font">' + data.data[i].content + '</p>' +
  465. '<p class="operateSpan">' +
  466. '<span class="commenttime">' + commenTime(data.data[i].createTime) + '</span>' +
  467. // '<span data-id="' + data.data[i].id + '" class="dele">' + oText + '</span>' +
  468. '</p>' +
  469. '</div>'
  470. document.getElementsByClassName("commentBlock")[0].appendChild(li);
  471. }
  472. }
  473. },
  474. error: function() {
  475. }
  476. });
  477. }
  478. //浏览量
  479. $.ajax({
  480. "url" : "../ajax/article/pageViews",
  481. "type" : "POST" ,
  482. "dataType" : "json",
  483. "data" :{"articleId":articleId},
  484. "success" : function(data) {
  485. if (data.success){
  486. console.log(data);
  487. }
  488. },
  489. "error":function(){
  490. }
  491. });
  492. /*微信分享*/
  493. $.ajax({
  494. url: "../ajax/weixin/jsapiTicket",
  495. type: 'get',
  496. dataType: 'json',
  497. contentType: "application/x-www-form-urlencoded; charset=utf-8",
  498. data: {
  499. 'url': location.href.split('#')[0]
  500. },
  501. success: function(data) {
  502. if(data.data) {
  503. wx.config({
  504. debug: false, //调试模式好犀利
  505. appId: data.data.appId,
  506. timestamp: data.data.timestamp,
  507. nonceStr: data.data.nonceStr,
  508. signature: data.data.signature,
  509. jsApiList: [ // 所有要调用的 API 都要加到这个列表中
  510. "onMenuShareAppMessage",
  511. "onMenuShareTimeline",
  512. "onMenuShareQQ",
  513. "onMenuShareQZone",
  514. "scanQRCode",
  515. ]
  516. });
  517. wx.ready(function() {
  518. // 在这里调用 API
  519. wx.onMenuShareAppMessage({ //分享给朋友
  520. title: shareTitle, // 分享标题
  521. desc: descContent, // 分享描述
  522. link: lineLink, // 分享链接
  523. imgUrl: imgUrl, // 分享图标
  524. success: share_success_callback,
  525. cancel: share_cancel_callback
  526. });
  527. wx.onMenuShareTimeline({ //分享到朋友圈
  528. title: shareTitle, // 分享标题
  529. desc: descContent, // 分享描述
  530. link: lineLink, // 分享链接
  531. imgUrl: imgUrl, // 分享图标
  532. success: share_success_callback,
  533. cancel: share_cancel_callback
  534. });
  535. wx.onMenuShareQQ({ //分享到QQ
  536. title: shareTitle, // 分享标题
  537. desc: descContent, // 分享描述
  538. link: lineLink, // 分享链接
  539. imgUrl: imgUrl, // 分享图标
  540. success: share_success_callback,
  541. cancel: share_cancel_callback
  542. });
  543. wx.onMenuShareQZone({ //分享到QQ空间
  544. title: shareTitle, // 分享标题
  545. desc: descContent, // 分享描述
  546. link: lineLink, // 分享链接
  547. imgUrl: imgUrl, // 分享图标
  548. success: share_success_callback,
  549. cancel: share_cancel_callback
  550. });
  551. });
  552. //分享成功后的回调函数
  553. function share_success_callback() {}
  554. //用户取消分享后执行的回调函数
  555. function share_cancel_callback() {}
  556. }
  557. }
  558. });
  559. })
  560. </script>
  561. </body>
  562. </html>