D-jPMWLUzOs36GQ86MTczMjU1NTk0MjgwNTExOTE0NA==" /> portal-front - Gogs: Go Git Service

portal html css js resource

info_warn.png 1.3KB

portal-front - Gogs: Go Git Service

portal html css js resource

Invitation.html 3.8KB

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>科袖网,搭建企业与专家的桥梁</title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <link rel="stylesheet" href="../css/bootstrap.min.css"> <link rel="stylesheet" href="../css/reset.css"> <link rel="stylesheet" href="../css/common.css"> <link rel="stylesheet" href="../css/share.css"> <style type="text/css"> html,body{min-height: auto;background: url(../images/wechat_bg_img_nor@3x.png) no-repeat;background-size:cover;background-attachment: fixed;} </style> </head> <body class="invitebody"> <div class="contentBody2" style="max-width: 640px;margin:auto;"> <div class="logobox"> <a class="logolink" href="javascript:;"> <img class="logoimg" src="../images/wechat_icon_logo_nor@3x.png" /> </a> </div> <form class="form-inline" role="form" style="width: 90%;margin:auto"> <!--填写表单信息--> <div class="formblock"> <div class="inviteTit"> <span></span> 邀请您加入「科袖」 </div> <div class="form-group"> <div class="input-group"> <input type="text" class="form-control input_name" placeholder="请输入您的姓名" id="username" autocomplete="off"> </div> <div class="input-group"> <input type="phone" class="form-control input_phone" placeholder="请输入您的手机号码" id="userphone" autocomplete="off"> </div> <div class="input-group"> <input class="form-control input_code" type="text" placeholder="请输入验证码" id="code" autocomplete="off"> <button type="button" class="btn input-group-addon canPoint" id="obtain-code">获取验证码</button> </div> <div class="input-group"> <input type="password" class="form-control input_pwd" placeholder="请设置您的登录密码" id="password" autocomplete="off"> </div> </div> <div class="checkboxT checkReg"> <div class="checkBg"> 已同意 <a href="privacyApp.html" class="protocollink" target="_blank">科袖网用户协议</a> </div> </div> <button type="button" class="btn btn-lg btn-block canPoint" disabled id="regbtn">注册</button> </div> <!--注册成功时显示--> <div class="inviteSucceed displayNone"> <div class="inviteTit"> 注册成功!<br/>欢迎您加入「科袖」 </div> <a style="margin:60px 0 54px;" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.ekexiu.app" class="btn btn-lg btn-block canPoint">点击下载「科袖」app</a> </div> <!--文档信息--> <div class="inforbox"> <img src="../images/wechat_bg_img_wenben_nor@3x.png" width="100%"/> <ul> <li> <img class="lefticon" src="../images/wechat_icon_pro_nor@3x.png"/> <div class="rightcon"> <h2>认证成为「科袖」专家</h2> <p>寻找企业合作,将您的科研价值变现!</p> </div> </li> <li> <img class="lefticon" src="../images/wechat_icon_xuqiu_nor@3x.png"/> <div class="rightcon"> <h2>发布研发需求</h2> <p>寻找专家帮您解决研发难题!</p> </div> </li> <li> <img class="lefticon" src="../images/wechat_icon_yaoqing_nor@3x.png"/> <div class="rightcon"> <h2>邀请好友加入</h2> <p>获取丰厚积分奖励,好礼随意换!</p> </div> </li> </ul> </div> </form> </div> <div class="bomb-box" style="display: none;"></div> <script type="text/javascript" src="../js/jquery-1.11.1.js" ></script> <script type="text/javascript" src="../js/jquery.cookie.js" ></script> <script type="text/javascript" src="../js/common.js" ></script> <script type="text/javascript" src="../js/invite-friends.js" ></script> </body> </html>
markdown-wiki - Gogs: Go Git Service

markdown格式wiki文档

curly.js 174B

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

Brak opisu

attentions-list2.html 1.2KB

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <title></title> <link href="../css/mui.min.css" rel="stylesheet"/> <link href="../css/iconfont.css" rel="stylesheet" /> <link href="../css/app.css" rel="stylesheet"/> </head> <body> <div class="mui-content mui-scroll-wrapper" id="pullrefresh" > <div class="mui-scroll"> <div class="mui-card-content conblock"> <ul class="mui-table-view protable list"> </ul> <div class="nodatabox" style="display:none; background: #efeff4;margin: 0; " id="nodatabox1"> <div class="nodata"> <div class="picbox"><span class="defpic" style="background-position:-6px 0"></span></div> <div class="txtbox"> <p class="currword">抱歉!您还未关注过任何资源</p> </div> </div> </div> </div> </div> </div> <script src="../js/public/mui.min.js"></script> <script src="../js/public/base.js"></script> <script src="../js/attentions2.js"></script> </body> </html>
portal-front - Gogs: Go Git Service

portal html css js resource

fillinfoNew.html 5.6KB

    <!doctype html> <html> <meta charset="UTF-8"> <title>完善个人信息</title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="css/reset.css"> <link type="text/css" rel="stylesheet" href="css/common.css"> <link type="text/css" rel="stylesheet" href="css/genindex.css"> <script type="text/javascript" src="js/jquery-1.11.1.js"></script> </head> <body class="covbodyBg"> <div class="containerCon"> <a href="index.html" class="headlogo signLogo"></a> </div> <!--中间--> <div id="container"> <div class="containerCon contConP"> <div class="covFrmblock" style="min-width: 440px;"> <form class="cmpAllFrm"> <p class="h1Font alignCenter mainColor">完善个人信息</p> <div class="fillMore"> <div class="alignCenter fillMoreHead"> <div class="fillHead userRadius"> <a href="photo-set.html" id="userimg" style=" display:block;width:100px;height: 100px;"></a> </div> <span class="h1Font" id="username"></span> </div> <div class="fillShow"> <ul> <li> <div class="col-w-2"><em class="emspace">职</em>称</div> <div class="col-w-10"> <div class="textinput " contenteditable="true" onBlur="nameVal(this,40)" onfocus="getFocus(this)" id="title"></div> <div class="frmmsg msgLog1"><span></span></div> </div> </li> <li> <div class="col-w-2">所在机构</div> <div class="col-w-10"> <div class="textinput" contenteditable="true" onBlur="nameVal(this,100)" onfocus="getFocus(this)" id="orgName"></div> <div class="frmmsg msgLog1"><span></span></div> </div> </li> <li> <div class="col-w-2">所属部门</div> <div class="col-w-10"> <div class="textinput" contenteditable="true" onBlur="nameVal(this,40)" onfocus="getFocus(this)" id="department"></div> <div class="frmmsg msgLog1"><span></span></div> </div> </li> <li> <div class="col-w-2"><em class="emspace">职</em>位</div> <div class="col-w-10"> <div class="textinput" contenteditable="true" onBlur="nameVal(this,40)" onfocus="getFocus(this)" id="office"></div> <div class="frmmsg msgLog1"><span></span></div> </div> </li> <li> <div class="col-w-2">所在城市</div> <div class="col-w-10"> <div class="citybox"> <form action="" name="form1"> <div class="infolist"> <div class="liststyle clearfix"> <span 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> <span id="City" style="margin-left:2%;"> <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> </div> </form> </div> </div> </li> <li class="alignCenter"> <div class="col-w-6"> <a href="fillinfo-select.html"><button type="button" class="frmtype btnModel btnCancel save-block headRadius">返回</button></a> </div> <div class="col-w-6"> <button type="button" class="frmtype btnModel save-block headRadius" onclick="modifyUserInformation()">进入科袖</button> </div> </li> </ul> </div> </div> </div> </form> </div> </div> </div> <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/city.min.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/fillinfoNew.js"></script> <script type="text/javascript"> //省份城市颜色 if($("#oprovince").text()=="请选择省/直辖市"){ $("#oprovince").removeClass("mr_select"); }else{ $("#oprovince").addClass("mr_select"); } if($("#ocity").text()=="请选择城市"){ $("#ocity").removeClass("mr_select"); }else{ $("#ocity").addClass("mr_select"); } </script> </body> </html>
ekexiu.app - Gogs: Go Git Service

Нет описания

myaccount.js 7.4KB

    //我的账号 mui.ready(function() { /*定义全局变量*/ var loginYes = document.getElementById("loginYes"); var loginNo = document.getElementById("loginNo"); var goLogin = document.getElementById("gologin"); var goReg = document.getElementById("goreg"); var goSetup = document.getElementById("goSetup"); var goZixun = document.getElementById("goZixun"); var oEdit = document.getElementById("editbox"); var goFollow = document.getElementById("goFollow"); var userImg = document.getElementById("userImg"); var nameli = document.getElementById("nameli"); var infobasic = document.getElementsByClassName("infobasic")[0]; var oFlag; mui.plusReady(function() { var userId = plus.storage.getItem('userid'); console.log(userId); /*判断登录是否成功*/ loginStatus(); /*用户信息初始化*/ userInformation(); /*登录按钮*/ goLogin.addEventListener('tap', function() { goLoginFun(); }) /*注册按钮*/ goReg.addEventListener('tap', function() { goRegFun(); }) /*退出登录刷新页面*/ window.addEventListener('closeUser', function(event) { userId = event.detail.id; console.log(userId); loginStatus(); userInformation() }); //在修改上传图片触发的事件 window.addEventListener('photoUser', function(event) { nameli.classList.remove(nameli.classList[2]) nameli.classList.remove(nameli.classList[2]); nameli.innerHTML = "" userInformation(); }); function loginStatus() { console.log(userId); if(userId && userId != "null" && userId != null) { loginNo.style.display = "none"; loginYes.style.display = "block"; //alert('dd') /*设置*/ goSetup.addEventListener('tap', function() { mui.openWindow({ url: '../html/setup.html', id: '../html/setup.html', show: { aniShow: "slide-in-right" } }); }) /*我的关注*/ goFollow.addEventListener('tap', function() { mui.openWindow({ url: '../html/attentions.html', id: '../html/attentions.html', show: { //autoShow: false, aniShow: "slide-in-right" } }); }) /*我的修改专家*/ infobasic.addEventListener('tap', function() { if(oFlag == 1) { mui.openWindow({ url: '../html/proinforupdate.html', id: 'html/proinforupdate.html', show: { autoShow: false, aniShow: "slide-in-left" }, }); } else if(oFlag == 2) { /*我的修改企业工作者*/ mui.openWindow({ url: '../html/companyUpdata.html', id: 'html/companyUpdata.html', show: { autoShow: false, aniShow: "slide-in-left" }, }); } else if(oFlag == 3) { /*我的修改学生*/ mui.openWindow({ url: '../html/studentUpdata.html', id: 'html/studentUpdata.html', show: { autoShow: false, aniShow: "slide-in-left" }, }); } }) oEdit.addEventListener('tap', function() { if(oFlag == 1) { mui.openWindow({ url: '../html/proinforupdate.html', id: 'html/proinforupdate.html', show: { autoShow: false, aniShow: "slide-in-left" }, }); } else if(oFlag == 2) { /*我的修改企业工作者*/ mui.openWindow({ url: '../html/companyUpdata.html', id: 'html/companyUpdata.html', show: { autoShow: false, aniShow: "slide-in-left" }, }); } else if(oFlag == 3) { /*我的修改学生*/ mui.openWindow({ url: '../html/studentUpdata.html', id: 'html/studentUpdata.html', show: { autoShow: false, aniShow: "slide-in-left" }, }); } }) /*我的历史和评价*/ goZixun.addEventListener('tap', function() { mui.openWindow({ url: '../html/coophistory.html', id: 'html/coophistory.html', show: { autoShow: false, aniShow: "slide-in-left" }, }); }) } else { loginNo.style.display = "block"; loginYes.style.display = "none"; mui("#loginNo").on("tap", "li", function() { goLoginFun(); }) } } function userInformation() { mui.ajax(baseUrl + "/ajax/professor/editBaseInfo/" + userId, { dataType: 'json', //数据格式类型 type: 'GET', //http请求类型 timeout: 10000, //超时设置 async: false, success: function(data) { var $info = data.data || {}; oFlag = $info.authentication; console.log(oFlag) if(data.success && data.data) { document.getElementById("userName").innerText = $info.name || ''; var userTitle = document.getElementById("userTitle"); var userPosition = document.getElementById("userPosition"); var userDepartment = document.getElementById("userDepartment"); var userMechanism = document.getElementById("userMechanism"); var userCity = document.getElementById("userCity"); var zixunOk = document.getElementById("zixunOk"); if($info.title) { if($info.office) { userTitle.innerText = $info.title + "," } else { userTitle.innerText = $info.title } } ($info.office) ? userPosition.innerText =$info.office: userPosition.innerText = ''; if($info.department) { if($info.orgName) { userDepartment.innerText=$info.department+"," }else{ if($info.address){ userDepartment.innerText=$info.department+" | " }else{ userDepartment.innerText=$info.department; } } } if($info.orgName) { if($info.address){ userMechanism.innerText=$info.orgName+" | " }else{ userMechanism.innerText=$info.orgName; } } ($info.address != '') ? userCity.innerText =$info.address: userCity.innerText = ''; ($info.consultCount != '') ? zixunOk.innerText = $info.consultCount: zixunOk.innerText = '0'; var startLeval = parseInt($info.starLevel); var start = document.getElementsByClassName("star"); for(var i = 0; i < startLeval; i++) { start[i].classList.add("icon-favorfill"); start[i].classList.remove("icon-favor"); } if($info.hasHeadImage == 1) { userImg.setAttribute("src", baseUrl + "/images/head/" + $info.id + "_l.jpg"); } else { userImg.setAttribute("src", baseUrl + "/images/default-photo.jpg"); } if($info.authType) { nameli.classList.add('icon-vip'); nameli.classList.add('authicon-cu'); } else { if($info.authStatus) { if($info.authentication == 1) { nameli.classList.add('icon-renzheng'); nameli.classList.add('authicon-mana'); //nameli.innerHTML = "<span>科研</span>"; } else if($info.authentication == 2) { nameli.classList.add('icon-renzheng'); nameli.classList.add('authicon-staff'); //nameli.innerHTML = "<span>企业</span>"; } else { nameli.classList.add('icon-renzheng'); nameli.classList.add('authicon-stu'); //nameli.innerHTML = "<span>学生</span>"; } } } } }, error: function() { plus.nativeUI.toast("服务器链接超时", toastStyle); return; } }); } }); });
XMTT/markdown-wiki - Gogs: Go Git Service

1 Commits (2d914b30acbb37ad671791c07c14a6c923e99fd8)

Author SHA1 Message Date
  huwhois 9f2d52e3d8 ace 编辑器补充 3 years ago
suryee - Gogs: Go Git Service

赛亿官网

PDOException.php 1.4KB

    <?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2017 http://thinkphp.cn All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://zjzit.cn> // +---------------------------------------------------------------------- namespace think\exception; /** * PDO异常处理类 * 重新封装了系统的\PDOException类 */ class PDOException extends DbException { /** * PDOException constructor. * @param \PDOException $exception * @param array $config * @param string $sql * @param int $code */ public function __construct(\PDOException $exception, array $config, $sql, $code = 10501) { $error = $exception->errorInfo; $this->setData('PDO Error Info', [ 'SQLSTATE' => $error[0], 'Driver Error Code' => isset($error[1]) ? $error[1] : 0, 'Driver Error Message' => isset($error[2]) ? $error[2] : '', ]); parent::__construct($exception->getMessage(), $config, $sql, $code); } }
Sign In - Gogs: Go Git Service

Sign In