Commit 6df06dca by 李宏达

lhd

parent d2dd7b95
......@@ -175,13 +175,16 @@
bottom: 0;
margin: auto;
}
.el-tooltip__popper.is-light {
max-width: 80% !important;
}
</style>
</head>
<body>
<div id="app" v-loading="loading" class="app-main" style="visibility: hidden">
<div id="header" :class="typeHome ? 'app-headerHome' : 'app-header'">
<el-row style="border-bottom:none;padding: 0px;min-width: 1244px;">
<el-col :span="4" style="min-width:205px;text-align: center;">
<el-col :span="2" style="min-width:150px;text-align: center;">
<!-- <el-button type="text" style="font-size:24px;font-size: 0.24rem;" @click="navRoute('首页')">知识产权运营平台</el-button> -->
<img v-if="typeHome" style="margin-top: 14px;margin-left: 32px;cursor: pointer;" @click="NavIndexRoute('首页')" src="/imgs/home/logoimg1.png" alt="">
<img v-if="!typeHome" style="margin-top: 14px;cursor: pointer;" src="/imgs/home/logos.png" @click="NavIndexRoute('首页')" alt="">
......@@ -189,10 +192,10 @@
<!-- <el-col :span="17" class="spechorizotal">
<gsb-topmenu ref="topmenu" mode="horizontal" formatprop="formatItem" bkcolor="black" @menuselect="onMenuSelect"></gsb-topmenu>
</el-col> -->
<el-col v-if='!typeHome' :span="17" style="min-width:880px">
<el-col v-if='!typeHome' :span="19" style="min-width:880px">
<gsb-nav @navroute="NavIndexRoute" :navarr="navarr"></gsb-nav>
</el-col>
<el-col :span="3" style="float:right;min-width: 100px;" v-if="!currentUser">
<el-col :span="2" style="float:right;min-width: 100px;" v-if="!currentUser">
<el-button type="text" style="font-size: 0.14rem;" @click="onselect('login')">登录</el-button>
<el-button type="text" style="font-size: 0.14rem;" @click="onselect('register')">注册</el-button>
<div></div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -152,23 +152,26 @@ axios.get("/vue/comp/base").then(function(res){
homeType: true,
navarr:[
{
name:'首页'
},{
name:'智能检索',
obj:['专利检索','高级检索']
name:'智能检索'
},{
name:'智能分析'
},{
name:'IP智慧城市',
obj:['产业创新监测','创新人才发现','企业智慧管理']
},{
name:'智能估价'
},{
name:'创新资源共享'
name:'企业智慧管理'
},{
name:'智能分类'
name:'产业创新监测'
},{
name:'智能采集'
name:'IP智慧城市'
},{
name:'创新人才发现'
},{
name:'知识产权运营'
},{
name: '创新资源共享'
},{
name:'更多',
obj:['智能采集','智能分类','智能翻译']
}
],
// {
......@@ -222,6 +225,61 @@ axios.get("/vue/comp/base").then(function(res){
},
}),
created(){
/*let navarr = [
{
name:'智能检索'
},{
name:'智能分析'
},{
name:'智能估价'
},{
name:'企业智慧管理'
},{
name:'产业创新监测'
},{
name:'IP智慧城市'
},{
name:'创新人才发现'
},{
name:'知识产权运营'
},{
name:'创新资源共享'
},{
name:'智能采集'
},{
name:'智能分类'
},{
name:'智能翻译'
}
];
var that = this;
that.navarr = [];
let a = {
name: '更多',
obj: []
};
for(let i=0; i<navarr.length; i++) {
if ((i * 124) <= document.body.clientWidth) {
that.navarr.push(navarr[i])
}else {
a.obj.push(navarr[i])
}
if (a.obj.length > 0) {
that.navarr.push(a)
}
};
$(window).resize(function(){
for(var i=0; i<navarr.length; i++) {
if ((i * 124) <= document.body.clientWidth) {
that.navarr.push(navarr[i])
}else {
a.obj.push(navarr[i])
}
if (a.obj.length > 0) {
that.navarr.push(a)
}
}
})*/
var url = window.location.href;
var arr1 = url.split("/#");
var titleValue = "";
......@@ -337,7 +395,7 @@ axios.get("/vue/comp/base").then(function(res){
// window.open("https://gct.aminer.cn/");
this.loadingHome = true;
var url = encodeURIComponent("https://gct.aminer.cn/");
this.pushx({name:"/iframehtml",title:"智能推送",params:{url:url}});
this.pushx({name:"/iframehtml",title:"创新人才发现",params:{url:url}});
setTimeout(()=>{
this.loadingHome = false;
},1500);
......@@ -346,7 +404,7 @@ axios.get("/vue/comp/base").then(function(res){
this.typeHome = false;
this.loadingHome = true;
var url = encodeURIComponent("https://www.cnuip.com/");
this.pushx({name:"/iframehtml",title:"智能推送",params:{url:url}});
this.pushx({name:"/iframehtml",title:"知识产权运营",params:{url:url}});
setTimeout(()=>{
this.loadingHome = false;
},1500);
......@@ -355,7 +413,16 @@ axios.get("/vue/comp/base").then(function(res){
this.typeHome = false;
this.loadingHome = true;
var url = encodeURIComponent("http://47.104.94.221:8001/wiki");
this.pushx({name:"/iframehtml",title:"智能推送",params:{url:url}});
this.pushx({name:"/iframehtml",title:"智能采集",params:{url:url}});
setTimeout(()=>{
this.loadingHome = false;
},1500);
}else if(v== "智能翻译"){
// window.open("http://47.104.94.221:8001/wiki");
this.typeHome = false;
this.loadingHome = true;
var url = encodeURIComponent("http://125.34.170.146:8080/translate");
this.pushx({name:"/iframehtml",title:"智能翻译",params:{url:url}});
setTimeout(()=>{
this.loadingHome = false;
},1500);
......
......@@ -33,7 +33,7 @@ module.exports=
};
},
mounted:function(){
},
watch:{
......
......@@ -125,4 +125,4 @@
.lhd_table_list .dj {
cursor: pointer;
color: rgba(17,132,224,1);
}
\ No newline at end of file
}
......@@ -25,8 +25,8 @@
<div class="banner-more">更多 <i class="el-icon-arrow-right"></i></div>
<transition name="el-zoom-in-bottom">
<div class="banner-more-pop-up" v-show="show2">
<div class="banner-more-pop-up-item" @click="navRoute(\'知识产权运营\')">智能翻译 <i class="el-icon-arrow-right"></i></div>
<div class="banner-more-pop-up-item" @click="navRoute(\'智能采集\')"> 智能分类<i class="el-icon-arrow-right"></i></div>
<div class="banner-more-pop-up-item" @click="navRoute(\'智能翻译\')">智能翻译 <i class="el-icon-arrow-right"></i></div>
<div class="banner-more-pop-up-item" @click="navRoute(\'智能分类\')"> 智能分类<i class="el-icon-arrow-right"></i></div>
<div class="banner-more-pop-up-item" @click="navRoute(\'智能采集\')">智能采集 <i class="el-icon-arrow-right"></i></div>
</div>
</transition>
......
......@@ -152,7 +152,9 @@
var that = this;
$(window).resize(function(){
that.xingkong()
if (that.$route.path == '/') {
that.xingkong()
}
})
/*$('.home-banner').starfield({
starDensity: 2.0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment