portal html css js resource

paperShow.js 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. $(document).ready(function() {
  2. loginStatus(); //判断个人是否登录
  3. var userid = $.cookie("userid");
  4. var userName = $.cookie("userName");
  5. var paperId = GetQueryString("paperId");
  6. ifcollectionAbout(paperId,$(".attenSpan").eq(0), 5)
  7. getPaperMe();
  8. pageViewsVal();
  9. if(userid && userid != "null" && userid != null){
  10. $(".ifLoginOn").removeClass("displayNone");
  11. }else{
  12. $(".ifLoginUn").removeClass("displayNone");
  13. }
  14. //点击收藏按钮
  15. $("#collectBtn").on('click', function() {
  16. if(userid && userid != null && userid != "null") {
  17. if($(this).is('.icon-collected')){
  18. cancelCollectionAbout(paperId,$(this), 5)
  19. } else {
  20. collectionAbout(paperId,$(this), 5);
  21. }
  22. }else{
  23. $.MsgBox.Alert("提示", "请先登录再进行收藏");
  24. $("#mb_btn_ok").val("去登录");
  25. var aele = document.createElement('a');
  26. $("#mb_btnbox").append(aele);
  27. $("#mb_btnbox a").css({
  28. 'display': "block",
  29. 'width': '100%',
  30. 'height': '40px',
  31. 'position': 'absolute',
  32. 'bottom': '-6px',
  33. 'left': '0'
  34. });
  35. aele.setAttribute('href', '../login.html');
  36. }
  37. });
  38. //关键词标签点击进去搜索
  39. $(".tagList").on("click","li",function(){
  40. var tagText = $(this).find("p").text();
  41. location.href = "searchNew.html?searchContent=" + tagText + "&tagflag=6";
  42. })
  43. //点击进入个人详情页面
  44. $("#aboutAuthors").on("click","li>a",function(){
  45. var oDataId = $(this).attr("data-id");
  46. if(oDataId.substring(0,1)!="#"){
  47. $(this).attr("href","userInforShow.html?professorId="+oDataId);
  48. }else{
  49. $(this).attr("href","javascript:void(0)");
  50. }
  51. })
  52. $("#aboutAuthors").on("click","li.lastBtn",function(){
  53. $("#aboutAuthors li").css("display","block");
  54. $(this).hide();
  55. })
  56. //点击关注按钮
  57. $("#aboutAuthors").on('click',"span.attenSpan", function() {
  58. var pId=$(this).parent().siblings("a").attr("data-id");
  59. if(userid && userid != null && userid != "null") {
  60. if($(this).is('.attenedSpan')){
  61. cancelCollectionAbout(pId,$(this),1)
  62. } else {
  63. collectionAbout(pId,$(this),1);
  64. }
  65. }else{
  66. $.MsgBox.Alert("提示", "请先登录再进行关注");
  67. $("#mb_btn_ok").val("去登录");
  68. var aele = document.createElement('a');
  69. $("#mb_btnbox").append(aele);
  70. $("#mb_btnbox a").css({
  71. 'display': "block",
  72. 'width': '100%',
  73. 'height': '40px',
  74. 'position': 'absolute',
  75. 'bottom': '-6px',
  76. 'left': '0'
  77. });
  78. aele.setAttribute('href', '../login.html');
  79. }
  80. });
  81. /*获取论文信息*/
  82. function getPaperMe() {
  83. $.ajax({
  84. "url": "/ajax/ppaper/qo",
  85. "type": "GET",
  86. "success": function(data) {
  87. console.log(data);
  88. if(data.success) {
  89. paperHtml(data.data);
  90. getPaperAuthors(data.data.id)
  91. var paperName = data.data.name + "-科袖网";
  92. document.title = paperName;
  93. }
  94. },
  95. "data": {
  96. "id": paperId
  97. },
  98. dataType: "json",
  99. 'error': function() {
  100. $.MsgBox.Alert('提示', '服务器连接超时!');
  101. }
  102. });
  103. }
  104. /*获取论文作者信息*/
  105. function getPaperAuthors(stritrm) {
  106. $.ajax({
  107. "url": "/ajax/ppaper/authors",
  108. "type": "GET",
  109. "success": function(data) {
  110. console.log(data);
  111. if(data.success) {
  112. if(data.data.length>0){
  113. $("#aboutAuthors .lastBtn span").text(data.data.length);
  114. for(var i=0;i<data.data.length;i++){
  115. var authTy="",authTit="",baseInfo="",ifPoint="",imgbg="../images/default-photo.jpg";
  116. if(data.data[i].professorId.substring(0, 1) != "#"){
  117. $.ajax({
  118. type:"get",
  119. url:"/ajax/professor/editBaseInfo/" + data.data[i].professorId,
  120. async:false,
  121. success:function($proData){
  122. console.log($proData)
  123. if($proData.success){
  124. var showPro = $proData.data;
  125. if(showPro.hasHeadImage == 1) {
  126. imgbg = "/images/head/" + showPro.id + "_l.jpg";
  127. } else {
  128. imgbg = "../images/default-photo.jpg";
  129. }
  130. ifPoint = "pointThis";
  131. //认证
  132. var oSty = autho(showPro.authType,showPro.orgAuth,showPro.authStatus);
  133. authTy = oSty.sty;
  134. authTit = oSty.title;
  135. var title = showPro.title || "";
  136. var orgName = showPro.orgName || "";
  137. var office = showPro.office || "";
  138. if(orgName!=""){
  139. if(title != "") {
  140. baseInfo = title + "," + orgName;
  141. }else{
  142. if(office!=""){
  143. baseInfo = office + "," + orgName;
  144. }else{
  145. baseInfo = orgName;
  146. }
  147. }
  148. }else{
  149. if(title != "") {
  150. baseInfo = title;
  151. }else{
  152. if(office!=""){
  153. baseInfo = office;
  154. }else{
  155. baseInfo = "";
  156. }
  157. }
  158. }
  159. var str="";
  160. str +='<li class="flexCenter"><a href="" class="'+ ifPoint +'" data-id="'+ showPro.id +'">'
  161. str +='<div class="madiaHead useHead" style="background-image:url('+ imgbg +')"></div>'
  162. str +='<div class="madiaInfo" style="margin-top:-8px" >'
  163. str +='<p class="ellipsisSty"><span class="h1Font">'+ showPro.name +'</span><em class="authiconNew '+ authTy +'" title="'+ authTit +'"></em></p>'
  164. str +='<p class="h2Font ellipsisSty">'+ baseInfo +'</p>'
  165. str +='</div></a>';
  166. if(showPro.id==userid){
  167. str +=''
  168. }else{
  169. str +='<div class="goSpan"><span class="attenSpan">关注</span></div>';
  170. }
  171. str +='</li>';
  172. var $str=$(str);
  173. $("#aboutAuthors .lastBtn").before($str);
  174. if(showPro.id!=userid){
  175. ifcollectionAbout(showPro.id,$str.find(".attenSpan"),1);
  176. }
  177. }
  178. }
  179. })
  180. }else{
  181. var str="";
  182. str +='<li class="flexCenter"><a data-id="'+ data.data[i].professorId +'">'
  183. str +='<div class="madiaHead useHead" style="background-image:url('+ imgbg +')"></div>'
  184. str +='<div class="madiaInfo">'
  185. str +='<p class="ellipsisSty"><span class="h1Font">'+ data.data[i].name +'</span></p>'
  186. str +='</div></a>';
  187. if(data.data[i].name==userName){
  188. str +='<div class="goSpan"><span class="ifMe" flag="1">是我本人</span></div>'
  189. }else{
  190. str +='<div class="goSpan"><span class="yaoqing">邀请'
  191. str +='<div class="shareCode clearfix"><div class="floatL qrcodeUser"></div>'
  192. str +='<div class="shareWord floatR"><p>打开微信“扫一扫”,<br/>打开网页后点击屏幕右上角“分享”按钮</p></div>'
  193. str +='</div></span></div>';
  194. }
  195. str +='</li>';
  196. var $str=$(str);
  197. $("#aboutAuthors .lastBtn").before($str);
  198. }
  199. if(data.data.length<5){
  200. $("#aboutAuthors li").css("display","block");
  201. $(".lastBtn").hide();
  202. }else{
  203. $("#aboutAuthors li:lt(3)").css("display","block");
  204. }
  205. }
  206. //邀请
  207. $('.goSpan').on("mouseenter",".yaoqing",function(){
  208. $(this).find('.shareCode').stop(true,false).fadeIn();
  209. }).on("mouseleave",".yaoqing",function(){
  210. $(this).find('.shareCode').stop(true,false).fadeOut();
  211. });
  212. //邀请作者
  213. var Qcu=document.getElementsByClassName("qrcodeUser");
  214. for(var i=0;i<Qcu.length;i++){
  215. var qrcode= new QRCode(Qcu[i], {
  216. width : 100,
  217. height : 100
  218. });
  219. makeCode();
  220. }
  221. function makeCode(){
  222. var hurl = window.location.host;
  223. if(userid) {
  224. var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(paperId)+"&d="+s16to64(userid)+"&f=1";
  225. } else{
  226. var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(paperId)+"&f=1";
  227. }
  228. qrcode.makeCode(elurl);
  229. }
  230. //是我本人
  231. $('.goSpan').on("click",".ifMe",function(){
  232. var oF=$(this).attr("flag");
  233. if(oF==1){
  234. $.MsgBox.Confirm("提示", "确认这是您发表的论文?", daoRuPaper);
  235. $(this).attr("flag","0");
  236. }else{
  237. return;
  238. }
  239. });
  240. }
  241. }
  242. },
  243. "data": {
  244. "id": stritrm
  245. },
  246. dataType: "json",
  247. 'error': function() {
  248. $.MsgBox.Alert('提示', '服务器连接超时!');
  249. }
  250. });
  251. }
  252. function daoRuPaper(){
  253. $.ajax({
  254. "url": "/ajax/ppaper/ass",
  255. "type": "POST",
  256. "data": {
  257. id:paperId,
  258. uid:userid,
  259. author: userName
  260. },
  261. dataType: "json",
  262. "success": function(data) {
  263. if(data.success) {
  264. if(data.data){
  265. $(".ifMe").text("导入成功").css("background","#ccc");
  266. }
  267. }
  268. },
  269. 'error': function() {
  270. $.MsgBox.Alert('提示', '服务器连接超时!');
  271. }
  272. });
  273. }
  274. /*处理论文html代码*/
  275. function paperHtml($da) {
  276. $("#paperName").text($da.name); //名字
  277. $("#pageView").text($da.pageViews); //浏览量
  278. $("#paperAbstract").text($da.summary); //摘要内容
  279. if(!$da.cn4periodical){
  280. $da.cn4periodical=""
  281. }
  282. if(!$da.en4periodical){
  283. $da.en4periodical=""
  284. }
  285. if(!$da.cn4periodical && !$da.en4periodical){
  286. $("#paperJournal").parents("li").hide();
  287. }else{
  288. $("#paperJournal").text($da.cn4periodical +" " + $da.en4periodical);
  289. }
  290. if(!$da.pubDay){
  291. $("#paperVolume").parents("li").hide();
  292. }else{
  293. $("#paperVolume").text($da.pubDay);
  294. }
  295. if($da.keywords != undefined && $da.keywords.length != 0 ){
  296. var subs = new Array();
  297. if($da.keywords.indexOf(',')){
  298. subs = $da.keywords.split(',');
  299. }else{
  300. subs[0] = $da.keywords;
  301. }
  302. if(subs.length>0){
  303. for (var i = 0; i < subs.length; i++)
  304. {
  305. $(".tagList").append('<li><p class="h2Font">'+ subs[i] +'</p></li>');
  306. };
  307. }else{
  308. $(".tagList").hide();
  309. }
  310. }
  311. var weibopic = "http://" + window.location.host + "/images/default-paper.jpg"
  312. var weibotitle = $da.name;
  313. var weibourl = window.location.href;
  314. $("#weibo").attr("href","http://service.weibo.com/share/share.php?appkey=3677230589&title="+encodeURIComponent(weibotitle)+"&url="+encodeURIComponent(weibourl)+"&pic="+encodeURIComponent(weibopic)+"&content=utf-8"+"&ralateUid=6242830109&searchPic=false&style=simple");
  315. if(userid) {
  316. isAgree($da.articleAgree) //文章点赞
  317. } else {
  318. $(".thumbBtn").html("赞 <span>" + $da.articleAgree + "</span>");
  319. }
  320. }
  321. /*判断论文是否被赞*/
  322. function isAgree(articleAgree) {
  323. var data = {"operateId": userid,"paperId": paperId}
  324. $.ajax({
  325. url:"/ajax/paper/isAgree",
  326. data:data,
  327. dataType: 'json', //数据格式类型
  328. type: 'get', //http请求类型
  329. timeout: 10000,
  330. async: false,
  331. success: function(data) {
  332. if(data.success){
  333. if(data.data!= null){
  334. $(".thumbBtn").html("已赞 <span>"+articleAgree+"</span>");
  335. $(".thumbBtn").addClass("thumbedBtn");
  336. }else{
  337. $(".thumbBtn").html("赞 <span>"+articleAgree+"</span>");
  338. $(".thumbBtn").addClass("thunbgo");
  339. }
  340. }
  341. },
  342. error: function() {
  343. $.MsgBox.Alert('提示',"服务器链接超时");
  344. }
  345. });
  346. }
  347. //论文点击点赞
  348. $('.thumbBlock').on("click",".thunbgo",function(){
  349. alert(1);
  350. console.log(userid);
  351. if (userid) {
  352. alert(2)
  353. addAgree();
  354. }else{
  355. $.MsgBox.Alert('提示',"请先登录再进行点赞");
  356. $("#mb_btn_ok").val("去登录");
  357. var aele = document.createElement('a');
  358. $("#mb_btnbox").append(aele);
  359. $("#mb_btnbox a").css({
  360. 'display': "block",
  361. 'width': '100%',
  362. 'height': '40px',
  363. 'position': 'absolute',
  364. 'bottom': '-6px',
  365. 'left': '0'
  366. });
  367. aele.setAttribute('href', '../login.html');
  368. }
  369. })
  370. /*点赞*/
  371. function addAgree() {
  372. var data = {"operateId": userid,"paperId": paperId}
  373. $.ajax({
  374. url:"/ajax/paper/agree",
  375. data:data,
  376. dataType: 'json', //数据格式类型
  377. type: 'POST', //http请求类型
  378. timeout: 10000,
  379. async: false,
  380. success: function(data) {
  381. if(data.success){
  382. var articleAgreeval = $(".thumbBtn span").text();
  383. $(".thumbBtn").html("已赞 <span>"+(parseInt(articleAgreeval)+1)+"</span>");
  384. $(".thumbBtn").addClass("thumbedBtn");
  385. $(".thumbBtn").removeClass("thunbgo");
  386. }
  387. },
  388. error: function() {
  389. $.MsgBox.Alert('提示',"服务器链接超时");
  390. }
  391. });
  392. }
  393. /*留言模块*/
  394. $(".msgCont").bind({
  395. input: function() {
  396. $(".msgconNum span").text($(this).val().length);
  397. if($(this).val().length <= 0) {
  398. $("#meSendtt").css("background", "#ccc");
  399. } else {
  400. $("#meSendtt").css("background", "#ff9900");
  401. }
  402. }
  403. });
  404. $("#meSendtt").on("click", function() {
  405. article();
  406. })
  407. //查看更多留言
  408. $("#moreArtical").on("click",function(){
  409. vcreateTime = $(".commentList li").last().attr("data-time");
  410. orderKey = $(".commentList li").last().attr("data-key");
  411. message(5,1);
  412. })
  413. //删除留言
  414. $(".commentList").on("click",".messageDel",function(){
  415. var commenid = $(this).attr("data-id");
  416. articledel(commenid)
  417. })
  418. //发布留言
  419. function article() {
  420. $.ajax({
  421. url:"/ajax/leaveWord",
  422. dataType: 'json', //数据格式类型
  423. type: 'POST', //http请求类型
  424. data: {
  425. "paperId": paperId,
  426. "sender": userid,
  427. "content": $(".msgCont").val(),
  428. },
  429. timeout: 10000, //超时设置
  430. success: function(data) {
  431. var $info = data.data || {};
  432. if(data.success && data.data) {
  433. message(5,2);
  434. }
  435. $(".msgCont").val("");
  436. },
  437. error: function() {
  438. $.MsgBox.Alert('提示', '服务器请求失败')
  439. }
  440. });
  441. }
  442. message(5,2);
  443. function message(rows,num) {
  444. if(num==1){
  445. var data = {"paperId": paperId,"createTime": vcreateTime,"orderKey": orderKey,"rows": rows}
  446. }else{
  447. var data = {"paperId": paperId,"rows": rows}
  448. }
  449. $.ajax({
  450. url: "/ajax/leaveWord/ql",
  451. dataType: 'json', //数据格式类型
  452. type: 'GET', //http请求类型
  453. data: data,
  454. timeout: 10000, //超时设置
  455. success: function(data) {
  456. if(data.success) {
  457. if(data.data != ""){
  458. if(num==2){
  459. $(".commentList").html("");
  460. }
  461. if(data.data.length > 4){
  462. $("#moreArtical").removeClass("displayNone");
  463. }else{
  464. $("#moreArtical").addClass("displayNone");
  465. }
  466. for(var i = 0; i < data.data.length; i++) {
  467. var itemlist = '<li class="flexCenter" data-time="" data-key="">';
  468. itemlist += '<a href class="userhref"> <div class="madiaHead useHead useHeadMsg"></div></a>';
  469. itemlist += '<div class="madiaInfo">';
  470. itemlist += '<p><a href class="userhref"><span class="h1Font messageName">张某某</span></a><em class="authiconNew" title="科袖认证专家"></em><span class="commenttime">9月30号 12:00</span></p>';
  471. itemlist += '<p class="h2Font messageContent">sdfsdfs</p>';
  472. itemlist += '<div class="operateSpan"><span class="callBack">回复</span><span class="messageDel">删除</span></div>';
  473. itemlist += '</div></li>';
  474. $itemlist = $(itemlist);
  475. $(".commentList").append($itemlist);
  476. var datalist = data.data[i];
  477. $itemlist.find(".messageName").text(datalist.professor.name);
  478. $itemlist.find(".messageContent").text(datalist.content);
  479. var userType = autho(datalist.professor.authType, datalist.professor.orgAuth, datalist.professor.authStatus);
  480. $itemlist.find(".authiconNew").attr("title", userType.title);
  481. $itemlist.find(".authiconNew").addClass(userType.sty);
  482. if(datalist.professor.hasHeadImage==1) {
  483. $itemlist.find(".useHeadMsg").attr("style", "background-image: url(/images/head/" + datalist.professor.id + "_l.jpg);");
  484. }
  485. if(datalist.professor.id!=userid){
  486. $(".messageDel").hide();
  487. }
  488. $itemlist.attr("data-time", datalist.createTime);
  489. $itemlist.attr("data-key", datalist.orderKey);
  490. $itemlist.find(".messageDel").attr("data-id", datalist.id);
  491. $itemlist.find(".userhref").attr("href", "userInforShow.html?professorId="+datalist.professor.id);
  492. var createtime = datalist.createTime;
  493. $itemlist.find(".commenttime").text(commenTime(createtime));
  494. }
  495. }else{
  496. if(num==2){
  497. $(".commentList").html("");
  498. }else{
  499. $("#moreArtical").addClass("displayNone");
  500. }
  501. }
  502. }
  503. },
  504. error: function() {
  505. $.MsgBox.Alert('提示', '服务器请求失败')
  506. }
  507. });
  508. }
  509. //删除自己的留言
  510. function articledel(commenid) {
  511. $.ajax({
  512. url:"/ajax/leaveWord/delete",
  513. dataType: 'json', //数据格式类型
  514. type: 'POST', //http请求类型
  515. data: {
  516. "id": commenid,
  517. },
  518. timeout: 10000, //超时设置
  519. success: function(data) {
  520. if(data.success) {
  521. message(5,2);
  522. }
  523. },
  524. error: function() {
  525. $.MsgBox.Alert('提示', '服务器请求失败')
  526. }
  527. });
  528. }
  529. //相关文章信息
  530. function relevantarticalList(id,num){
  531. var data = {"keys":experarray,"professorId":id,"paperId":paperId,"rows":10} ;
  532. $.ajax({
  533. "url" : "/ajax/paper/ralateArticles",
  534. "type" : "GET" ,
  535. "dataType" : "json",
  536. "data" :data,
  537. //"async":false,
  538. "traditional": true, //传数组必须加这个
  539. "success" : function(data) {
  540. console.log(data);
  541. if (data.success && data.data!=""){
  542. $("#abutartical").parent().parent().removeClass("displayNone");
  543. var itemlist = '';
  544. $("#abutartical").html("");
  545. var dataStr=data.data;
  546. if(dataStr.length > 0){
  547. $("#patentList,.patentPageCode").show();
  548. $(".patentPage").hide();
  549. var itemlist = '';
  550. $("#patentList").html("");
  551. for(var i = 0; i < dataStr.length; i++) {
  552. var itemlist = '<li class="flexCenter">';
  553. itemlist += '<a target="_blank" href="patentShow.html?patentId=' + dataStr[i].id +'" class="linkhref"><div class="lefthead patenthead"></div>';
  554. itemlist += '<div class="centercon centercon2">';
  555. itemlist += '<p class="h1font ellipsisSty">'+ dataStr[i].name +'</p>';
  556. itemlist += '<p class="h1font ellipsisSty">发明人:'+ dataStr[i].authors.substring(0, dataStr[i].authors.length - 1) +'</p>';
  557. itemlist += '<p class="h2font ellipsisSty">申请人:'+ dataStr[i].reqPerson +'</p>';
  558. itemlist += '</div></a></li>';
  559. $itemlist = $(itemlist);
  560. $("#patentList").append($itemlist);
  561. }
  562. }
  563. },
  564. "error":function(){
  565. $.MsgBox.Alert('提示','链接服务器超时')
  566. }
  567. });
  568. }
  569. //浏览量
  570. function pageViewsVal() {
  571. $.ajax({
  572. "url": "/ajax/ppaper/incPageViews",
  573. "type": "POST",
  574. "dataType": "json",
  575. "data": {
  576. "id": paperId
  577. },
  578. "success": function(data) {
  579. console.log(data);
  580. if(data.success) {}
  581. },
  582. "error": function() {
  583. $.MsgBox.Alert('提示', '链接服务器超时')
  584. }
  585. });
  586. }
  587. //纠错反馈
  588. $(".correctSubmit").on("click",function(){
  589. var cntCon=$(this).siblings(".correctCon").val();
  590. var cntUser="";
  591. if(userid && userid != null && userid != "null") {
  592. cntUser = userid;
  593. }
  594. if(cntCon.length>500){
  595. $.MsgBox.Alert('提示', '纠错反馈内容不得超过500个字');
  596. return;
  597. }else{
  598. $.ajax({
  599. "url": "/ajax/feedback/error/paper",
  600. "type": "POST",
  601. "dataType": "json",
  602. "async": true,
  603. "data": {
  604. "id": paperId,
  605. "cnt":cntCon,
  606. "user":cntUser
  607. },
  608. "success": function(data) {
  609. if(data.success) {
  610. backSuccessed();
  611. }
  612. },
  613. "error": function() {
  614. $.MsgBox.Alert('提示', '链接服务器超时')
  615. }
  616. });
  617. }
  618. })
  619. })