iapeng/portal-front/issues"> 工单管理 0 合并请求 0 提交历史 1122 版本发布 0 Wiki

portal html css js resource

luyanan ba09a20057 广告位模块的提取,便于维护更新 7 年之前
..
ad ba09a20057 广告位模块的提取,便于维护更新 7 年之前
banner 6f77d067cf 144141 7 年之前
field_icon c8773b04cf h5 首页搜索以及各个页面判断是否为移动端跳转H5页面 7 年之前
h5_img c8773b04cf h5 首页搜索以及各个页面判断是否为移动端跳转H5页面 7 年之前
professor e6c3c09286 更换专家头像,文章留言头像形状 8 年之前
talks 8aac7d97a7 首页【科袖访谈】内容添加 7 年之前
app-icons.png c5d9752792 --init 8 年之前
arrows.png c5d9752792 --init 8 年之前
bottom_button_dingbu_hig.png 746a2cc5de 浏览页面添加纠错反馈和回到顶部 7 年之前
bottom_button_guanbi_nor.png 746a2cc5de 浏览页面添加纠错反馈和回到顶部 7 年之前
bottom_button_jiucuo_hig.png 746a2cc5de 浏览页面添加纠错反馈和回到顶部 7 年之前
bottom_icon_xiugai_nor.png 746a2cc5de 浏览页面添加纠错反馈和回到顶部 7 年之前
c-sign-on_bg_img_nor.png 63d1a07dec 企业邀请员工注册科袖 8 年之前
c-sign-on_button_xuanze_hig.png 63d1a07dec 企业邀请员工注册科袖 8 年之前
c-sign-on_button_xuanze_nor.png 63d1a07dec 企业邀请员工注册科袖 8 年之前
c-sign-on_icon_1_hig.png 20e2b81022 科袖普通版的导航条和新版登录 8 年之前
c-sign-on_icon_2_hig.png 20e2b81022 科袖普通版的导航条和新版登录 8 年之前
c-sign-on_icon_2_nor.png 20e2b81022 科袖普通版的导航条和新版登录 8 年之前
c-sign-on_icon_3_hig.png 20e2b81022 科袖普通版的导航条和新版登录 8 年之前
c-sign-on_icon_3_nor.png 20e2b81022 科袖普通版的导航条和新版登录 8 年之前
c-sign-on_icon_logo_nor.png 99001a6699 更换网站logo,更换发现广告二维码 8 年之前
chat-btton-more.png 6fd3d1f17a 会话内容保留回车 7 年之前
checkApp.png d882c7d5d2 邀请好友页面 8 年之前
choiceIcon.png c5d9752792 --init 8 年之前
close_icon_12deeb0.png 8a409c7692 消息列表 7 年之前
cmp-logo.png 9530515600 员工列表提示信息 8 年之前
con_icon_info_warn.png 63d1a07dec 企业邀请员工注册科袖 8 年之前
contact.png c5d9752792 --init 8 年之前
default-artical.jpg ec47f01ca6 新版文章相关icon 8 年之前
default-icon.jpg b34a59fed2 浏览页面咨询改联系 7 年之前
default-icon1.jpg b34a59fed2 浏览页面咨询改联系 7 年之前
default-paper.jpg 721a51bfb3 专利论文默认图片 7 年之前
default-patent.jpg 721a51bfb3 专利论文默认图片 7 年之前
default-photo-up.png 8201e6fb83 修改完善文章列表和文章浏览 8 年之前
default-photo.jpg ec47f01ca6 新版文章相关icon 8 年之前
default-resource.jpg ec47f01ca6 新版文章相关icon 8 年之前
dialogue.png ac3781b7a6 资源分享和专家分享完善以及身份认证标识完善 8 年之前
download_bg_erweima_nor.png cb11a19640 新版产品下载页面 7 年之前
download_bg_logo_nor.png cb11a19640 新版产品下载页面 7 年之前
download_bg_shouji_nor.png c14d05ee2f 下载页面图片替换 搜索页面加入搜企业 7 年之前
download_button_xiazai_nor.png cb11a19640 新版产品下载页面 7 年之前
download_icon_anzhuo_nor.png cb11a19640 新版产品下载页面 7 年之前
download_icon_pingguo_nor.png cb11a19640 新版产品下载页面 7 年之前
download_windows.png c5d9752792 --init 8 年之前
downselect.png c5d9752792 --init 8 年之前
ecordCard.jpg cb2fffe403 资源文章分享 7 年之前
enterprise_img_bg_nor@3x.png f99c067f7c 分享论文、专利、企业、个人 7 年之前
ep.png c5d9752792 --init 8 年之前
evastar.png c5d9752792 --init 8 年之前
favicon.png c5d9752792 --init 8 年之前
favoricon.png 0d2e13d8f6 【我的工作台】添加关注模块 8 年之前
fieldbg.jpg c5d9752792 --init 8 年之前
filetype.png c5d9752792 --init 8 年之前
g-resource-mask.png 8201e6fb83 修改完善文章列表和文章浏览 8 年之前
g_all_icon_shoucang_hig.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_all_icon_shoucang_nor_1.png 8201e6fb83 修改完善文章列表和文章浏览 8 年之前
g_all_icon_shoucang_nor_2.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_all_icon_weixin_hig.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_all_icon_weixin_nor_1.png 8201e6fb83 修改完善文章列表和文章浏览 8 年之前
g_all_icon_weixin_nor_2.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_all_icon_xinlang_hig.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_all_icon_xinlang_nor_1.png 8201e6fb83 修改完善文章列表和文章浏览 8 年之前
g_all_icon_xinlang_nor_2.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_article_bg_redu_nor.png eed2d7968b 相关图片icon 8 年之前
g_article_button_dingbu_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_button_dingbu_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_button_guanbi_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_button_huifu_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_button_liuyan_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_button_liuyan_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_button_shanchu_hig.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_article_button_xiugai_hig.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_article_icon_caogao_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_caogao_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_dianzan_nor.png cc8b36e7f9 资源的相关文章和感兴趣的 7 年之前
g_article_icon_dingshi_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_dingshi_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_fabu_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_fabu_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_fanbu_nor.png 91aa6534ef 工作台,资源,文章相关 7 年之前
g_article_icon_gongzuotai_hig.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_gongzuotai_nor.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_jia_nor.png cc8b36e7f9 资源的相关文章和感兴趣的 7 年之前
g_article_icon_jiucuo_hig.png 746a2cc5de 浏览页面添加纠错反馈和回到顶部 7 年之前
g_article_icon_jiucuo_nor.png 746a2cc5de 浏览页面添加纠错反馈和回到顶部 7 年之前
g_article_icon_lunwen_hig.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_lunwen_nor.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_shanchu_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_shanchu_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_sousuo_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_wenzhang_hig.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_wenzhang_nor.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_xuqiu_hig.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_xuqiu_nor.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_yulan_hig.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_yulan_nor.png ec47f01ca6 新版文章相关icon 8 年之前
g_article_icon_zhuanli_hig.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_zhuanli_nor.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_zixun_hig.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_zixun_nor.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_ziyuan_hig.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_article_icon_ziyuan_nor.png 44a7c6ff85 论文列表、导入论文、论文修改 7 年之前
g_resource_bg_tianjia_nor.png f64be2495a 资源发布、预览、浏览、工作台资源列表 8 年之前
g_resource_button_guanbi_2_nor.png 677b77e0d3 更换工作台菜单链接地址及菜单样式 8 年之前
g_resource_button_guanbi_nor.png eed2d7968b 相关图片icon 8 年之前
guideJump.png a479da7b02 微信引导浏览器打开 7 年之前
home_bg_guanzhu_nor.png 25e5f0b535 首页添加我是专家和发布需求入口,更换首页底部footer 8 年之前
home_bg_xiazaiapp_nor.png 25e5f0b535 首页添加我是专家和发布需求入口,更换首页底部footer 8 年之前
home_code_app.jpg 1a40ac67e7 转换模块居中方式,添加顶部导航栏 8 年之前
home_code_weixin.jpg 1a40ac67e7 转换模块居中方式,添加顶部导航栏 8 年之前
home_icon_beian.png 748acb2b86 添加企业入驻入口 8 年之前
home_icon_fabuxuqiu_nor.png 748acb2b86 添加企业入驻入口 8 年之前
home_icon_fangtan_nor.png b34a59fed2 浏览页面咨询改联系 7 年之前
home_icon_hezuoqiye_nor.png b34a59fed2 浏览页面咨询改联系 7 年之前
home_icon_hezuoqiye_nor2.png b34a59fed2 浏览页面咨询改联系 7 年之前
home_icon_logo_nor.png 99001a6699 更换网站logo,更换发现广告二维码 8 年之前
home_icon_logo_orange.png 99001a6699 更换网站logo,更换发现广告二维码 8 年之前
home_icon_qiyeruzhu_nor.png 748acb2b86 添加企业入驻入口 8 年之前
home_icon_remenlingyu_nor.png b34a59fed2 浏览页面咨询改联系 7 年之前
home_icon_remenzhuanjia_nor.png b34a59fed2 浏览页面咨询改联系 7 年之前
home_icon_woshizhuanjia_nor.png 748acb2b86 添加企业入驻入口 8 年之前
home_line_nor.png 25e5f0b535 首页添加我是专家和发布需求入口,更换首页底部footer 8 年之前
icon-reflash.png c5d9752792 --init 8 年之前
icon_2.png 3e2fe254bd 替换邀请函图片 8 年之前
icons.png c5d9752792 --init 8 年之前
index-icon.png 266343645c 个人菜单icon 7 年之前
info_warn.png c5d9752792 --init 8 年之前
likemore.png c5d9752792 --init 8 年之前
linkicon.png c5d9752792 --init 8 年之前
loading.gif c5d9752792 --init 8 年之前
logo.png c5d9752792 --init 8 年之前
logo180.png 52e59f2adf 科袖logo,资源分享 8 年之前
logo2.png c5d9752792 --init 8 年之前
logo3.png c5d9752792 --init 8 年之前
logo4.png 1057444e8b 新增邮箱邀请相关配图 8 年之前
nodata.png 5961a4e80a 新增注册时邮箱验证成功与失败的判断 8 年之前
p-bg.png c5d9752792 --init 8 年之前
personal_icon_dizhi_nor@3x.png f99c067f7c 分享论文、专利、企业、个人 7 年之前
personal_img_bg_nor@3x.png f99c067f7c 分享论文、专利、企业、个人 7 年之前
phoneIcon.png c5d9752792 --init 8 年之前
phoneIcon2.png c5d9752792 --init 8 年之前
pic1.jpg c5d9752792 --init 8 年之前
pointImg.jpg 1057444e8b 新增邮箱邀请相关配图 8 年之前
points_icon_ku_nor.png 0f650ad040 用户相关文章和合作专家 7 年之前
porfile_icon_qiye_hig.png b34a59fed2 浏览页面咨询改联系 7 年之前
porfile_icon_qiye_nor.png b07e10b33d 添加身份标识 8 年之前
porfile_icon_shimin_nor.png ac130de1a9 实名标志更换 8 年之前
porfile_icon_yuangong_hig.png b07e10b33d 添加身份标识 8 年之前
porfile_icon_yuangong_nor.png b07e10b33d 添加身份标识 8 年之前
porfile_icon_zhuanjia_nor.png b07e10b33d 添加身份标识 8 年之前
redio.png c5d9752792 --init 8 年之前
share2.png c5d9752792 --init 8 年之前
share_bg_huanying_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_bg_huanying_x_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_bg_img_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_bg_lunwen_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_bg_zhuanli_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_bg_zhuce_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_bg_zhucechenggong_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_icon_chenggong_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_icon_fabu_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_icon_haoyou_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_icon_shibai_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
share_icon_zhuanjia_nor@3x.png 8e64be01bb 邀请论文专利作者和发明人 7 年之前
sign_bg_tishi_1_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_chenggong_nor.png c12ddc5ef1 修改bug 8 年之前
sign_icon_gantan_nor.png 63d1a07dec 企业邀请员工注册科袖 8 年之前
sign_icon_guanbi_nor.png 63d1a07dec 企业邀请员工注册科袖 8 年之前
sign_icon_hr_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_jishu_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_keyan_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_putong_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_qiyegaoguan_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_shibai_nor.png 20e2b81022 科袖普通版的导航条和新版登录 8 年之前
sign_icon_touzifang_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_xiaoshou_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_xuanze_hig.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_xuesheng_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
sign_icon_zixun_nor.png d60cd98165 完善信息身份选择,特邀专家首次登录设置密码 8 年之前
take-photo.png c5d9752792 --init 8 年之前
thumb-up.png c5d9752792 --init 8 年之前
top_icon_shouji_nor.png 1a40ac67e7 转换模块居中方式,添加顶部导航栏 8 年之前
unredio.png c5d9752792 --init 8 年之前
up.png c5d9752792 --init 8 年之前
wechat_bg_img_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_bg_img_wenben_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_logo_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_mail_nor@3x.png 5e585f7cd0 微信公众号中添加加入科袖链接页面 7 年之前
wechat_icon_mima_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_org_nor@3x.png 5e585f7cd0 微信公众号中添加加入科袖链接页面 7 年之前
wechat_icon_pro_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_shouji_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_xingming_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_xuqiu_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_yanzhengma_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
wechat_icon_yaoqing_nor@3x.png a2e775138b 新版邀请注册页面 8 年之前
weixin_code.jpg c5d9752792 --init 8 年之前
workclose.png c5d9752792 --init 8 年之前
wrapIcon.png 1685f71e81 文章详情、分享至微信及留言页面 8 年之前
zyadd.png c5d9752792 --init 8 年之前
portal-front - Gogs: Go Git Service

portal html css js resource

patentShow1.js 17KB

    $(document).ready(function() { var userid=$.cookie("userid"); var patentId =window.staticPageData.id var hurl = window.location.host; if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){ location.href="http://" + window.location.host + "/e/z.html?id="+patentId; } //分享关注按钮 $('.shareWeixin').hover(function(){$(this).find('.shareCode').stop(true,false).fadeToggle();}); //微信分享 var qrcode = new QRCode(document.getElementById("qrcode"), { width : 100, height : 100 }); function makeCode(){ var elurl = "http://" + hurl + "/e/z.html?id=" + patentId ; qrcode.makeCode(elurl); } makeCode(); $(".commentList").parent().append('<button class="js-load-more displayNone"></button>') pageViewLog(patentId,4) module.lWord(patentId,3,1); function Patent() { this.init(); this.flag = GetQueryString("flag"); } Patent.prototype.init = function() { loginYesOrNo() ifcollectionAbout(patentId,$("#collectBtn"),4); $("#paperName").text(window.staticPageData.name); if(window.staticPageData.summary) { $(".showCon").eq(5).text(window.staticPageData.summary); } this.ajax({ url: "/ajax/ppatent/qo", data: { id: patentId }, type: "get", Fun: this.patentMess }); this.ajax({ url: "/ajax/ppatent/authors", data: { id: patentId }, type: "get", Fun: this.patentAuth }); } Patent.prototype.ajax = function(obj) { var $this = this; $.ajax({ url: obj.url, data: obj.data, dataType: 'json', //服务器返回json格式数据 type: obj.type, //HTTP请求类型 timeout: 10000, //超时时间设置为10秒; traditional: true, async:false, success: function(data) { if(data.success) { obj.Fun(data.data, $this); } }, error: function() { $this.Fail(); } }); } Patent.prototype.Fail = function() { $.MsgBox.Alert('提示', "服务器链接超时"); } Patent.prototype.keyword = function($key) { for(var i in $key.split(",")) { if(GetQueryString("flag")== 1) { if($key.split(",").length>=5) { $(".oinput").parents(".col-w-12").hide(); } $("#paperSList").append("<li><p class='h2Font'>" + $key.split(",")[i] + "</p><div class='closeThis'></div></li>"); } else { paperRelatedList($key.split(",")); $(".tagList").append("<li><p class='h2Font'>" + $key.split(",")[i] + "</p></li>"); } } } Patent.prototype.patentMess = function($data, $obj) { if(GetQueryString("flag") == 1) { $(".advertItem,.form-show").hide(); hotKey(".oinput", 1); if($data.keywords) { $obj.keyword($data.keywords); } $("#remarkContent").val($data.cooperation) } else { $(".oinput").parents(".form-item").hide(); $(".conItemFirst,#paperList").hide(); if($data.keywords) { $obj.keyword($data.keywords); } else { $(".form-show").hide(); } } if($data.name) { document.title=$data.name; } $("#pageview").text($data.pageViews); if($data.reqCode) { $(".showCon").eq(0).text($data.reqCode); } else { $(".showCon").eq(0).parents("li").hide(); } if($data.code) { $(".showCon").eq(1).text($data.code); } else { $(".showCon").eq(1).parents("li").hide(); } $(".showCon").eq(2).text(TimeTr($data.reqDay)); $(".showCon").eq(3).text(TimeTr($data.pubDay)); $(".showCon").eq(4).text($data.reqPerson); if($data.summary) { $(".showCon").eq(5).text($data.summary); } if($data.cooperation){ $("#noteCo").parent().show() $("#noteCo").text($data.cooperation) } var weibotitle = $data.name; var weibourl = window.location.href; var weibopic = "http://" + window.location.host + "/images/default-patent.jpg"; $("#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"); $obj.bindEvent($obj); // $("#advertisement img").attr("src","/"+$("#advertisement img").attr("src")); } Patent.prototype.patentAuth = function($data, $obj) { for(var i in $data) { if($data[i].professorId.substring(0, 1) == "#") { var otr = '<li class="flexCenter"><a data-id="'+ $data[i].professorId +'">' + '<div class="madiaHead useHead" id="userimg"></div>' + '<div class="madiaInfo">' + '<p class="ellipsisSty">' + '<span class="h1Font" id="name">' + $data[i].name + '</span>' + '</p>' + '</div></a>' if($data[i].name==$.cookie("userName")){ otr += '<div class="goSpan"><span class="ifMe" nflag="1">是我本人</span></div>' }else{ otr += '<div class="goSpan"><span class="yaoqing">邀请'+ '<div class="shareCode clearfix"><div class="floatL qrcodeUser"></div>'+ '<div class="shareWord floatR"><p>打开微信“扫一扫”,<br/>打开网页后点击屏幕右上角“分享”按钮</p></div>'+ '</div></span></div>' } otr += '</li>' $("#faM .lastBtn").before(otr); } else { $obj.ajax({ url: "/ajax/professor/editBaseInfo/" + $data[i].professorId, data: {}, type: "get", Fun: $obj.profess }); } if($data.length<5){ $("#faM li").css("display","block"); $(".lastBtn").hide(); }else{ $(".lastBtn").find("span").text($data.length); $("#faM li:lt(3)").css("display","block"); } if(GetQueryString("flag") == 1){ $("#faM li").css("display","block"); $("#faM li .goSpan").hide(); $(".lastBtn").hide(); } } //邀请 $(".goSpan").on("mouseenter",".yaoqing",function(){ $(this).find('.shareCode').stop(true,false).fadeIn(); }).on("mouseleave",".yaoqing",function(){ $(this).find('.shareCode').stop(true,false).fadeOut(); }); //邀请作者 var Qcu=document.getElementsByClassName("qrcodeUser"); for(var i=0;i<Qcu.length;i++){ var qrcode= new QRCode(Qcu[i], { width : 100, height : 100 }); makeCodePat(); } function makeCodePat(){ if(userid) { var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(GetQueryString("patentId"))+"&d="+s16to64(userid); } else{ var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(GetQueryString("patentId")); } qrcode.makeCode(elurl); } //是我本人 $(".goSpan").on("click",".ifMe",function(){ var oF=$(this).attr("nflag"); if(oF==1){ $.MsgBox.Confirm("提示", "确认这是您发表的专利?", daoRuPatent); $(this).attr("nflag","0"); }else{ return; } }); function daoRuPatent(){ $.ajax({ "url": "/ajax/ppatent/ass", "type": "POST", "data": { id:patentId, uid:$.cookie("userid"), author:$.cookie("userName") }, dataType: "json", "success": function(data) { if(data.success) { if(data.data){ $(".ifMe").text("导入成功").css("background","#ccc"); } } }, 'error': function() { $.MsgBox.Alert('提示', '服务器连接超时!'); } }); } } Patent.prototype.profess = function($data, $obj) { var img; var oClass = autho($data.authType, $data.orgAuth, $data.authStatus); var csAuto, oId; var arr = []; arr[0] = $data.title || $data.office; arr[1] = $data.orgName || ""; if(arr[0]) { if(arr[1]) { arr[2] = arr[0] + "," + arr[1] } else { arr[2] = arr[0]; } } else { arr[2] = ""; } if($data.hasHeadImage) { img = "/images/head/" + $data.id + "_l.jpg"; } else { img = "/images/default-photo.jpg" } oId = $data.id; var otr = '<li class="flexCenter"><a href="" data-id="' + oId + '">' + '<div class="madiaHead useHead" id="userimg" style="background-image:url(' + img + ')"></div>' + '<div class="madiaInfo" style="margin-top:-4px">' + '<p class="ellipsisSty">' + '<span class="h1Font" id="name">' + $data.name + '</span><em class="authiconNew ' + oClass.sty + '" title="' + oClass.title + '"></em>' + '</p>' + '<p class="h2Font ellipsisSty">' + arr[2] + '<p>' + '</div></a>' if(oId==userid){ otr += '' }else{ otr += '<div class="goSpan"><span class="attenSpan">关注</span></div>' } otr += '</li>' var $otr=$(otr); $("#faM .lastBtn").before($otr); ifcollectionAbout(oId,$otr.find(".attenSpan"),1); } Patent.prototype.bindEvent = function($obj) { $("#faM").on("click", "li>a", function() { if(GetQueryString("flag") !=1){ var oDataId = $(this).attr("data-id"); if(oDataId.substring(0,1)!="#"){ $(this).attr("href","/userInforShow.html?professorId="+oDataId); }else{ $(this).attr("href","javascript:void(0)"); } }else{ $(this).attr("href","javascript:void(0)"); } }) $('#attention em').click(function() { if(userid && userid != "null" && userid != null) { if($(this).is('.icon-collected')) { cancelCollectionAbout(patentId,$(this), 4); } else { collectionAbout(patentId,$(this), 4); } } else { quickLog(); operatTab(); closeLog(); } }) $("body").on("click", ".closeThis", function() { if($(this).parent().length < 5) { $(this).parents(".keyResult").siblings("div").show(); } $(this).parent().remove(); }); $("#release").on("click", function() { $.MsgBox.Confirm("提示", "确认发布该专利?", $obj.pubPatent); }); $("#delete").on("click", function() { $.MsgBox.Confirm("提示", "确认删除该专利?", $obj.delePatent); }); $(".lastBtn").on("click", function() { $("#faM li").css("display","block"); $(this).hide(); }); $(".tagList").on("click","li",function() { location.href = "/searchNew.html?searchContent=" + $(this).text() + "&tagflag=5"; }); //点击关注按钮 $("#faM").on('click',"span.attenSpan", function() { var pId=$(this).parent().siblings("a").attr("data-id"); if(userid && userid != null && userid != "null") { if($(this).is('.attenedSpan')){ cancelCollectionAbout(pId, $(this),1) } else { collectionAbout(pId, $(this),1); } }else{ quickLog(); operatTab(); closeLog(); } }); } Patent.prototype.captiureSubInd = function(subIndu) { var industrys = $("#" + subIndu + "").find("li"); var industryAll = ""; if(industrys.size() > 0) { for(var i = 0; i < industrys.size(); i++) { industryAll += industrys[i].innerText.trim(); industryAll += ','; }; industryAll = industryAll.substring(0, industryAll.length - 1); } return industryAll; } Patent.prototype.pubPatent = function() { var $key = oPent.captiureSubInd("paperSList"); oPent.ajax({ url: "/ajax/ppatent/update", data: { id: GetQueryString("patentId"), keywords: $key, cooperation:$("#remarkContent").val() }, type: "post", Fun: oPent.pubsucess }); } Patent.prototype.pubsucess = function() { $.MsgBox.Alert('提示', '专利发布成功!'); $("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain'); location.href = "/patentList.html" } Patent.prototype.delePatent = function() { oPent.ajax({ url: "/ajax/ppatent/cAss", data: { id: patentId, uid:$.cookie("userid") }, type: "post", Fun: oPent.delsucess }); } Patent.prototype.delsucess = function() { location.href = "/patentList.html" } var oPent = new Patent(); //纠错反馈 $(".footer_tools").hide(); $(".correctSubmit").on("click",function(){ var cntCon=$(this).siblings(".correctCon").val(); var cntUser=""; if(userid && userid != null && userid != "null") { cntUser = userid; } if(cntCon.length>500){ $.MsgBox.Alert('提示', '纠错反馈内容不得超过500个字'); return; }else{ $.ajax({ "url": "/ajax/feedback/error/patent", "type": "POST", "dataType": "json", "async": true, "data": { "id":patentId, "cnt":cntCon, "user":cntUser }, "success": function(data) { if(data.success) { console.log(data); backSuccessed(); suImg(); } }, "error": function() { $.MsgBox.Alert('提示', '链接服务器超时') } }); } }) if( GetQueryString("flag")==1){ $(".feedBack").click(function(){ $("#feedbackBox").fadeToggle(); }) $(".closeFeed").click(function(){ $("#feedbackBox").fadeOut(); }) }else{ $(".footer_tools").show(); $("#messagego").show(); $(".thumbBlock").show(); isAgreeNum() function isAgreeNum() { var data = {"id": patentId} $.ajax({ url:"/ajax/ppatent/agreeCount", data:data, dataType: 'json', //数据格式类型 type: 'get', //http请求类型 timeout: 10000, async: true, success: function(data) { if(data.success){ if(userid && userid != "null" && userid != null) { isAgree(data.data) //文章点赞 } else { $(".thumbBtn").html("赞 <span>" + data.data + "</span>"); } } }, error: function() { $.MsgBox.Alert('提示',"服务器链接超时"); } }); } /*判断论文是否被赞*/ function isAgree(articleAgree) { var data = {"id": patentId,"uid":userid ,"uname":$.cookie("userName")} $.ajax({ url:"/ajax/ppatent/agree", data:data, dataType: 'json', //数据格式类型 type: 'get', //http请求类型 timeout: 10000, async: true, success: function(data) { if(data.success){ if(data.data){ $(".thumbBtn").html("已赞 <span>"+articleAgree+"</span>"); $(".thumbBtn").addClass("thumbedBtn").css("cursor","auto"); }else{ $(".thumbBtn").html("赞 <span>"+articleAgree+"</span>"); $(".thumbBtn").addClass("thunbgo"); } } }, error: function() { $.MsgBox.Alert('提示',"服务器链接超时"); } }); } //论文点击点赞 $('.thumbBlock').on("click",".thunbgo",function(){ if (userid && userid != "null" && userid != null) { addAgree(); }else{ quickLog(); operatTab(); closeLog(); } }) /*点赞*/ function addAgree() { var data = {"uid": userid,"id": patentId,"uname":$.cookie("userName")} $.ajax({ url:"/ajax/ppatent/agree", data:data, dataType: 'json', //数据格式类型 type: 'POST', //http请求类型 timeout: 10000, async: true, success: function(data) { if(data.success){ var articleAgreeval = $(".thumbBtn span").text(); $(".thumbBtn").html("已赞 <span>"+(parseInt(articleAgreeval)+1)+"</span>"); $(".thumbBtn").addClass("thumbedBtn").css("cursor","auto"); $(".thumbBtn").removeClass("thunbgo"); } }, error: function() { $.MsgBox.Alert('提示',"服务器链接超时"); } }); } if(userid && userid != "null" && userid != null){ $(".ifLoginOn").removeClass("displayNone"); }else{ $(".ifLoginUn").removeClass("displayNone"); $(".ifLoginUn").on('click',".loginGo", function() { quickLog(); operatTab(); closeLog(); }) } //您可能感兴趣的论文 paperInterestingList() function paperInterestingList(){ $.ajax({ "url" : "/ajax/ppatent/ralatePatents", "type" : "GET" , "dataType" : "json", "data" :{ "patentId":patentId }, //"async":false, "traditional": true, //传数组必须加这个 "success" : function(data) { if(data.success) { console.log(data); var dataStr=data.data if(dataStr.length > 0){ $("#interPatent").show(); var itemlist = ''; $("#patentList").html(""); for(var i = 0; i < dataStr.length; i++) { var itemlist = '<li>'; itemlist += '<a class="flexCenter" target="_blank" href="/' + pageUrl("pt",dataStr[i]) +'"><div class="madiaHead patentHead"></div>'; itemlist += '<div class="madiaInfo">'; itemlist += '<p class="h1Font ellipsisSty">'+ dataStr[i].name +'</p>'; itemlist += '<p class="h2Font ellipsisSty">发明人:'+ dataStr[i].authors.substring(0, dataStr[i].authors.length - 1) +'</p>'; itemlist += '<p class="h2Font ellipsisSty">申请人:'+ dataStr[i].reqPerson +'</p>'; itemlist += '</div></a></li>'; $itemlist = $(itemlist); $("#patentList").append($itemlist); } } } }, "error":function(){ $.MsgBox.Alert('提示','链接服务器超时') } }); } } //根据关键词查询查找相关论文 function paperRelatedList(array){ $.ajax({ "url" : "/ajax/ppaper/assPapers", "type" : "GET" , "dataType" : "json", "data" :{ "kws":array }, //"async":false, "traditional": true, //传数组必须加这个 "success" : function(data) { if(data.success) { console.log(data); var dataStr=data.data if(dataStr.length > 0){ $("#paperList").show(); for(var i = 0; i < dataStr.length; i++) { var itemlist ='<li style="min-height:56px;"><a href="/'+pageUrl("pp",dataStr[i])+'"><p class="h2Font ellipsisSty-2" style="line-height:20px;"><em class="circlePre"></em>'+ dataStr[i].name +'</p></a></li>' $(".recentlyList").append(itemlist); } } } }, "error":function(){ $.MsgBox.Alert('提示', '链接服务器超时') } }); } })