</div> </div> </div> <div class="mui-input-group mainbox"> <div class="maincon maincon2"> <div class="infocon infocon2tit">项目经历<a class="addinfobox mui-clearfix" ><em class="mui-icon mui-icon-plus addinfobtn mui-pull-left"></em><span class="mui-pull-left">点击添加</span></a></div> <div class="infocon infocon2"> <ul class="mui-table-view listitembox" id="projectExperience"> </ul> </div> </div> </div> <div class="mui-input-group mainbox"> <div class="maincon maincon2"> <div class="infocon infocon2tit">著作、论文、文章<a class="addinfobox mui-clearfix"><em class="mui-icon mui-icon-plus addinfobtn mui-pull-left"></em><span class="mui-pull-left">点击添加</span></a></div> <div class="infocon infocon2"> <ul class="mui-table-view listitembox" id="paperExperience"> </ul> </div> </div> </div> <div class="mui-input-group mainbox"> <div class="maincon maincon2"> <div class="infocon infocon2tit">专利<a class="addinfobox mui-clearfix" ><em class="mui-icon mui-icon-plus addinfobtn mui-pull-left"></em><span class="mui-pull-left">点击添加</span></a></div> <div class="infocon infocon2"> <ul class="mui-table-view listitembox" id="patentExperience"> </ul> </div> </div> </div> <div class="mui-input-group mainbox"> <div class="maincon maincon2"> <div class="infocon infocon2tit">荣誉及奖项<a class="addinfobox mui-clearfix" ><em class="mui-icon mui-icon-plus addinfobtn mui-pull-left"></em><span class="mui-pull-left">点击添加</span></a></div> <div class="infocon infocon2"> <ul class="mui-table-view listitembox" id="honor"> </ul> </div> </div> </div> </div> <script src="../js/public/mui.min.js"></script> <script src="../js/public/base.js"></script> <script type="text/javascript" src="../js/proinforupdate-more.js"></script> </body> </html> markdown-wiki - Gogs: Go Git Service

markdown格式wiki文档

gherkin.js 178B

    define("ace/snippets/gherkin",["require","exports","module"], function(require, exports, module) { "use strict"; exports.snippetText =undefined; exports.scope = "gherkin"; });
back-conference - Gogs: Go Git Service

后端

lyn7568 cd532cc50b 科袖会议 %!s(int64=4) %!d(string=hace) años
..
help.css cd532cc50b 科袖会议 %!s(int64=4) %!d(string=hace) años
help.html cd532cc50b 科袖会议 %!s(int64=4) %!d(string=hace) años
help.js cd532cc50b 科袖会议 %!s(int64=4) %!d(string=hace) años
portal-front - Gogs: Go Git Service

portal html css js resource

consult.js 11KB

    $(function(){ $(".onlogin .headnavbtn li").eq(0).addClass("navcurrent"); loginStatus();//判断个人是否登录 }) //用户id var userid = $.cookie("userid"); //getConsultData参数 var pageSize = 5; var pageNo, isbind, status, timeType, sortType; getConsultData(pageSize, 1, true, 0, 1, 0); consultPullDownMenu(); function getConsultData(pageSize, pageNo, isbind, status, timeType, sortType) { var params = { "professorId": userid, //专家ID "status": status, //查询状态 0-全部,1-进行中,2-未感谢,3-未评价,4-已完成, 可以不传,默认为0 "timeType": timeType, //排序目的 0-按发起时间,1-按最后回复时间,2-按完成时间 默认为0 "sortType": sortType, //排序目的 0-倒序,1-正序 默认为0 "pageSize": pageSize, //每页记录数 默认为5 "pageNo": pageNo //当前页码 默认为1 }; // console.log(params); $.ajax({ url: "/ajax/consult/pqPro", type: "get", //传值:登陆人id:咨询id data: params, async: false, dataType: "json", contentType: "application/x-www-form-urlencoded", success: function(response) { // console.log(response); //数据为空时 if(response.success) { if(response["data"]["data"] == null || response["data"]["data"] == undefined || response["data"]["data"] == "") { return; } else { var consultStr; var allData = response.data; var myData = allData["data"]; // console.log(myData); //拿到收到咨询数据 $("#workContainer").html(""); //清空数据 if(myData.length != 0 && myData.length != null) { consultStr = handleData(myData, "professorId", "lookBtn"); // console.log(consultStr) $("#workContainer").append(consultStr); } else { return; } //分页 if(isbind == true) { $(".getConsultPage").createPage({ pageCount: Math.ceil(allData.total / pageSize), current: allData.pageNo, backFn: function(p) { getConsultData(pageSize, p, false, status, timeType, sortType); } }); } } } }, error: function(response) { $.MsgBox.Alert('提示', "收到咨询数据请求失败"); }, complete: function() { } }); }; //data:需要处理的数据,htmlStr:页面中需要的html字符串拼接, //attrParams:数据中不同的参数比如:收到咨询是professorId,收到答复:consultantId function handleData(data, attrParams, btnCls) { var htmlStr = ''; var title, office, orgName, department, address; for(var i = 0; i < data.length; i++) { //text:回复/查看,state:进行中/已完成/未评价,photoUrl:头像地址,proModify:专家认证 var text, state, stateStyle, photoUrl, proModify; var modifyclass = ''; if(data[i]["professor"]) { //过滤没有专家对象的数据 if(data[i]["consultStatus"] == 0) { state = "进行中"; stateStyle = 'status-1'; text = '回复'; } else if(data[i]["consultStatus"] == 1) { text = "查看"; state = "已完成"; stateStyle = 'status-3'; if(attrParams == 'consultId') { if(data[i]["assessStatus"] == 0) { state = "待评价"; stateStyle = 'status-2'; } } } else if(data[i]["consultStatus"] == 2) { text = "查看"; state = "新咨询"; stateStyle = 'status-2'; } else if(data[i]["consultStatus"] == 3) { text = "查看"; state = "已谢绝"; stateStyle = 'status-5'; } else if(data[i]["consultStatus"] == undefined) { text = ""; state = ""; } //专家头像 if(data[i]["professor"]["hasHeadImage"] == 0) { photoUrl = "images/default-photo.jpg" } else { photoUrl = "images/head/" + data[i]["professor"]["id"] + "_l.jpg" }; //认证 var oSty=autho(data[i]["professor"].authType,data[i]["professor"].orgAuth,data[i]["professor"].authStatus); modifyclass = oSty.sty; //未读消息 var unread = unreadConsultFn(userid, data[i]["consultId"], i); htmlStr += "<div class='workselectitem' id='" + data[i]["consultId"] + "' >" + "<table width='100%'><tbody><tr><td width='14%' class='messagebox'>" + "<a class='workhead workitimg userRadius'>" + "<img class='headPhoto' src='" + photoUrl + "' width='100%' height='100%'>" + "</a>" + "<span class='msgprompt showUnreadMsg' style='" + unread.style + "' id='" + data[i]["consultId"] + "'>" + unread.unreadCount + "</span>" + "</td>" + "<td style='position:relative;top:20px;' width='86%'>" + "<div class='workinfor worksitcon'><h4><a class='named' id='nameS'> " + data[i]["professor"]["name"] + " </a>" + "<a class='authiconNew " + modifyclass + "' title='"+oSty.title+"' style='top:9px;'></a><input type='text' class='assessStar' value='" + data[i]["assessStar"] + "' style='display: none;'></h4><h6 class='h3Font'>"; if(data[i]["professor"]["title"]) { htmlStr += "<span>" + data[i]["professor"]["title"] + "</span>, "; }; if(data[i]["professor"]["office"]) { if(data[i]["professor"]["orgName"] || data[i]["professor"]["department"]) { htmlStr += "<span>" + data[i]["professor"]["office"] + "</span>, "; } else { htmlStr += "<span>" + data[i]["professor"]["office"] + "</span>"; } }; if(data[i]["professor"]["orgName"]) { if(data[i]["professor"]["department"]) { htmlStr += "<span>" + data[i]["professor"]["orgName"] + "</span>, "; } else { htmlStr += "<span>" + data[i]["professor"]["orgName"] + "</span>"; } }; if(data[i]["professor"]["department"]) { htmlStr += "<span>" + data[i]["professor"]["department"] + "</span>"; }; if(data[i]["professor"]["address"]) { htmlStr += ' | ' + "<span>" + data[i]["professor"]["address"] + "</span>"; }; htmlStr += "</h6><h6 style='position:relative;'>" + "<div class='titList'>咨询主题:<em class='h4Font'> " + data[i]["consultTitle"] + " </em></div>" + "<span class='lasttime rightTime'>" + lastReplyFn(userid, data[i]["consultId"])["lastReplyTime"] + "</span>" + "<div style='height:70px;'><p class='rebackcon lastReplyCon' >" + lastReplyFn(userid, data[i]["consultId"])["lastReplyCon"] + "</p></div>" + "</h6></div>" + "<div class='workhandle'>" + "<div class='rightopert floatR'>" + "<span attrP='" + attrParams + "' class='replybtn " + btnCls + "' id='" + data[i]["consultId"] + "' consultStatus='" + data[i]["consultStatus"] + "' assess='" + data[i]["assessStatus"] + "' thanks='" + data[i]["thanksStatus"] + "' onclick='clickLookBtn2(\"" + userid + "\",\"" + attrParams + "\",\"" + data[i]["consultId"] + "\"," + data[i]["consultStatus"] + "," + data[i]["assessStatus"] + "," + data[i]["thanksStatus"] + ");'>" + text + "</span>" + "<span class='moreopert complain'>...</span>" + "<ul class='moreopertbtn'>" + "<li>投诉</li>" + "</ul>" + "</div>" + "<div class='leftstate floatR'>" + "<span class='coultstate " + stateStyle + "'><i>" + state + "</i></span>" + "</div>" + "<div class='leftstate floatR'>" + "<span class='coultstate coulstAim status-4'><i>" + data[i]["consultType"] + "</i></span>" + "</div>" + "</div>" + "</td>" + "</tr></tbody></table>" + "</div>"; } }; return htmlStr; }; //未读信息接口 function unreadConsultFn(senderId, consultId, i) { var unreadCount, style; var params = { "senderId": senderId, //发送者ID "consultId": consultId //咨询ID }; $.ajax({ url: "/ajax/tidings/qaNotReadTidings", type: "get", async: false, data: params, success: function(response) { unreadCount = response["data"]; if(unreadCount == 0) { style = "display:none;" } else { style = "display:block;" } }, error: function(error) { $.MsgBox.Alert('提示', "未读消息请求失败"); } }); return { "unreadCount": unreadCount, "style": style } }; //列表最后回复 function lastReplyFn(sendId, consultId) { var lastReplyTimeData, lastReplyTime, lastReplyCon; $.ajax({ url: "/ajax/tidings/qaLastRevovery", async: false, data: { "consultId": consultId, //咨询ID "senderId": sendId //登录者ID }, success: function(response) { // console.log(response) if(response["data"] == null || response["data"] == "" || response["data"] == undefined) { lastReplyTimeData = ''; lastReplyTime = ''; lastReplyCon = ''; } else { lastReplyTimeData = response["data"]["createTime"]; lastReplyTime = lastReplyTimeData.substr(0, 4) + "-" + lastReplyTimeData.substr(4, 2) + "-" + lastReplyTimeData.substr(6, 2) + " " + lastReplyTimeData.substr(8, 2) + ":" + lastReplyTimeData.substr(10, 2) lastReplyCon = response["data"]["tidingsContant"]; } }, error: function(error) { $.MsgBox.Alert('提示', "最后回复数据失败"); } }); return { "lastReplyTime": lastReplyTime, "lastReplyCon": lastReplyCon }; }; //咨询下拉菜单顺序处理函数 function consultPullDownMenu() { //点击下拉菜单 $(".consultOption ul").find("li").click(function() { status = $(this).attr("tip"); timeType = $("#showTimeSort").attr("tim"); sortType = $("#timeSortId").val(); $("#workContainer").remove(); $("#shoudao").append('<div id="workContainer"></div>') $(".getConsultPage").remove(); $("#shoudao").append('<div class="tcdPageCode getConsultPage"></div>'); //console.log(status + timeType + sortType); getConsultData(pageSize, 1, true, status, timeType, sortType); }); $(".timeOption ul").find("li").click(function() { status = $("#showStatus").attr("tip"); timeType = $(this).attr("tim"); sortType = $("#timeSortId").val(); $("#workContainer").remove(); $("#shoudao").append('<div id="workContainer"></div>') $(".getConsultPage").remove(); $("#shoudao").append('<div class="tcdPageCode getConsultPage"></div>'); //console.log(status + timeType + sortType); getConsultData(pageSize, 1, true, status, timeType, sortType); }); var sortFlag = true; $("#consultArrow").click(function() { if(sortFlag == true) { $(this).find("div").css("background-position", "-20px 1px"); $("#timeSortId").val("1"); sortFlag = false; } else { $(this).find("div").css("background-position", "0px 1px"); $("#timeSortId").val("0"); sortFlag = true; } status = $("#showStatus").attr("tip"); timeType = $("#showTimeSort").attr("tim"); sortType = $("#timeSortId").val(); $("#workContainer").remove(); $("#shoudao").append('<div id="workContainer"></div>') $(".getConsultPage").remove(); $("#shoudao").append('<div class="tcdPageCode getConsultPage"></div>'); //console.log(status + timeType + sortType); getConsultData(pageSize, 1, true, status, timeType, sortType); }); }; //咨询和回复中点击查看或者回复 function clickLookBtn2(sendId, attrParams, consultId, consultStatus, assessStatus, thanksStatus) { if(consultStatus == 2) { window.location.href = "consultSure.html?consultId=" + consultId } else { window.location.href = "diloags.html?sendId=" + sendId + "&attrParams=" + attrParams + "&consultId=" + consultId + "&consultStatus=" + consultStatus + "&assessStatus=" + assessStatus + "&thanksStatus=" + thanksStatus; } }
XMTT/suryee - Gogs: Go Git Service

1 Commits (1bfab0fe54d46391ae69e0d84b0c09d19928bb78)

Auteur SHA1 Message Date
  huwhois cf9f223ce1 初始化 3 ans auparavant
XMTT/suryee - Gogs: Go Git Service

1 次代码提交 (1bfab0fe54d46391ae69e0d84b0c09d19928bb78)

作者 SHA1 备注 提交日期
  huwhois cf9f223ce1 初始化 3 年之前
XMTT/markdown-wiki - Gogs: Go Git Service

1 Commits (2d914b30acbb37ad671791c07c14a6c923e99fd8)

Autore SHA1 Messaggio Data
  huwhois 9f2d52e3d8 ace 编辑器补充 3 anni fa
back-conference - Gogs: Go Git Service

后端

help.html 2.8KB

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>帮助</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <script type="text/javascript" src="../internal.js"></script> <link rel="stylesheet" type="text/css" href="help.css"> </head> <body> <div class="wrapper" id="helptab"> <div id="tabHeads" class="tabhead"> <span class="focus" tabsrc="about"><var id="lang_input_about"></var></span> <span tabsrc="shortcuts"><var id="lang_input_shortcuts"></var></span> </div> <div id="tabBodys" class="tabbody"> <div id="about" class="panel"> <h1>UEditor</h1> <p id="version"></p> <p><var id="lang_input_introduction"></var></p> </div> <div id="shortcuts" class="panel"> <table> <thead> <tr> <td><var id="lang_Txt_shortcuts"></var></td> <td><var id="lang_Txt_func"></var></td> </tr> </thead> <tbody> <tr> <td>ctrl+b</td> <td><var id="lang_Txt_bold"></var></td> </tr> <tr> <td>ctrl+c</td> <td><var id="lang_Txt_copy"></var></td> </tr> <tr> <td>ctrl+x</td> <td><var id="lang_Txt_cut"></var></td> </tr> <tr> <td>ctrl+v</td> <td><var id="lang_Txt_Paste"></var></td> </tr> <tr> <td>ctrl+y</td> <td><var id="lang_Txt_undo"></var></td> </tr> <tr> <td>ctrl+z</td> <td><var id="lang_Txt_redo"></var></td> </tr> <tr> <td>ctrl+i</td> <td><var id="lang_Txt_italic"></var></td> </tr> <tr> <td>ctrl+u</td> <td><var id="lang_Txt_underline"></var></td> </tr> <tr> <td>ctrl+a</td> <td><var id="lang_Txt_selectAll"></var></td> </tr> <tr> <td>shift+enter</td> <td><var id="lang_Txt_visualEnter"></var></td> </tr> <tr> <td>alt+z</td> <td><var id="lang_Txt_fullscreen"></var></td> </tr> </tbody> </table> </div> </div> </div> <script type="text/javascript" src="help.js"></script> </body> </html>
portal-front - Gogs: Go Git Service

portal html css js resource

teamList.html 6.7KB

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>团队-我的工作台-科袖网</title> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" /> <link href="css/bootstrap.min.css" rel="stylesheet"> <link type="text/css" href="css/common.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="./css/webuploader/webuploader2.css"> <link type="text/css" href="css/genindex.css" rel="stylesheet"> <script type="text/javascript" src="js/jquery-1.11.1.js"></script> <style> .queStep .artAbout>li>dl { height: 220px; } .queStep .artAbout>li>dl>dd { width: 46.8%; height: 200px; } .queStep .artAbout>li>dl>dd .imgItem img{ max-width: 278px; max-height: 200px; } .queStep ul.artAbout .uploadFile .uploadblock { height: 200px; } .noTeam { margin: 20px; text-align: center; overflow: hidden; color: #999; } .noTeam .createTeam { border-radius: 40px; margin: 20px auto 40px; display: inline-block; padding: 10px 20px; text-align: center; background: #ff9900; color: #ffffff; cursor: pointer; } .itemListBolck .itemListCon .madiaInfo{ padding-left:0; } .itemListCon .form-result>ul>li .madiaEdit span{ width: 80px; } .itemListCon .form-result>ul>li .madiaEdit span.closeThis{ background: rgba(255, 153, 0, 0.4); } </style> </head> <body> <div class="blackcover questionCover displayNone"> <div class="resAreaBox putquestion"> <div class="queStep queStep01"> <div class="steptit">创建团队</div> <div class="banTheme clearfix postUl"> <p class="floatL aboutTit">团队名称<em class="requiredcon">*</em><span class="frmconmsg" style="display:none">不可超过50个字</span></p> <input type="text" style="width: 100%;" class="frmcontype" placeholder="请填写团队名称,如XXX团队" maxlength="50" id="teamName" /> </div> <div class="clearfix postUl"> <p class="floatL aboutTit">所属机构<em class="requiredcon">*</em><span id = 'cc'class="frmconmsg" style="display:none">不可超过50个字</span></p> <input type="text" style="width: 100%;" class="frmcontype" placeholder="请填写所属机构" maxlength="50" id="teamOrgName" /> </div> <ul class="clearfix postUl"> <p class="aboutTit">所在城市<em class="requiredcon">*</em><span class="frmconmsg" style="display:none">请选择所在城市</span></p> <form action="" name="form1"> <div class="col-w-6 citybox2"> <span class="frmcontype" id="Province"> <em class="mr_sj"></em> <i class="mr_show" id="oprovince">请选择省/直辖市</i> <ul> <li><a href="javascript:void(0)" alt="请选择省/直辖市">请选择省/直辖市</a></li> </ul> <input type="hidden" name="cho_Province" value="请选择省/直辖市"> </span> </div> <div class="col-w-6 citybox2"> <span class="frmcontype floatR" id="City"> <em class="mr_sj"></em> <i class="mr_show" id="ocity">请选择城市</i> <ul> <li><a href="javascript:void(0)" alt="请选择城市">请选择城市</a></li> </ul> <input type="hidden" name="cho_City" value="请选择城市 "> </span> </div> </form> </ul> <ul class="clearfix postUl artAbout"> <li> <div class="aboutTit">上传团队材料<em class="requiredcon">*</em><span class="frmconmsg" ></span></div> <dl class="clearfix" id="fileList"> <dd class="uploadD" id="uploadDd"> <div class="uploadFile"> <div class="uploadblock"> <span class="" id="filePicker">上传团队相关材料</span> <!--未上传图片时--> <div class="upFront" style="top:74px;" id="uploader"> <p>上传团队相关材料</p> <p class="uploadtip">JPG/JPEG/PNG格式<br />大小2M以内</p> </div> </div> </div> </dd> <dd></dd> </dl> </li> <li class="saveBtn"> <button type="button" class="frmcontype btnModel" id="pubSte">申请创建团队</button> </li> </ul> </div> <span class="workclose" id="workclose"></span> </div> </div> <header id="header"> <script src="js/header.js"></script> </header> <!--中间--> <div id="container"> <div class="containerCon"> <div class="contentCon clearfix conBlock"> <div class="workmenu"> <script src="js/workMenu.js"></script> </div> <div class="workcon workconG"> <div class="workcontit"> <a class="worksamlltit worksamlltitnow" data-status="3">我的团队</a> <a class="worksamlltit" data-status="1">待审核团队</a> <a class="worksamlltit" data-status="2">未通过团队</a> </div> <div class="itemListBolck"> <div class="topOperaBlock clearfix"> <div class="searchAbout col-w-8" style="visibility: hidden"> <input class="frmcontype" type="search" id="articleSearch" name="" placeholder=""> <span class="searchSpan"></span> </div> <div class="issueSpanBlock col-w-4"> <a class="issueSpan createTeam">创建团队</a> </div> </div> <div class="form-item itemListCon"> <div class="form-result aboutRes"> <ul id="articalList"> </ul> <!--无搜索结果--> <div class="nodatabox displayNone" id="noartical"> <div class="nodata"> <div class="picbox picNull"></div> <div class="txtbox"> <p class="noContip"></p> </div> </div> </div> <div class="tcdPageCode"></div> </div> <!-- <div class="noTeam"> <h4>暂无专家团队是否创建团队</h4> <div class="createTeam">申请创建团队</div> </div> --> </div> </div> </div> </div> </div> </div> <footer> <script type="text/javascript" src="js/footer.js"></script> </footer> <script type="text/javascript" src="js/jquery.cookie.js"></script> <script type="text/javascript" src="js/jquery.similar.msgbox.js"></script> <script type="text/javascript" src="js/jquery.page.js"></script> <script type="text/javascript" src="./js/webuploader/webuploader.js"></script> <script type="text/javascript" src="js/public/baseUtil.js"></script> <script type="text/javascript" src="js/public/genCom.js"></script> <script type="text/javascript" src="js/teamList.js"></script> <script src="js/city.min.js" type="text/javascript" charset="utf-8"></script> </body> </html>
Sign In - Gogs: Go Git Service

Sign In