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
d7064cb0
Commit
d7064cb0
authored
Nov 29, 2019
by
haozhenhua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hzh
parent
d1aa10ce
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1354 additions
and
7 deletions
+1354
-7
igirl-web/app/base/db/metadata/apps/platform.js
+23
-1
igirl-web/app/front/entry/main.ejs
+2
-2
igirl-web/app/front/entry/public/css/pagecom.css
+0
-0
igirl-web/app/front/entry/public/js/index.js
+13
-1
igirl-web/app/front/vues/pages/declare/declare.css
+601
-0
igirl-web/app/front/vues/pages/declare/declare.html
+236
-0
igirl-web/app/front/vues/pages/declare/declare.js
+474
-0
igirl-web/app/front/vues/pages/policybigdata/policybigdata.css
+0
-0
igirl-web/app/front/vues/pages/policybigdata/policybigdata.html
+0
-0
igirl-web/app/front/vues/pages/policybigdata/policybigdata.js
+0
-0
igirl-web/app/front/vues/pages/policyquery/policyquery.css
+2
-1
igirl-web/app/front/vues/pages/policyquery/policyquery.html
+3
-2
No files found.
igirl-web/app/base/db/metadata/apps/platform.js
View file @
d7064cb0
...
...
@@ -771,11 +771,33 @@ module.exports = {
"bizCode"
:
"patentdetail"
,
"bizConfig"
:
null
,
"path"
:
""
,
},
},
{
"code"
:
"declare"
,
"icon"
:
"fa fa-home"
,
"isMenu"
:
false
,
"label"
:
"申报通知"
,
"bizCode"
:
"declare"
,
"bizConfig"
:
null
,
"path"
:
""
,
},
{
"code"
:
"policybigdata"
,
"icon"
:
"fa fa-home"
,
"isMenu"
:
false
,
"label"
:
"政策大数据"
,
"bizCode"
:
"policybigdata"
,
"bizConfig"
:
null
,
"path"
:
""
,
},
],
},
"bizs"
:
{
"patentanalysis"
:
{
"title"
:
"专利分析"
,
"config"
:
null
,
"path"
:
"/patentanalysis"
,
"comname"
:
"patentanalysis"
},
"declare"
:
{
"title"
:
"申报通知"
,
"config"
:
null
,
"path"
:
"/declare"
,
"comname"
:
"declare"
},
"policybigdata"
:
{
"title"
:
"政策大数据"
,
"config"
:
null
,
"path"
:
"/policybigdata"
,
"comname"
:
"policybigdata"
},
"patentdetail"
:
{
"title"
:
"专利详情"
,
"config"
:
null
,
"path"
:
"/patentdetail"
,
"comname"
:
"patentdetail"
},
"policyquery"
:
{
"title"
:
"政策列表"
,
"config"
:
null
,
"path"
:
"/policyquery"
,
"comname"
:
"policyquery"
},
"entdrawing"
:
{
"title"
:
"企业画像"
,
"config"
:
null
,
"path"
:
"/entdrawing"
,
"comname"
:
"entdrawing"
},
...
...
igirl-web/app/front/entry/main.ejs
View file @
d7064cb0
...
...
@@ -540,10 +540,10 @@
<div
style=
"float: left;margin-left: 135px;"
v-if=
"companyinfo.company.siteTheme == 'policy'"
>
<el-dropdown
style=
"float: left;"
@
command=
"handleCommand"
>
<div
class=
"header-main-tool"
><span>
政策大数据
</span></div>
<div
class=
"header-main-tool"
@
click=
"onselect('policybigdata')"
><span>
政策大数据
</span></div>
</el-dropdown>
<el-dropdown
style=
"float: left;"
@
command=
"handleCommand"
>
<div
class=
"header-main-tool"
><span>
政策资讯
</span><i
<div
class=
"header-main-tool"
@
click=
"onselect('declare')"
><span>
政策资讯
</span><i
class=
"el-icon-caret-bottom"
></i></div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"222222"
>
222222
</el-dropdown-item>
...
...
igirl-web/app/front/entry/public/css/pagecom.css
View file @
d7064cb0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
igirl-web/app/front/entry/public/js/index.js
View file @
d7064cb0
...
...
@@ -1354,7 +1354,19 @@ function addCSS(csspath) {
this
.
popupsType
=
false
;
var
self
=
this
;
if
(
k
==
"declare"
)
{
this
.
pushx
({
title
:
"政策资讯"
,
name
:
"/declare"
});
}
if
(
k
==
"policybigdata"
)
{
this
.
pushx
({
title
:
"政策大数据"
,
name
:
"/policybigdata"
});
}
if
(
k
==
"register"
)
{
this
.
pushx
({
title
:
"注册"
,
...
...
igirl-web/app/front/vues/pages/declare/declare.css
0 → 100644
View file @
d7064cb0
.policylist-title
{
width
:
100%
;
height
:
51px
;
line-height
:
35px
;
font-size
:
16px
;
font-family
:
MicrosoftYaHei-Bold
,
MicrosoftYaHei
;
font-weight
:
bold
;
color
:
rgba
(
72
,
72
,
72
,
1
);
}
.policyquery-items
{
border
:
1px
solid
#F0F3F0
;
/* height: 100px; */
width
:
100%
;
display:flex;
display
:
-webkit-flex
;
align-items
:
stretch
;
max-height
:
64px
}
.policyquery-items
>
.items_left
{
width
:
97px
;
height
:
inherit
;
float
:
left
;
padding
:
13px
20px
;
box-sizing
:
border-box
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
rgba
(
121
,
121
,
121
,
1
);
}
.policyquery-items
>
.items_item
{
width
:
calc
(
100%
-
167px
);
float
:
left
;
padding
:
5px
26px
;
box-sizing
:
border-box
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
rgba
(
72
,
72
,
72
,
1
);
overflow
:
hidden
;
}
.policyquery-items
>
.items_item
>
div
{
float
:
left
;
padding
:
8px
0px
;
padding-right
:
20px
;
box-sizing
:
border-box
;
cursor
:
pointer
;
}
.policyquery-items
>
.items_item
>
.pitch
{
color
:
#118EE9
;
}
.policyquery-items
>
.items_right
{
width
:
70px
;
float
:
right
;
padding-right
:
20px
;
padding-top
:
13px
;
box-sizing
:
border-box
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
rgba
(
72
,
72
,
72
,
1
);
cursor
:
pointer
;
}
.policyquery-items
>
.items_right
>
i
{
margin-left
:
2px
;
}
.policylist-headerbut
{
margin
:
0
auto
;
font-size
:
14px
;
text-align
:
center
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
rgba
(
72
,
72
,
72
,
1
);
line-height
:
14px
;
width
:
100%
;
height
:
42px
;
line-height
:
22px
;
border-top
:
0px
;
margin-bottom
:
10px
;
cursor
:
pointer
;
border
:
1px
solid
rgba
(
234
,
237
,
244
,
1
);
border-top
:
none
;
}
.policylist-selected
{
width
:
100%
;
min-height
:
40px
;
overflow
:
hidden
;
padding-left
:
20px
;
line-height
:
40px
;
}
.policylist-selected
>
.leftName
{
width
:
97px
;
float
:
left
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
rgba
(
47
,
47
,
47
,
1
);
}
.policylist-selected
>
.itemsName
{
width
:
calc
(
100%
-
97px
);
float
:
left
;
overflow
:
hidden
;
padding-top
:
10px
;
}
.policylist-selected
>
.itemsName
>
.itemName
{
float
:
left
;
margin-right
:
6px
;
margin-bottom
:
16px
;
padding
:
0px
6px
;
padding-right
:
20px
;
box-sizing
:
border-box
;
height
:
26px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
1px
;
border
:
1px
solid
rgba
(
17
,
142
,
233
,
1
);
text-align
:
center
;
line-height
:
26px
;
color
:
#118EE9
;
position
:
relative
;
font-size
:
12px
;
}
.policylist-selected
>
.itemsName
>
.itemName
>
i
{
position
:
absolute
;
right
:
1px
;
top
:
6px
;
cursor
:
pointer
;
border
:
1px
dotted
#333
;
}
.policylist-warpper
{
width
:
100%
;
height
:
100%
;
padding
:
20px
;
box-sizing
:
border-box
;
}
.el-input--mini
.el-input__inner
{
border
:
1px
solid
rgba
(
238
,
238
,
238
,
1
);
border-radius
:
0px
;
}
.policylist-headerbut
{
background
:
#fff
;
position
:
relative
;
top
:
-1px
;
color
:
rgba
(
121
,
121
,
121
,
1
)
!important
;
}
.policyquery-items
>
.items_item
>
div
{
padding-right
:
30px
!important
;
}
.policyquery-items
>
.items_item
>
div
:hover
{
color
:
#118EE9
;
}
.policyquery-items
>
.items_right
:hover
{
color
:
#118EE9
;
}
.policyquery-items
:nth-child
(
1
)
{
border-top
:
1px
solid
#F0F3F0
;
}
.policyquery-items
{
border
:
none
!important
;
box-sizing
:
border-box
;
}
.policyquery-items
:last-child
{
border
:
none
!important
;
}
.policylist-warpper
>
.policylist
{
width
:
1200px
;
margin
:
0
auto
;
height
:
100%
;
}
.policylist-header
{
width
:
100%
;
overflow
:
hidden
;
box-sizing
:
border-box
;
margin-top
:
20px
;
background
:
#fff
;
border
:
1px
solid
rgba
(
234
,
237
,
244
,
1
);
}
.policylist-header1
{
width
:
100%
;
overflow
:
hidden
;
box-sizing
:
border-box
;
margin-top
:
20px
;
border
:
1px
solid
rgba
(
234
,
237
,
244
,
1
);
}
.henxian
{
border-top
:
1px
solid
rgb
(
225
,
225
,
225
);
width
:
90%
;
margin
:
0
auto
;
background
:
#fff
;
}
.policylist-tile
{
width
:
100%
;
overflow
:
hidden
;
height
:
40px
;
background
:
rgba
(
15
,
142
,
233
,
0.1
);
border-radius
:
1px
;
box-sizing
:
border-box
;
}
.header-left
{
float
:
left
;
font-size
:
16px
;
font-family
:
MicrosoftYaHei
;
color
:
rgba
(
121
,
121
,
121
,
1
);
cursor
:
pointer
;
}
.header-right
{
float
:
right
;
width
:
110px
;
height
:
28px
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
121
,
121
,
121
,
1
);
}
.policylist-swiper
{
width
:
100%
;
margin-top
:
30px
;
height
:
150px
;
padding
:
20px
;
box-sizing
:
border-box
;
position
:
relative
;
background-color
:
#FAFAFA
;
/* background-color: #ccc; */
}
.swiper-main
{
width
:
96%
;
height
:
100%
;
margin
:
0
auto
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
.swiper-leftButton
{
position
:
absolute
;
top
:
33%
;
left
:
20px
;
width
:
16px
;
height
:
54px
;
line-height
:
54px
;
text-align
:
center
;
background
:
rgba
(
240
,
240
,
240
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
}
.swiper-rightButton
{
position
:
absolute
;
top
:
33%
;
right
:
20px
;
width
:
16px
;
height
:
54px
;
line-height
:
54px
;
text-align
:
center
;
background
:
rgba
(
240
,
240
,
240
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
}
.swiper-rightButton
:hover
{
background-color
:
rgba
(
235
,
242
,
255
,
1
);
color
:
#97A6AD
;
}
.swiper-leftButton
:hover
{
background-color
:
rgba
(
235
,
242
,
255
,
1
);
color
:
#97A6AD
;
}
.main-lists
{
height
:
100%
;
overflow
:
hidden
;
white-space
:
nowrap
;
display
:
inline-block
;
-webkit-transition
:
transform
0.3s
linear
;
}
.mian-list
{
display
:
inline-block
;
width
:
360px
;
height
:
100%
;
margin-right
:
10px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
box-shadow
:
2px
2px
5px
0px
rgba
(
226
,
226
,
226
,
0.5
);
border-radius
:
2px
;
border
:
1px
solid
rgba
(
230
,
232
,
233
,
1
);
padding
:
20px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
cursor
:
pointer
;
}
.mian-list
:hover
{
background
:
rgba
(
255
,
255
,
255
,
1
);
box-shadow
:
2px
2px
5px
0px
rgba
(
226
,
226
,
226
,
0.5
);
border-radius
:
2px
;
border
:
1px
solid
rgba
(
17
,
142
,
233
,
1
);
}
.list-img
{
float
:
left
;
width
:
70px
;
height
:
70px
;
margin-right
:
20px
;
font-size
:
20px
;
color
:
#5D9ADD
;
background
:
rgba
(
235
,
242
,
255
,
1
);
white-space
:
normal
!important
;
text-align
:
center
;
display
:
table
;
padding
:
0px
10px
;
box-sizing
:
border-box
;
}
.list-img
>
span
{
display
:
table-cell
;
vertical-align
:
middle
}
.list-text
{
float
:
left
;
line-height
:
24px
;
letter-spacing
:
2px
;
}
.list-text-title
{
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
72
,
72
,
72
,
1
);
}
.list-text-name
{
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
121
,
121
,
121
,
1
);
}
.policylist-portrayal
{
width
:
100%
;
height
:
118px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
1px
;
border
:
1px
solid
rgba
(
225
,
225
,
225
,
1
);
border-bottom
:
none
;
overflow
:
hidden
;
padding
:
20px
;
box-sizing
:
border-box
;
}
.portrayal-left
{
float
:
left
;
font-weight
:
600
;
color
:
#118EE9
;
font-size
:
1.6vw
;
margin-right
:
22px
;
}
.portrayal-right
{
float
:
left
;
width
:
85%
;
height
:
100%
;
overflow
:
hidden
;
padding
:
0.5%
0px
;
box-sizing
:
border-box
;
}
.portrayal-right-list
{
float
:
left
;
margin-right
:
16px
;
margin-bottom
:
10px
;
padding
:
5px
10px
;
font-size
:
12px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
cursor
:
default
;
}
.policylist-recommend
{
width
:
100%
;
height
:
60px
;
background
:
rgba
(
250
,
250
,
250
,
1
);
border-radius
:
1px
;
border
:
1px
solid
rgba
(
247
,
247
,
248
,
1
);
padding
:
0px
20px
;
line-height
:
60px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
}
.recommend-title
{
float
:
left
;
font-weight
:
600
;
font-size
:
1.6vw
;
color
:
#F2784B
;
margin-right
:
22px
;
}
.recommend-name
{
float
:
left
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
121
,
121
,
121
,
1
);
margin-right
:
30px
;
font-weight
:
600
;
}
.recommend-name
>
span
{
margin-left
:
10px
;
color
:
#118EE9
;
}
.el-input-group__append
button
.el-button
{
border
:
1px
solid
rgba
(
15
,
142
,
233
,
1
)
!important
;
color
:
#fff
!important
;
background
:
rgba
(
15
,
142
,
233
,
1
)
!important
;
}
.recommend-input
{
width
:
667px
;
height
:
36px
;
margin-left
:
30px
;
float
:
left
;
}
.policylist-content
{
width
:
100%
;
}
.policylist-content-list
{
width
:
100%
;
padding
:
20px
30px
;
box-sizing
:
border-box
;
border-bottom
:
1px
solid
rgba
(
225
,
225
,
225
,
1
);
}
.policylist-conten-title
{
font-size
:
18px
;
font-family
:
PingFangSC-Semibold
,
PingFangSC
;
font-weight
:
600
;
color
:
rgba
(
72
,
72
,
72
,
1
);
margin-bottom
:
15px
;
cursor
:
pointer
;
display
:
flex
;
}
.policylist-conten-title
a
{
text-decoration
:
none
!important
;
color
:
#333
!important
;
}
.policylist-conten-title
span
{
margin-left
:
10px
;
padding
:
5px
10px
;
font-size
:
12px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
255
,
255
,
255
,
1
);
}
.policylist-conten-text
{
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
121
,
121
,
121
,
1
);
margin-bottom
:
13px
;
}
.policylist-conten-items
{
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
.policylistsitems
{
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
.policylist-conten-items
img
{
border
:
1px
dotted
#999
;
vertical-align
:
middle
;
}
.policylistsitems
img
{
border
:
1px
dotted
#999
;
vertical-align
:
middle
;
}
.zuo
{
float
:
right
;
margin-top
:
-10px
;
}
.shuju
{
position
:
absolute
;
left
:
30%
;
top
:
60%
;
}
.policylist-pagination
{
text-align
:
center
;
margin-top
:
30px
;
}
.policylist-details
{
width
:
100%
;
height
:
130px
;
background
:
rgba
(
250
,
250
,
250
,
1
);
padding
:
30px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
}
.details-leftimg
{
float
:
left
;
width
:
70px
;
height
:
70px
;
background
:
rgba
(
234
,
244
,
255
,
1
);
margin-right
:
22px
;
}
.details-righttext
{
float
:
left
;
width
:
80%
;
}
.righttext-name
{
width
:
100%
;
line-height
:
24px
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
72
,
72
,
72
,
1
);
}
.righttext-span
{
line-height
:
24px
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
121
,
121
,
121
,
1
);
}
.righttext-span
>
span
{
display
:
inline-block
;
}
.policylist-essay
{
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
2px
;
border
:
1px
solid
rgba
(
225
,
225
,
225
,
1
);
border-top
:
none
;
}
.essay-title
{
width
:
100%
;
height
:
175px
;
padding-top
:
30px
;
box-sizing
:
border-box
;
}
.essay-title-name
{
width
:
100%
;
height
:
75px
;
font-size
:
24px
;
font-weight
:
600
;
font-family
:
MicrosoftYaHei
;
color
:
rgba
(
72
,
72
,
72
,
1
);
line-height
:
40px
;
text-align
:
center
;
}
.essay-title-list
{
width
:
100%
;
margin-top
:
20px
;
text-align
:
center
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
170
,
170
,
170
,
1
);
}
.essay-title-list
>
span
{
margin-right
:
38px
;
}
.essay-content
{
width
:
95%
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFangSC
;
font-weight
:
400
;
color
:
rgba
(
85
,
85
,
85
,
1
);
line-height
:
42px
;
margin
:
0
auto
;
}
.policylist-buttons
{
width
:
100%
;
padding-bottom
:
30px
;
border-bottom
:
1px
solid
rgba
(
239
,
239
,
239
,
1
);
overflow
:
hidden
;
}
.policylist-buttons
>
div
{
float
:
right
;
width
:
120px
;
height
:
32px
;
line-height
:
32px
;
margin-right
:
13px
;
border-radius
:
20px
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
text-align
:
center
;
cursor
:
pointer
;
}
.policylist-buttons
>
div
>
img
{
vertical-align
:
middle
;
}
.policylist-navigation
{
width
:
100%
;
height
:
107px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFangSC
;
font-weight
:
400
;
color
:
rgba
(
70
,
70
,
70
,
1
);
padding
:
30px
0px
;
box-sizing
:
border-box
;
}
.policylist-navigation
>
div
{
line-height
:
24px
;
cursor
:
pointer
;
}
.policylist-qr
{
width
:
100%
;
height
:
134px
;
line-height
:
134px
;
background
:
rgba
(
248
,
248
,
248
,
1
);
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFangSC
;
font-weight
:
500
;
color
:
rgba
(
72
,
72
,
72
,
1
);
text-align
:
center
;
}
.policylist-qr
>
img
{
vertical-align
:
middle
;
}
\ No newline at end of file
igirl-web/app/front/vues/pages/declare/declare.html
0 → 100644
View file @
d7064cb0
<div
class=
"policylist-warpper"
>
<div
class=
"policylist"
v-if=
"detailPageType"
>
<div
class=
"policylist-recommend"
>
<div
style=
"float: left;
font-size: 28px;
font-family: PingFangSC-Medium,PingFang SC;
font-weight: 500;
color: rgba(16,142,233,1);"
>
政策查询
</div>
<div
class=
"recommend-input"
>
<el-input
placeholder=
"请输入查询的标题/内容"
v-model=
"zctext"
change=
"()=>{console.log(123)}"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"zcPost()"
>
检索
</el-button>
</el-input>
</div>
</div>
<div
class=
"policylist-tile"
style=
"margin-top: 15px;"
>
<div
class=
"policyquery-items"
>
<div
class=
"items_item"
:style=
"headerHeight1 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"quanbu ? \'\':\'pitch\'"
@
click=
"quanClick1()"
>
全部({{total}})
</div>
<div
:class=
"quanbu == item ? \'pitch\' : \'\'"
v-for=
"item in quanData1"
@
click=
"quanClick1(item)"
>
{{item}}
</div>
</div>
</div>
</div>
<div
class=
"policylist-header"
:style=
"headerHeight ? \'height:235px\' : \'height:auto\'"
>
<div
class=
"policylist-selected"
v-if=
"input1 || input2 || input3 || input4 || input5 || input6 || input7 || input8 || input9"
>
<div
class=
"leftName"
>
已选条件:
</div>
<div
class=
"itemsName"
>
<div
class=
"itemName"
v-if=
"input1"
>
发布地区:{{input1}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input1\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input2"
>
政策级别:{{input2}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input2\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input3"
>
发布部门:{{input3}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input3\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input4"
>
扶持方式:{{input4}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input4\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input5"
>
企业性质:{{input5}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input5\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input6"
>
行业类别:{{input6}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input6\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input7"
>
政策类型:{{input7}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input7\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input8"
>
扶持领域:{{input8}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input8\')"
></i>
</div>
<div
class=
"itemName"
v-if=
"input9"
>
时间年限:{{input9}}
<i
class=
"el-icon-close"
@
click=
"inputDel(\'input9\')"
></i>
</div>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
发布地区
</div>
<div
class=
"items_item"
:style=
"headerHeight1 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input1 ? \'\':\'pitch\'"
@
click=
"tableDataClick1()"
>
不限
</div>
<div
:class=
"input1 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData1"
@
click=
"tableDataClick1(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight1 = !headerHeight1"
><span
v-if=
"headerHeight1"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span></div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
政策级别
</div>
<div
class=
"items_item"
:style=
"headerHeight2 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input2 ? \'\':\'pitch\'"
@
click=
"tableDataClick2()"
>
不限
</div>
<div
:class=
"input2 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData2"
@
click=
"tableDataClick2(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight2 = !headerHeight2"
><span
v-if=
"headerHeight2"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
发布部门
</div>
<div
class=
"items_item"
:style=
"headerHeight3 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input3 ? \'\':\'pitch\'"
@
click=
"tableDataClick3()"
>
不限
</div>
<div
:class=
"input3 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData3"
@
click=
"tableDataClick3(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight3 = !headerHeight3"
><span
v-if=
"headerHeight3"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
扶持方式
</div>
<div
class=
"items_item"
:style=
"headerHeight4 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input4 ? \'\':\'pitch\'"
@
click=
"tableDataClick4()"
>
不限
</div>
<div
:class=
"input4 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData4"
@
click=
"tableDataClick4(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight4 = !headerHeight4"
><span
v-if=
"headerHeight4"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
企业性质
</div>
<div
class=
"items_item"
:style=
"headerHeight5 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input5 ? \'\':\'pitch\'"
@
click=
"tableDataClick5()"
>
不限
</div>
<div
:class=
"input5 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData5"
@
click=
"tableDataClick5(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight5 = !headerHeight5"
><span
v-if=
"headerHeight5"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
行业类别
</div>
<div
class=
"items_item"
:style=
"headerHeight6 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input6 ? \'\':\'pitch\'"
@
click=
"tableDataClick6()"
>
不限
</div>
<div
:class=
"input6 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData6"
@
click=
"tableDataClick6(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight6 = !headerHeight6"
><span
v-if=
"headerHeight6"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
政策类型
</div>
<div
class=
"items_item"
:style=
"headerHeight7 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input7 ? \'\':\'pitch\'"
@
click=
"tableDataClick7()"
>
不限
</div>
<div
:class=
"input7 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData7"
@
click=
"tableDataClick7(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight7 = !headerHeight7"
><span
v-if=
"headerHeight7"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
扶持领域
</div>
<div
class=
"items_item"
:style=
"headerHeight8 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input8 ? \'\':\'pitch\'"
@
click=
"tableDataClick8()"
>
不限
</div>
<div
:class=
"input8 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData8"
@
click=
"tableDataClick8(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight8 = !headerHeight8"
><span
v-if=
"headerHeight8"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
<div
class=
"policyquery-items"
>
<div
class=
"items_left"
>
时间年限
</div>
<div
class=
"items_item"
:style=
"headerHeight9 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"input9 ? \'\':\'pitch\'"
@
click=
"tableDataClick9()"
>
不限
</div>
<div
:class=
"input9 == item ? \'pitch\' : \'\'"
v-for=
"item in tableData9"
@
click=
"tableDataClick9(item)"
>
{{item}}
</div>
</div>
<div
class=
"items_right"
@
click=
"headerHeight9 = !headerHeight9"
><span
v-if=
"headerHeight9"
>
更多
<i
class=
"el-icon-arrow-down"
></i></span><span
v-else
>
收起
<i
class=
"el-icon-arrow-up"
></i></span>
</div>
</div>
</div>
<div
class=
"policylist-headerbut"
@
click=
"headerHeight = !headerHeight"
><span
v-if=
"headerHeight"
>
更多
</span><span
v-else
>
收起
</span></div>
<div
class=
"policylist-content"
style=
"background: rgba(255,255,255,1);
border-radius: 2px;
border: 1px solid rgba(225,225,225,1);"
>
<div
class=
"brandfind-main-equal-form-box-null"
v-if=
"recommendationsArr.length==0"
style=
"height:500px;"
>
<!-- 没数据 -->
<div
class=
"shuju"
>
<img
src=
"/imgs/toubu.png"
alt=
""
>
<!-- <div class="shuju">暂无数据</div> -->
</div>
</div>
<div
v-else
class=
"policylist-content-list"
v-for=
"(i,k) in recommendationsArr"
>
<div
class=
"policylist-conten-title"
@
click=
"articleDetails(i)"
>
<div
style=
"margin-left: -10px;"
v-if=
"i.app_status==0"
>
<span
style=
"dispaly:line-block;color:#fff;background-color: #B2B2B2;"
>
申报已结束
</span></div>
<div
style=
"margin-left: -10px;"
v-if=
"i.app_status==1"
>
<span
style=
"dispaly:line-block;color:#fff;background-color: #FFA940"
>
开放申报中
</span></div>
<div
style=
"margin-left: -10px;"
v-if=
"i.app_status==2"
>
<span
style=
"dispaly:line-block;color:#fff;background-color: #597EF7"
>
即将申报
</span></div>
<div
style=
"margin-left: 15px;"
>
{{i.name}}
</div>
</div>
<div>
<div
class=
"policylist-conten-items"
><span><img
src=
"/imgs/tuandui.png"
alt=
""
>
{{i.source}}
</span><span>
<p
style=
"float:right"
><img
src=
"/imgs/riqi.png"
alt=
""
>
申报日期:{{i.begindate}}/{{i.enddate}}
</span></p>
</div>
<div
class=
"policylistsitems"
><span><img
src=
"/imgs/zehngfu.png"
alt=
""
>
{{i.policygrade}}|{{i.label}}
</span><span
style=
"display: block;"
>
<p
class=
"zuo"
><img
src=
"/imgs/yan.png"
alt=
""
>
浏览量:{{i.count}}
</span></p>
</div>
</div>
</div>
</div>
<div
class=
"policylist-pagination"
v-show=
"recommendationsArr.length"
>
<el-pagination
background
layout=
"prev, pager, next"
@
current-change=
"handleCurrentChange"
:total=
"total"
>
</el-pagination>
</div>
<div
v-else
></div>
</div>
<div
class=
"policylist"
v-if=
"!detailPageType"
>
<div
class=
"policylist-header1"
style=
"border:none;"
>
<div
class=
"header-left"
>
当前位置:
<span
@
click=
"next"
>
区域政策 >
</span><span
style=
"color: #108EE9;"
>
政策详情
</span>
</div>
</div>
<div
style=
"width: 100%;height: 25px;"
></div>
<div
class=
"policylist-portrayal"
>
<div
class=
"portrayal-left"
>
政策画像
</div>
<div
class=
"portrayal-right"
>
<div
class=
"portrayal-right-list"
v-for=
"(item,key) in portrayalArr"
:key=
"key"
:style=
"rgba()"
>
{{item}}
</div>
</div>
</div>
<div
class=
"henxian"
></div>
<div
class=
"policylist-essay"
>
<div
class=
"essay-title"
>
<div
class=
"essay-title-name"
>
{{recommendationsObj.name}}
</div>
<div
class=
"essay-title-list"
>
<span>
发布部门:{{recommendationsObj.source}}
</span><span>
阅读量:{{recommendationsObj.count}}
</span><span>
申报日期:{{recommendationsObj.begindate}}
</span>
</div>
</div>
<div
class=
"essay-content"
v-html=
"recommendationsObj.policytext"
></div>
</div>
<!-- <div class="policylist-buttons"> -->
<!-- <div style="border:1px solid rgba(88,184,72,1);color: #2AA515"><img src="/imgs/wx.png" alt="">分享到微信</div>
<div style="border:1px solid rgba(228,109,108,1);color: #E46D6C"><img src="/imgs/wb.png" alt="">分享到微博</div>
<div style="border:1px solid rgba(255,189,29,1);color: #FFBD1D"><img src="/imgs/sc.png" alt="">收藏</div> -->
<!-- <div style="border:1px solid rgba(78,140,238,1);color:#4E8CEE" @click="consulting"><img src="/imgs/zx.png" alt="">政策咨询</div> -->
<!-- </div> -->
<!-- <div class="policylist-navigation">
<div @click="before(rKey)" v-if="recommendationsObjBefore">上一篇:{{recommendationsObjBefore.name}}</div>
<div @click="after(rKey)" v-if="recommendationsObjAfter">下一篇:{{recommendationsObjAfter.name}}</div>
</div> -->
<!-- <div class="policylist-qr">
<img src="/imgs/gsb.png" alt=""> 扫一扫,关注iBOSS微信服务号,随时随地了解行业政策最新资讯
</div> -->
</div>
</div>
\ No newline at end of file
igirl-web/app/front/vues/pages/declare/declare.js
0 → 100644
View file @
d7064cb0
{
template
:
'${tmpl}'
,
data
:
function
()
{
return
{
total
:
0
,
state2
:
''
,
show2
:
false
,
policyArr
:
[],
recommendationsArr
:
[],
policyOptions
:
[{
value
:
'北京东方飞扬软件股份有限公司'
,
label
:
'北京东方飞扬软件股份有限公司'
}],
policyValue
:
''
,
transformNumber
:
0
,
portrayalArr
:
[],
zctext
:
''
,
detailPageType
:
true
,
recommendationsObj
:
{},
recommendationsObjBefore
:
{},
recommendationsObjAfter
:
{},
companyObj
:
{},
rKey
:
null
,
zcoName
:
''
,
activeNames
:
[
'1'
],
headerHeight
:
true
,
headerHeight1
:
true
,
headerHeight2
:
true
,
headerHeight3
:
true
,
headerHeight4
:
true
,
headerHeight5
:
true
,
headerHeight6
:
true
,
headerHeight7
:
true
,
headerHeight8
:
true
,
headerHeight9
:
true
,
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
quanData1
:[
'申报通知(386)'
,
'立项公示(134)'
,
'管理办法(103)'
,
'政策图解(1)'
,
'政务信息(13)'
,
'新闻资讯(69)'
,
],
tableData1
:
[
'北京'
,
'天津'
,
'上海'
,
'重庆'
,
'河北'
,
'河南'
,
'云南'
,
'辽宁'
,
'黑龙江'
,
'湖南'
,
'安徽'
,
'山东'
,
'江苏'
,
'浙江'
,
'江西'
,
'湖北'
,
'新疆维吾尔族自治区'
,
'广西壮族自治区'
,
'甘肃'
,
'山西'
,
'陕西'
,
'内蒙古自治区'
,
'吉林'
,
'福建'
,
'贵州'
,
'广东'
,
'青海'
,
'西藏自治区'
,
'夏回族自治区'
,
'四川'
],
tableData2
:[
'部委'
,
'省级'
,
'市级'
,
'区级'
],
tableData3
:[
'发改部门'
,
'教育部门'
,
'科学技术部门'
,
'工业和信息化部门'
,
'人社部门'
,
'生态环境部门'
,
'交通运输部门'
,
'农业农村部门'
,
'商务部门'
,
'文化和旅游部门'
,
'知识产权部门'
,
'财政部门'
,
'税务部门'
,
'国防科技部门'
,
'开发区/高新区/自贸区'
,
'市场监督部门'
,
'其他部门'
],
tableData4
:[
'资质荣誉'
,
'事前补助'
,
'研发费补助'
,
'奖励'
,
'贷款信息'
,
'担保补助'
,
'投资补贴'
,
'税收优惠'
,
'创业补贴'
,
'人才补贴'
],
tableData5
:[
'事业单位'
,
'企业单位'
,
'社会组织'
],
tableData6
:[
'工业'
,
'建筑业'
,
'金融业'
,
'农、林、牧、渔业'
,
'软件、信息传输和信息技术服务业'
,
'住宿和餐饮业'
,
'批发和零售业'
,
'现代服务业'
,
'租赁和商业服务业'
,
'交通运输、仓储和邮政业'
,
'教育和卫生业'
,
'文化、体育和娱乐业'
,
'房地产和物业管理业'
,
'水利、环境和公共设施管理业'
,
'公共管理、社会保障、社会和国际组织'
,
'电力、热力、燃气及水生产和供应业'
,
'其他'
],
tableData7
:[
'普惠(创新券/社保补贴/创业补贴等)'
,
'科技创新'
,
'人才类'
,
'资质认定'
,
'商贸业/电子商务/交通/现代物流'
,
'税收优惠'
,
'技术改造'
,
'智能制造'
,
'现代服务业'
,
'工程中心/技术中心/实验室/研发机构'
,
'金融补贴'
,
'首台/首套'
,
'绿色建筑'
,
'创客空间/孵化器/产业园/科技园'
,
'生物医药'
,
'航空航天'
,
'奖项评选'
,
'知识产权/知识产权金融'
,
'专精特新/瞪羚/小巨人/独角兽'
,
'公共/示范平台'
,
'龙头/标杆/骨干/示范企业'
,
'租金/展会/制定标准补贴'
,
'产品认定'
,
'其他'
],
tableData8
:[
'基础与应用基础研究'
,
'社会民生'
,
'现代服务业'
,
'高新技术领域'
,
'新一代信息技术产业'
,
'战略性新兴产业'
,
'未来产业'
,
'创业补贴'
,
'人才补贴'
],
tableData9
:[
'2019'
,
'2018'
,
'2017'
,
'2016'
,
'2015'
,
'2014'
,
'2013'
],
colorList
:[{
bgColor
:
"#EDEEFA"
,
fontColor
:
"#5B65D3"
},{
bgColor
:
"#FDF2EC"
,
fontColor
:
"#FC835A"
},{
bgColor
:
"#FFEBF5"
,
fontColor
:
"#FF75B3"
},{
bgColor
:
"#E1EDFB"
,
fontColor
:
"#3CACFF"
},{
bgColor
:
"#E0F4E8"
,
fontColor
:
"#54D02F"
},{
bgColor
:
"#E8F7F9"
,
fontColor
:
"#30BBCE"
}]
}
},
methods
:
{
rgba
()
{
var
color
=
this
.
colorList
[
Math
.
floor
(
Math
.
random
()
*
this
.
colorList
.
length
)];
return
`color:
${
color
.
fontColor
}
;background-color:
${
color
.
bgColor
}
`
;
},
inputDel
(
input
)
{
console
.
log
(
input
);
this
[
input
]
=
''
;
this
.
zcPost
()
},
tableDataClick1
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
console
.
log
(
123123123123
);
val
=
''
};
this
.
input1
=
val
;
this
.
zcPost
()
},
quanClick1
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
console
.
log
(
123123123123
);
val
=
''
};
this
.
quanbu
=
val
;
},
tableDataClick2
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input2
=
val
;
this
.
zcPost
()
},
tableDataClick3
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input3
=
val
;
this
.
zcPost
()
},
tableDataClick4
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input4
=
val
;
this
.
zcPost
()
},
tableDataClick5
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input5
=
val
;
this
.
zcPost
()
},
tableDataClick6
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input6
=
val
;
this
.
zcPost
()
},
tableDataClick7
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input7
=
val
;
this
.
zcPost
()
},
tableDataClick8
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input8
=
val
;
this
.
zcPost
()
},
tableDataClick9
(
val
)
{
console
.
log
(
val
);
if
(
val
==
undefined
)
{
val
=
''
};
this
.
input9
=
val
;
this
.
zcPost
()
},
search
()
{
this
.
zcPost
()
},
handleCurrentChange
(
val
)
{
this
.
zcPost
(
val
)
},
consulting
()
{
this
.
$confirm
(
'提交后会有政策解读专家与您联系,为您进行一对一免费解答,请 确认是否提交?'
,
'政策咨询'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
''
}).
then
(()
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'提交成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消提交'
});
});
},
articleDetails
(
obj
)
{
this
.
detailPageType
=
false
;
scrollTo
(
0
,
0
);
this
.
recommendationsObj
=
obj
;
this
.
portrayalArr
=
obj
.
hx_list
;
console
.
log
(
this
.
portrayalArr
,
'11111111111111'
);
axios
.
post
(
'http://43.247.184.92:8018/gsb/api/zcdetailcount'
,{
"ID"
:
obj
.
ID
,
"count"
:
0
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
})
},
/*before(i) {
this.rKey = i-1;
},
after(i) {
this.rKey = i+1;
},*/
next
()
{
this
.
detailPageType
=
true
;
this
.
zccompanyPost
();
this
.
zcPost
()
},
LookHome
()
{
this
.
zccompanyPost
();
this
.
zcPost
()
/* this.recommendationsArr = this.recommendationsArr1*/
},
LookCompany
(
i
)
{
this
.
companyObj
=
i
;
/*this.recommendationsArr = this.recommendationsArr2*/
this
.
zcoName
=
i
.
name
;
this
.
zccompanyNamePost
()
},
color16
(){
var
r
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
g
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
b
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
color
=
'background-color:'
+
'#'
+
r
.
toString
(
16
)
+
g
.
toString
(
16
)
+
b
.
toString
(
16
);
return
color
;
},
rgb
(){
var
r
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
g
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
b
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
rgb
=
'color:'
+
'rgba('
+
r
+
','
+
g
+
','
+
b
+
', 1)'
+
';'
+
'background-color:'
+
'rgba('
+
r
+
','
+
g
+
','
+
b
+
', 0.3)'
;
return
rgb
;
},
leftswiperList
()
{
console
.
log
(
this
.
$refs
.
swiperList
.
offsetWidth
);
if
(
this
.
transformNumber
<
0
)
{
this
.
transformNumber
=
this
.
transformNumber
+
360
;
this
.
$refs
.
swiperList
.
style
.
transform
=
'translateX('
+
this
.
transformNumber
+
'px) scale(1)'
;
}
},
rightswiperList
()
{
if
((
this
.
$refs
.
swiperList
.
offsetWidth
-
Math
.
abs
(
this
.
transformNumber
))
>
this
.
$refs
.
swiperMain
.
offsetWidth
)
{
this
.
transformNumber
=
this
.
transformNumber
-
360
;
this
.
$refs
.
swiperList
.
style
.
transform
=
'translateX('
+
this
.
transformNumber
+
'px) scale(1)'
;
}
},
zccompanyNamePost
()
{
axios
.
post
(
'http://43.247.184.92:8018/gsb/api/zccompany_name'
,{
"company_name"
:
this
.
zcoName
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
data
;
this
.
portrayalArr
=
d
.
data
.
company_keys
;
this
.
recommendationsArr
=
data
})
},
zcPost
(
size
)
{
/*http://43.247.184.92:8018/gsb/api/zc*/
axios
.
post
(
'http://43.247.184.92:8019/gsb/api/zc'
,{
"zctext"
:
this
.
zctext
,
"currentpage"
:
size
||
1
,
"pagesize"
:
15
,
"cityname"
:
this
.
input1
,
"policygrade"
:
this
.
input2
,
"policydepartment"
:
this
.
input3
,
"policytype"
:
this
.
input4
,
"qiye"
:
this
.
input5
,
"classification"
:
this
.
input6
,
"policydomain"
:
this
.
input7
,
"fieldtext"
:
this
.
input8
,
"year"
:
this
.
input9
,
"address"
:
this
.
areaName
}).
then
(
d
=>
{
console
.
log
(
d
,
'---------------------------------'
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
;
this
.
total
=
d
.
data
.
total
;
this
.
tableData1
=
d
.
data
.
cityname_list
;
console
.
log
(
this
.
recommendationsArr
,
12312312321
);
})
},
zccompanyPost
()
{
axios
.
post
(
'http://43.247.184.92:8018/gsb/api/zccompany'
,{}).
then
(
d
=>
{
console
.
log
(
d
);
var
data
=
d
.
data
.
data
;
this
.
portrayalArr
=
data
})
},
getCompanyListPost
()
{
/*function getLocalTime(nS) {
let date = new Date(nS);
let year = date.getFullYear();
let month = date.getMonth()+1;
let day = date.getDate();
month = month < 10 ? "0"+month:month;
day = day < 10 ? "0"+day:day;
date = year+'-'+month+'-'+day;
return date;
};*/
var
that
=
this
;
this
.
$root
.
postReq
(
"/web/tmquery/toolCtl/getCompanyList"
,
{}).
then
(
function
(
d
)
{
console
.
log
(
d
,
"//////////////////////////"
);
var
data
=
d
.
data
;
that
.
policyArr
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
data
[
i
][
'logo'
]
=
data
[
i
].
name
.
substr
(
0
,
4
);
that
.
policyArr
.
push
(
data
[
i
]);
};
console
.
log
(
that
.
policyArr
)
}).
catch
(
function
(
e
)
{
console
.
log
(
`操作失败,请刷新页面后重新操作`
);
});
}
},
mounted
:
function
()
{
$
(
"#footer"
).
show
();
/*for (let i = 0; i < this.portrayalArr.length; i++) {
this.portrayalArr[i].col = this.rgb();
};*/
this
.
areaName
=
localStorage
.
getItem
(
"areaName"
);
this
.
zcPost
();
this
.
zccompanyPost
();
},
vname
:
"gsb-policyquery"
}
\ No newline at end of file
igirl-web/app/front/vues/pages/policybigdata/policybigdata.css
0 → 100644
View file @
d7064cb0
igirl-web/app/front/vues/pages/policybigdata/policybigdata.html
0 → 100644
View file @
d7064cb0
igirl-web/app/front/vues/pages/policybigdata/policybigdata.js
0 → 100644
View file @
d7064cb0
igirl-web/app/front/vues/pages/policyquery/policyquery.css
View file @
d7064cb0
...
...
@@ -464,7 +464,8 @@
}
.policylist-pagination
{
text-align
:
right
;
text-align
:
center
;
margin-top
:
30px
;
}
.policylist-details
{
width
:
100%
;
...
...
igirl-web/app/front/vues/pages/policyquery/policyquery.html
View file @
d7064cb0
...
...
@@ -228,8 +228,8 @@
<div @click="before(rKey)" v-if="recommendationsObjBefore">上一篇:{{recommendationsObjBefore.name}}</div>
<div @click="after(rKey)" v-if="recommendationsObjAfter">下一篇:{{recommendationsObjAfter.name}}</div>
</div> -->
<div
class=
"policylist-qr"
>
<
!-- <
div class="policylist-qr">
<img src="/imgs/gsb.png" alt=""> 扫一扫,关注iBOSS微信服务号,随时随地了解行业政策最新资讯
</div>
</div>
-->
</div>
</div>
\ No newline at end of file
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