Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
0dea3b6d
Commit
0dea3b6d
authored
Oct 26, 2020
by
李宏达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lhd
parent
f8073fc1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
103 additions
and
8 deletions
+103
-8
ipop-web/app/base/db/metadata/apps/platform.js
+9
-0
ipop-web/app/base/db/metadata/bizs/wx76a324c5d201d1a4/iframehtmlTabs.js
+0
-0
ipop-web/app/front/entry/main.ejs
+3
-0
ipop-web/app/front/entry/public/js/index.js
+11
-2
ipop-web/app/front/vues/pages/home/home.html
+1
-1
ipop-web/app/front/vues/pages/home/home.js
+9
-3
ipop-web/app/front/vues/pages/iframehtml/iframehtml.js
+2
-2
ipop-web/app/front/vues/pages/iframehtmlTabs/iframehtmlTabs.css
+0
-0
ipop-web/app/front/vues/pages/iframehtmlTabs/iframehtmlTabs.html
+19
-0
ipop-web/app/front/vues/pages/iframehtmlTabs/iframehtmlTabs.js
+49
-0
No files found.
ipop-web/app/base/db/metadata/apps/platform.js
View file @
0dea3b6d
...
...
@@ -119,6 +119,14 @@ module.exports = {
"path"
:
""
},
{
"code"
:
"iframehtmlTabs"
,
"icon"
:
"fa fa-search"
,
"label"
:
"网页嵌入"
,
"bizCode"
:
"iframehtmlTabs"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"competitiveanalysis"
,
"icon"
:
"fa fa-search"
,
"label"
:
"竞争企业分析"
,
...
...
@@ -138,6 +146,7 @@ module.exports = {
},
"bizs"
:
{
"iframehtml"
:
{
"title"
:
"网页嵌入"
,
"config"
:
null
,
"path"
:
"/iframehtml"
,
"comname"
:
"iframehtml"
},
"iframehtmlTabs"
:
{
"title"
:
"网页嵌入"
,
"config"
:
null
,
"path"
:
"/iframehtmlTabs"
,
"comname"
:
"iframehtmlTabs"
},
"competitiveanalysis"
:
{
"title"
:
"竞争企业分析"
,
"config"
:
null
,
"path"
:
"/competitiveanalysis"
,
"comname"
:
"competitiveanalysis"
},
"enterprisecontrast"
:
{
"title"
:
"竞争企业分析"
,
"config"
:
null
,
"path"
:
"/enterprisecontrast"
,
"comname"
:
"enterprisecontrast"
},
"home"
:
{
"title"
:
"首页"
,
"config"
:
null
,
"path"
:
"/"
,
"comname"
:
"home"
},
...
...
ipop-web/app/base/db/metadata/bizs/wx76a324c5d201d1a4/iframehtmlTabs.js
0 → 100644
View file @
0dea3b6d
ipop-web/app/front/entry/main.ejs
View file @
0dea3b6d
...
...
@@ -178,6 +178,9 @@
.el-tooltip__popper.is-light
{
max-width
:
80%
!important
;
}
.el-menu-item
{
outline
:
none
!important
;
}
</style>
</head>
<body>
...
...
ipop-web/app/front/entry/public/js/index.js
View file @
0dea3b6d
...
...
@@ -414,8 +414,17 @@ axios.get("/vue/comp/base").then(function(res){
// window.open("https://www.cnuip.com/");
this
.
typeHome
=
false
;
this
.
loadingHome
=
true
;
var
url
=
encodeURIComponent
(
"https://www.cnuip.com/"
);
this
.
pushx
({
name
:
"/iframehtml"
,
title
:
"知识产权运营"
,
params
:{
url
:
url
}});
var
url
=
encodeURIComponent
(
"http://101.132.173.37:8110/"
);
this
.
pushx
({
name
:
"/iframehtmlTabs"
,
title
:
"知识产权运营"
,
params
:{
url
:
url
}});
setTimeout
(()
=>
{
this
.
loadingHome
=
false
;
},
1500
);
}
else
if
(
v
==
"智能分类"
){
// window.open("https://www.cnuip.com/");
this
.
typeHome
=
false
;
this
.
loadingHome
=
true
;
var
url
=
encodeURIComponent
(
"http://125.34.170.146/"
);
this
.
pushx
({
name
:
"/iframehtml"
,
title
:
"智能分类"
,
params
:{
url
:
url
}});
setTimeout
(()
=>
{
this
.
loadingHome
=
false
;
},
1500
);
...
...
ipop-web/app/front/vues/pages/home/home.html
View file @
0dea3b6d
...
...
@@ -46,7 +46,7 @@
<div
class=
"item-article-text"
><span></span>
美国最严技术出口管制,中国芯片大军转向欧罗
</div>
<div
class=
"item-article-text"
><span></span>
美国最严技术出口管制,中国芯片大军转向欧罗
</div>
<div
class=
"item-article-text"
><span></span>
美国最严技术出口管制,中国芯片大军转向欧罗
</div>
<div
class=
"item-article-more"
>
更多 >>
</div>
<div
class=
"item-article-more"
@
click=
"clickMore(item.url)"
>
更多 >>
</div>
</div>
</div>
</div>
...
...
ipop-web/app/front/vues/pages/home/home.js
View file @
0dea3b6d
...
...
@@ -68,13 +68,16 @@
contentArr
:
[
{
img
:
'background: url(/imgs/home/nav1.png) no-repeat;'
,
name
:
'热门专利'
name
:
'热门专利'
,
url
:
'https://patent.aminer.cn/#/push/patent'
},{
img
:
'background: url(/imgs/home/nav2.jpg) no-repeat;'
,
name
:
'热门科技资讯'
name
:
'热门科技资讯'
,
url
:
'https://patent.aminer.cn/#/push/news'
},{
img
:
'background: url(/imgs/home/nav3.jpg) no-repeat;'
,
name
:
'热门文献'
name
:
'热门文献'
,
url
:
'https://patent.aminer.cn/#/push/paper'
},
],
bannerTabsArr
:
[
...
...
@@ -173,6 +176,9 @@
this
.
$root
.
typeHome
=
true
;
},
methods
:{
clickMore
(
url
)
{
window
.
open
(
url
)
},
show2enter
()
{
this
.
show2
=
true
;
},
...
...
ipop-web/app/front/vues/pages/iframehtml/iframehtml.js
View file @
0dea3b6d
...
...
@@ -2,7 +2,7 @@
template
:
'${tmpl}'
,
data
:
function
(){
return
{
url
:
""
,
url
:
""
}
},
mounted
:
function
(){
...
...
@@ -17,7 +17,7 @@
},
methods
:{
},
vname
:
"gsb-iframehtml"
}
ipop-web/app/front/vues/pages/iframehtmlTabs/iframehtmlTabs.css
0 → 100644
View file @
0dea3b6d
ipop-web/app/front/vues/pages/iframehtmlTabs/iframehtmlTabs.html
0 → 100644
View file @
0dea3b6d
<div
style=
"width:100%;height:100%;"
>
<div
style=
"width:200px;height:100%;float: left;background-color: rgb(84, 92, 100);"
>
<el-menu
:default-active=
"0"
class=
"el-menu-vertical-demo"
@
select=
"handleSelect"
background-color=
"#545c64"
text-color=
"#fff"
active-text-color=
"#ffd04b"
>
<el-menu-item
v-for=
"(item, key) in urlTabs"
:key=
"key"
:index=
"key"
>
<i
class=
"el-icon-menu"
></i>
<span
slot=
"title"
>
{{item.name}}
</span>
</el-menu-item>
</el-menu>
</div>
<div
style=
"width:calc(100% - 200px);height:100%;float: left;"
>
<iframe
style=
"width:100%;height:100%;"
:src=
"url"
frameborder=
"0"
></iframe>
</div>
</div>
ipop-web/app/front/vues/pages/iframehtmlTabs/iframehtmlTabs.js
0 → 100644
View file @
0dea3b6d
{
template
:
'${tmpl}'
,
data
:
function
(){
return
{
url
:
""
,
urlTabs
:[
{
name
:
'知识产权运营'
,
/*url: 'https://www.cnuip.com/'*/
url
:
'http://101.132.173.37:8110/'
},
{
name
:
'专利超市'
,
url
:
'http://101.132.173.37:8110/goods/patent.html'
},{
name
:
'企业服务'
,
url
:
'http://101.132.173.37:8110/goods/service_z01.html'
},{
name
:
'科技成果'
,
url
:
'http://101.132.173.37:8110/achievement'
},{
name
:
'知产百科'
,
url
:
'http://101.132.173.37:8110/article/baike/'
},{
name
:
'问专家'
,
url
:
'http://101.132.173.37:8110/shop_3.html'
}
]
}
},
mounted
:
function
(){
console
.
log
(
this
.
$root
.
currentUser
,
'调用方法'
);
var
url
=
this
.
$router
.
history
.
current
.
query
.
url
;
if
(
url
){
url
=
decodeURIComponent
(
url
);
this
.
url
=
url
;
}
},
created
:
function
(){
},
methods
:{
handleSelect
(
val
)
{
console
.
log
(
val
);
this
.
url
=
this
.
urlTabs
[
val
].
url
}
},
vname
:
"gsb-iframehtmlTabs"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment