" item" href="/jiapeng/portal-front/releases"> Versões 0 Wiki

1 Commits (8bfe150fa1a9412d50673b7a1e2edfdd39d953c7)

Autor SHA1 Mensagem Data
  xuchunyang bdf84638b6 编辑器组件 7 anos atrás
bulomakaka/ekexiu.app - Gogs: Go Git Service

10 Revīzijas (9a1914b689dcd55750467acbc32c996a80740a5c)

Autors SHA1 Ziņojums Datums
  wangaidan 104b168af8 未登录咨询显示修正 8 gadi atpakaļ
  dell 0fe92fa7e7 未登录时,提示登录或者注册, 8 gadi atpakaļ
  dell 09d53fb2c2 重提: 8 gadi atpakaļ
  dell 37b1359ec4 1.咨询职称,职位,机构显示细节 8 gadi atpakaļ
  dell 98b9ade7a5 意见反馈,投诉建议,常见问题,联系客服的上传 8 gadi atpakaļ
  xuchunyang 1e1a129783 添加关于科袖,用户协议 8 gadi atpakaļ
  xuchunyang 634d4e4f51 登录修改 8 gadi atpakaļ
  xuchunyang e126abdd34 我的里面的页面,搜索页面修改 8 gadi atpakaļ
  xuchunyang 62df32941b 我的页面修改 8 gadi atpakaļ
  happy dd12867cbb 注册,登录修改,我的账号内容 8 gadi atpakaļ
XMTT/markdown-wiki - Gogs: Go Git Service

1 次代码提交 (2d914b30acbb37ad671791c07c14a6c923e99fd8)

作者 SHA1 备注 提交日期
  huwhois 9f2d52e3d8 ace 编辑器补充 3 年之前
bulomakaka/ekexiu.app - Gogs: Go Git Service

6 Commity (1f899d3cc8e5b0110856645cc93b9fd022849eb6)

Autor SHA1 Wiadomość Data
  jack be678f0ab2 详细描述加上适合苹果机的样式及js修改 8 lat temu
  jack 670b98c069 苹果手机资源修改 8 lat temu
  lipengtao 91c523019b 我的关注加上身份标示,点赞长度样式,账户页个人信息去掉逗号,未认证位置 8 lat temu
  lipengtao 3c4fd4d120 添加学生,企业专家,专家的模块,加上认证标示 8 lat temu
  lipengtao b7aa8ed2be 专家浏览,专家修改bug的修改 8 lat temu
  luyanan 26ae8e4380 合作历史与评价,资源修改,专家信息浏览与修改:朋涛 8 lat temu
XMTT/markdown-wiki - Gogs: Go Git Service

1 Commity (2d914b30acbb37ad671791c07c14a6c923e99fd8)

Autor SHA1 Wiadomość Data
  huwhois 9f2d52e3d8 ace 编辑器补充 3 lat temu
bulomakaka/ekexiu.app - Gogs: Go Git Service

5 Commits (0c7bbe3d2af5ae0c62bd16fb760d547b5c5a0b07)

Autor SHA1 Nachricht Datum
  lipengtao f09579c89e 修改应用行业样式,及修改个人信息bug vor 8 Jahren
  lipengtao 91c523019b 我的关注加上身份标示,点赞长度样式,账户页个人信息去掉逗号,未认证位置 vor 8 Jahren
  lipengtao 3c4fd4d120 添加学生,企业专家,专家的模块,加上认证标示 vor 8 Jahren
  lipengtao 4bc2825fb4 加上时间和城市控件 vor 8 Jahren
  luyanan 7b39fc9d97 专家信息修改:朋涛 vor 8 Jahren
portal-front - Gogs: Go Git Service

portal html css js resource

cmp-needShow.js 3.9KB

    $(document).ready(function() { $(".onlogin .headnavbtn li").eq(0).addClass("navcurrent"); var demandId = GetQueryString("demandId"); function angleDemand() { $.ajax({ url: "/ajax/demand/queryOne", type: "GET", timeout: 10000, dataType: "json", data: { "demandId": demandId, }, beforeSend: function() {}, success: function(data, textState) { if(data.success) { console.log(data); var $data = data.data; var oTime, oDemandType; $("#dialog_consultTitle").text($data.demandTitle); oTime = $data["createTime"].substr(0, 4) + "年" + $data.createTime.substr(4, 2) + "月" + $data.createTime.substr(6, 2) + "日" + $data.createTime.substr(8, 2) + ":" + $data.createTime.substr(10, 2); $("#dialog_consultTime").text(oTime); if($data.closeTime) { $("#dil_consultStatus").text("已关闭"); var oCloseTime = $data["closeTime"].substr(0, 4) + "年" + $data.closeTime.substr(4, 2) + "月" + $data.createTime.substr(6, 2) + "日" + $data.closeTime.substr(8, 2) + ":" + $data.closeTime.substr(10, 2); $("#dialog_consultTime1").text(oCloseTime); $(".closeBtn").hide(); } else { $("#dil_consultStatus").text("发布中"); } if($data.demandType == 1) { oDemandType = "个人需求" } else { oDemandType = "企业需求" } $("#dialog_consultType1").text(oDemandType); if($data.demandAim == 1) { oDemandAim = "技术咨询" } else if($data.demandAim == 2) { oDemandAim = "资源咨询" } else if($data.demandAim == 3) { oDemandAim = "其他咨询" } $("#dialog_consultType2").text(oDemandAim); $("#dialog_consultContent").text($data.demandContent); if($data.professor.hasHeadImage){ $("#oimg").attr("src","/images/head/" + $data.professor.id + "_l.jpg") }else{ $("#oimg").attr("src","../images/default-photo.jpg") } $("#userName").text($data.professor.name); var oString = todStr($data.professor.title, $data.professor.office, $data.professor.department); $("#offt").text(oString); if($data.organization.hasOrgLogo){ $("#organizationImg").attr("src", "/images/org/" + $data.organization.id + ".jpg"); }else{ $("#organizationImg").attr("src", "../images/default-icon.jpg"); } $("#organName").text($data.organization.name); if($data.organization.authStatus){ $("#authCompany").addClass("authicon-com-ok"); $("#authCompany").attr("title","认证企业") }else{ /*$("#authCompany").addClass("authicon-com-no"); $("#authCompany").attr("title","未认证企业")*/ } if($data.organization.industry){ $(".ellipsisSty").text($data.organization.industry); } var oClass = autho($data.professor.authType, $data.professor.orgAuth, $data.professor.authStatus); $("#authFlag").addClass(oClass.sty).attr("title",oClass.title); } }, error: function(XMLHttpRequest, textStats, errorThrown) { } }) } angleDemand(); $(".closeBtn").click(function() { $.MsgBox.Confirm("消息", "确认关闭此需求?——关闭后,专家将看不到此需求,但不会影响进行中的相关咨询。", closeDemand) }) function closeDemand() { $.ajax({ url: "/ajax/demand/close", type: "POST", timeout: 10000, dataType: "json", data: { "demandId": demandId, }, beforeSend: function() {}, success: function(data, textState) { if(data.success) { $(".closeBtn").hide(); $("#dil_consultStatus").text("已关闭"); } }, error: function(XMLHttpRequest, textStats, errorThrown) { } }) } /*职位职称所属机构*/ function todStr() { var arr = new Array(), i; for(i in arguments) { if(arguments[i]) { arr.push(arguments[i]) } } return arr.join(); } })
console-front - Gogs: Go Git Service

No Description

index.js 7.5KB

    /** * Created by TT on 2017/8/9. */ ; spa_define(function () { return $.use(["spa", "pagedatagrid", "util"], function (spa, pdgf, util) { return { main: function () { var root = spa.findInMain(".sys_paper_index"); var pdg = pdgf.build(root); pdg.code.shell("showDay", function (env) { if (env.cd && env.cd[this.k]) { var day = env.cd[this.k]; return day.substring(0, 4) + "年" + day.substring(4, 6) + "月" + day.substring(6, 8) + "日 " + day.substring(8, 10) + ":" + day.substring(10, 12); } return ""; }); pdg.code.listen($.dict.doTransfer); pdg.code.listen(function(){ root.find(".hand-paperid").each(function() { var $e = $(this); var paperid = $e.attr("paperid"); if (paperid) { util.get("http://www.ekexiu.com/ajax/leavemsg/count", {sid: paperid,stype:2}, function (data) { $e.text(data); }, {}); $e.removeClass("hand-paperid"); } }); root.find(".hand-collectionid").each(function() { var $e = $(this); var collectionid = $e.attr("collectionid"); util.get("/ajax/content/countProfessor",{id:collectionid,type:4},function(data){ $e.text(data); },{}); $e.removeClass("hand-collectionid"); }); root.find(".hand-agreeid").each(function() { var $e = $(this); var agreeid = $e.attr("agreeid"); util.get("/ajax/paper/agreeCount",{id:agreeid},function(data){ $e.text(data); },{}); $e.removeClass("hand-agreeid"); }); root.find(".table-opt a.name").on("click",function () { // var paperId = $(this).parent().attr("paperId"); var time = $(this).parent().attr("createTime").substring(0,8); var shareId = $(this).parent().attr("shareId"); // window.open('http://www.ekexiu.com/paperShow.html?paperId=' + paperId); window.open('http://www.ekexiu.com/shtml/pp/'+time+'/' + shareId+'.html'); }) }); root.find(".opt-query").on("click", function () { pdg.load(); }); pdg.load(); root.find(".dt-tpl").on("click", "th.opt-check>i.icon-st-check", function () { var $this = $(this); $this.toggleClass("checked"); if ($this.hasClass("checked")) { root.find(".dt-tpl td.opt-check>i.icon-st-check").addClass("checked"); } else { root.find(".dt-tpl td.opt-check>i.icon-st-check").removeClass("checked"); } }); root.find(".dt-tpl").on("click", "td.opt-check>i.icon-st-check", function () { var $this = $(this); $this.toggleClass("checked"); }); // root.find(".opt-del").on("click", function() { // var $org = root.find("td.opt-check>i.checked"); // if($org.length) { // var ret = []; // $org.each(function() { // ret.push($(this).attr("articleId")); // }); // util.boxMsg({ // title: "确认删除", // content: "您是否要删除选中的文章?", // btns: [{ // caption: "删除", // hand: function () { // util.post("../ajax/paper/deleteArticle", {articleIds: ret}, function () { // pdg.reload() // }, {}); // } // }, // {caption: "取消"} // ] // }); // } else { // util.alert("请选择一个用户"); // } // }); root.find(".opt-sort-num").on("click", function() { var $paper = root.find("td.opt-check>i.checked"); if($paper.length) { if($paper.length > 1) { util.alert("只能选择一篇资源"); } else { $.util.get("../ajax/paper/id/"+$paper.attr("paperId"),null,function(rd){ if(rd){ spa.showModal("sys_paper_sort", { data:rd, hand: function() { pdg.reload() } }) }else{ util.alertMsg("资源不存在", function(){pdg.reload();}); } },{}); } } else { util.alert("请选择一篇资源"); } }); root.find(".opt-keyword").on("click", function() { var $paper = root.find("td.opt-check>i.checked"); if($paper.length) { if($paper.length > 1) { util.alert("只能选择一篇资源"); } else { $.util.get("../ajax/paper/id/"+$paper.attr("paperId"),null,function(rd){ if(rd){ spa.showModal("sys_paper_keyword", { data:rd, hand: function() { pdg.reload() } }) }else{ util.alertMsg("资源不存在", function(){pdg.reload();}); } },{}); } } else { util.alert("请选择一篇资源"); } }); root.find(".opt-view").on("click", function () { var $paper = root.find("td.opt-check>i.checked"); if ($paper.length) { if ($paper.length > 1) { util.alert("只能选择一篇资源"); } else { var time = $paper.attr("createTime").substring(0,8); var shareId = $paper.attr("shareId"); // window.open('http://www.ekexiu.com/paperShow.html?paperId=' + $paper.attr("paperId")); window.open('http://www.ekexiu.com/shtml/pp/'+time+'/' + shareId+'.html'); } } else { util.alert("请选择一篇资源"); } }); }, mainDestory: function () { } }; }); });
Sign In - Gogs: Go Git Service

Sign In