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
be07e40d
Commit
be07e40d
authored
Aug 18, 2020
by
李宏达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lhd
parent
2b4ffc9b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
18 deletions
+75
-18
ipop-web/app/front/entry/public/css/pagecom.css
+0
-0
ipop-web/app/front/entry/public/js/index.js
+24
-13
ipop-web/app/front/vues/pages/enterprisecontrast/enterprisecontrast.css
+17
-2
ipop-web/app/front/vues/pages/enterprisecontrast/enterprisecontrast.html
+4
-0
ipop-web/app/front/vues/pages/enterprisecontrast/enterprisecontrast.js
+30
-3
No files found.
ipop-web/app/front/entry/public/css/pagecom.css
View file @
be07e40d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
ipop-web/app/front/entry/public/js/index.js
View file @
be07e40d
...
...
@@ -152,6 +152,8 @@ axios.get("/vue/comp/base").then(function(res){
homeType
:
true
,
navarr
:[
{
name
:
'首页'
},{
name
:
'智能检索'
},{
name
:
'智能分析'
...
...
@@ -225,8 +227,10 @@ axios.get("/vue/comp/base").then(function(res){
},
}),
created
(){
/*
let navarr = [
let
navarr
=
[
{
name
:
'首页'
},{
name
:
'智能检索'
},{
name
:
'智能分析'
...
...
@@ -258,28 +262,35 @@ axios.get("/vue/comp/base").then(function(res){
name
:
'更多'
,
obj
:
[]
};
let
clientWidth
=
document
.
body
.
clientWidth
-
400
;
for
(
let
i
=
0
;
i
<
navarr
.
length
;
i
++
)
{
if ((i * 124) <=
document.body.
clientWidth) {
if
((
i
*
124
)
<=
clientWidth
)
{
that
.
navarr
.
push
(
navarr
[
i
])
}
else
{
a.obj.push(navarr[i])
}
if (a.obj.length > 0) {
that.navarr.push(a)
a
.
obj
.
push
(
navarr
[
i
].
name
)
}
};
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
=
[];
let
a
=
{
name
:
'更多'
,
obj
:
[]
};
let
clientWidth
=
document
.
body
.
clientWidth
-
400
;
for
(
let
i
=
0
;
i
<
navarr
.
length
;
i
++
)
{
if
((
i
*
124
)
<=
clientWidth
)
{
that
.
navarr
.
push
(
navarr
[
i
])
}
else
{
a.obj.push(navarr[i])
}
if (a.obj.length > 0) {
that.navarr.push(a)
a
.
obj
.
push
(
navarr
[
i
].
name
)
}
};
if
(
a
.
obj
.
length
>
0
)
{
that
.
navarr
.
push
(
a
)
}
})
*/
})
var
url
=
window
.
location
.
href
;
var
arr1
=
url
.
split
(
"/#"
);
var
titleValue
=
""
;
...
...
ipop-web/app/front/vues/pages/enterprisecontrast/enterprisecontrast.css
View file @
be07e40d
...
...
@@ -47,7 +47,7 @@
text-stroke
:
1px
rgba
(
255
,
0
,
0
,
1
);
}
.con_left
{
margin-top
:
5.
3vh
;
margin-top
:
3vh
;
float
:
left
;
width
:
46.8%
;
height
:
78vh
;
...
...
@@ -140,7 +140,7 @@
z-index
:
-1
;
}
.con_right
{
margin-top
:
5.
3vh
;
margin-top
:
3vh
;
float
:
right
;
width
:
46.8%
;
height
:
78vh
;
...
...
@@ -216,4 +216,18 @@
height
:
21.3vh
;
background
:
url('https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_4197159746069577320201511455773图层6 拷贝.png')
no-repeat
;
background-size
:
100%
100%
;
}
.fenye_lhd
{
width
:
150px
;
position
:
absolute
;
bottom
:
10px
;
left
:
calc
(
50%
-
75px
);
font-size
:
16px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
z-index
:
9999
;
}
.fenye_lhd
span
{
cursor
:
pointer
;
}
\ No newline at end of file
ipop-web/app/front/vues/pages/enterprisecontrast/enterprisecontrast.html
View file @
be07e40d
...
...
@@ -67,5 +67,8 @@
</div>
</div>
</div>
<div
class=
"fenye_lhd"
>
<span
@
click=
"shang"
>
上一页
</span>
{{pageSize/5 + 1}}/{{Math.ceil(arrt1.length / 5)}}
<span
@
click=
"xia"
>
下一页
</span>
</div>
<div
class=
"bar_lhd"
></div>
</div>
\ No newline at end of file
ipop-web/app/front/vues/pages/enterprisecontrast/enterprisecontrast.js
View file @
be07e40d
...
...
@@ -11,7 +11,11 @@
'background:linear-gradient(270deg,rgba(252,219,0,1) 0%,rgba(247,181,0,1) 100%);'
,
'background:linear-gradient(270deg,rgba(121,237,220,1) 0%,rgba(28,240,154,1) 100%);'
],
arr1
:
[],
arr2
:
[]
arr2
:
[],
pageSize
:
0
,
arrLength
:
0
,
arrt1
:
[],
arrt2
:
[]
}
},
mounted
:
function
(){
...
...
@@ -32,6 +36,24 @@
params
:{
entName
:
this
.
name2
}
});
},
shang
()
{
if
(
this
.
pageSize
>
0
)
{
this
.
pageSize
=
this
.
pageSize
-
5
;
this
.
arr1
=
this
.
arrt1
.
slice
(
this
.
pageSize
,
this
.
pageSize
+
5
);
this
.
arr2
=
this
.
arrt2
.
slice
(
this
.
pageSize
,
this
.
pageSize
+
5
);
}
else
{
console
.
log
(
'没有了'
)
}
},
xia
()
{
if
(
this
.
arrLength
>
(
this
.
pageSize
+
5
))
{
this
.
pageSize
=
this
.
pageSize
+
5
;
this
.
arr1
=
this
.
arrt1
.
slice
(
this
.
pageSize
,
this
.
pageSize
+
5
);
this
.
arr2
=
this
.
arrt2
.
slice
(
this
.
pageSize
,
this
.
pageSize
+
5
);
}
else
{
console
.
log
(
'没有了'
)
}
},
analysisInfo
(){
var
obj
=
{
company1
:
""
,
company2
:
''
,
keyword1
:
''
,
keyword2
:
''
};
if
(
this
.
name1
&&
this
.
name2
&&
this
.
text1
&&
this
.
text2
){
...
...
@@ -46,8 +68,13 @@
this
.
$root
.
getReq
(
"web/patentycCtl/competitionAnalysisContex"
,
obj
).
then
(
d
=>
{
console
.
log
(
d
);
if
(
d
&&
d
.
status
==
0
){
this
.
arr1
=
d
.
data
.
arrt1
;
this
.
arr2
=
d
.
data
.
arrt2
;
this
.
arrLength
=
d
.
data
.
arrt1
.
length
;
this
.
arrt1
=
d
.
data
.
arrt1
;
this
.
arrt2
=
d
.
data
.
arrt2
;
this
.
arr1
=
d
.
data
.
arrt1
.
slice
(
this
.
pageSize
,
this
.
pageSize
+
5
);
this
.
arr2
=
d
.
data
.
arrt2
.
slice
(
this
.
pageSize
,
this
.
pageSize
+
5
);
}
this
.
$root
.
hideMask
();
}).
catch
(
e
=>
{
...
...
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