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
7e31a85e
Commit
7e31a85e
authored
Nov 27, 2019
by
李宏达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lhd
parent
fce6c2b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
11 deletions
+46
-11
igirl-web/app/front/entry/main.ejs
+41
-11
igirl-web/app/front/entry/public/js/index.js
+5
-0
No files found.
igirl-web/app/front/entry/main.ejs
View file @
7e31a85e
...
@@ -362,6 +362,13 @@
...
@@ -362,6 +362,13 @@
float
:
left
;
float
:
left
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.header-main-title1
{
float
:
left
;
width
:
68px
;
cursor
:
pointer
;
background
:
rgba
(
26
,
45
,
78
,
1
);
text-align
:
center
;
}
.header-main-right
{
.header-main-right
{
float
:
right
;
float
:
right
;
position
:
relative
;
position
:
relative
;
...
@@ -400,13 +407,16 @@
...
@@ -400,13 +407,16 @@
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.el-popover
{
.el-popover
{
left
:
396px
!important
;
background
:
rgba
(
26
,
45
,
78
,
1
)
!important
;
background
:
rgba
(
26
,
45
,
78
,
1
)
!important
;
border
:
1px
solid
#1A2D4E
!important
;
border
:
1px
solid
#1A2D4E
!important
;
}
}
.el-popper
[
x-placement
^=
bottom
]
.popper__arrow
::after
{
.el-popper
[
x-placement
^=
bottom
]
.popper__arrow
::after
{
border
:
none
!important
;
border-bottom-color
:
rgba
(
26
,
45
,
78
,
1
)
!important
;
border-bottom-color
:
rgba
(
26
,
45
,
78
,
1
)
!important
;
}
}
.el-popper
[
x-placement
^=
bottom
]
.popper__arrow
{
.el-popper
[
x-placement
^=
bottom
]
.popper__arrow
{
border
:
none
!important
;
border-bottom-color
:
rgba
(
26
,
45
,
78
,
1
)
!important
;
border-bottom-color
:
rgba
(
26
,
45
,
78
,
1
)
!important
;
}
}
.popover-title
{
.popover-title
{
...
@@ -416,7 +426,7 @@
...
@@ -416,7 +426,7 @@
color
:
rgba
(
255
,
255
,
255
,
1
);
color
:
rgba
(
255
,
255
,
255
,
1
);
}
}
.popover-list
{
.popover-list
{
margin-top
:
11
px
;
margin-top
:
20
px
;
font-size
:
12px
;
font-size
:
12px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
...
@@ -444,16 +454,19 @@
...
@@ -444,16 +454,19 @@
<div
id=
"app-header"
>
<div
id=
"app-header"
>
<div
:class=
"isfront ? 'header-main' : 'header-main-houtai'"
>
<div
:class=
"isfront ? 'header-main' : 'header-main-houtai'"
>
<div
class=
"header-main-title"
@
click=
"backhome"
>
智能化知识产权服务平台
</div>
<div
class=
"header-main-title"
@
click=
"backhome"
>
智能化知识产权服务平台
</div>
<div
class=
"header-main-title"
style=
"margin-left:11px;"
v-if=
"companyinfo.company.siteTheme == 'policy'"
>
<div
class=
"header-main-title
1
"
style=
"margin-left:11px;"
v-if=
"companyinfo.company.siteTheme == 'policy'"
>
<el-popover
<el-popover
placement=
"bottom-start"
placement=
"bottom-start"
width=
"511"
width=
"511"
trigger=
"
hover
"
>
trigger=
"
click
"
>
<div>
<div>
<div
class=
"popover-title"
>
全部省份
</div>
<div
class=
"popover-title"
>
全部省份
</div>
<div
class=
"popover-list"
v-for=
"(item,key) in areaArr"
:key=
"key"
><div>
{{item.name}}
</div><span
v-for=
"(list,index) in item.lists"
>
{{list}}
</span></div>
<div
class=
"popover-list"
v-for=
"(item,key) in areaArr"
:key=
"key"
>
<div>
{{item.name}}
</div>
<span
v-for=
"(list,index) in item.lists"
@
click=
"areachoice(list)"
>
{{list}}
</span>
</div>
</div>
</div>
<span
slot=
"reference"
>
地区
</span>
<span
slot=
"reference"
>
<i
class=
"el-icon-location-outline"
style=
"margin-right:8px;"
></i>
{{areaName}}
</span>
</el-popover>
</el-popover>
</div>
</div>
<div
v-if=
"!currentUser"
class=
"header-main-login header-main-right"
>
<div
v-if=
"!currentUser"
class=
"header-main-login header-main-right"
>
...
@@ -475,12 +488,29 @@
...
@@ -475,12 +488,29 @@
</div>
</div>
<div
class=
"header-main-right"
><img
src=
"/imgs/normal/icon-public.png"
alt=
""
>
<span>
公众号
</span></div>
<div
class=
"header-main-right"
><img
src=
"/imgs/normal/icon-public.png"
alt=
""
>
<span>
公众号
</span></div>
<div
class=
"header-main-right"
><img
src=
"/imgs/normal/icon-phone.png"
alt=
""
>
<span>
APP
</span></div>
<div
class=
"header-main-right"
><img
src=
"/imgs/normal/icon-phone.png"
alt=
""
>
<span>
APP
</span></div>
<el-dropdown
style=
"float: right;"
@
command=
"handleCommand"
>
<div
style=
"float: left;margin-left: 135px;"
v-if=
"companyinfo.company.siteTheme == 'policy'"
>
<div
class=
"header-main-tool"
><span>
智能工具
</span><i
class=
"el-icon-caret-bottom"
></i></div>
<el-dropdown
style=
"float: left;"
@
command=
"handleCommand"
>
<el-dropdown-menu
slot=
"dropdown"
>
<div
class=
"header-main-tool"
><span>
政策图谱
</span><i
class=
"el-icon-caret-bottom"
></i></div>
<el-dropdown-item
v-for=
"item in rsData"
:command=
"item"
v-if=
"mnufunc(item.codePath)"
>
{{item.label}}
</el-dropdown-item>
<el-dropdown-menu
slot=
"dropdown"
>
</el-dropdown-menu>
<el-dropdown-item
command=
"111111"
>
111111
</el-dropdown-item>
</el-dropdown>
</el-dropdown-menu>
</el-dropdown>
<el-dropdown
style=
"float: left;"
@
command=
"handleCommand"
>
<div
class=
"header-main-tool"
><span>
政策资讯
</span><i
class=
"el-icon-caret-bottom"
></i></div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"222222"
>
222222
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<div
style=
"float: right;"
v-else
>
<el-dropdown
style=
"float: right;"
@
command=
"handleCommand"
>
<div
class=
"header-main-tool"
><span>
智能工具
</span><i
class=
"el-icon-caret-bottom"
></i></div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-for=
"item in rsData"
:command=
"item"
v-if=
"mnufunc(item.codePath)"
>
{{item.label}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
</div>
</div>
</div>
<!-- 第一版 -->
<!-- 第一版 -->
...
...
igirl-web/app/front/entry/public/js/index.js
View file @
7e31a85e
...
@@ -250,6 +250,7 @@ function addCSS(csspath) {
...
@@ -250,6 +250,7 @@ function addCSS(csspath) {
store
:
store
,
store
:
store
,
data
:
function
()
{
data
:
function
()
{
return
{
return
{
areaName
:
'地区'
,
areaArr
:[
areaArr
:[
{
{
name
:
'A-G'
,
name
:
'A-G'
,
...
@@ -482,6 +483,10 @@ function addCSS(csspath) {
...
@@ -482,6 +483,10 @@ function addCSS(csspath) {
},
3000
);
},
3000
);
},
},
methods
:
{
methods
:
{
areachoice
(
name
)
{
this
.
areaName
=
name
.
slice
(
0
,
name
.
indexOf
(
'>'
));
console
.
log
(
name
.
slice
(
0
,
name
.
indexOf
(
'>'
)))
},
fetchMetaData
(
cbk
){
fetchMetaData
(
cbk
){
if
(
global_rsconfig
){
if
(
global_rsconfig
){
cfg
=
global_rsconfig
;
cfg
=
global_rsconfig
;
...
...
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