Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
5700d8b8
Commit
5700d8b8
authored
Apr 24, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面和交互
parent
73058211
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
7 deletions
+41
-7
src/App.vue
src/App.vue
+1
-0
src/pages/workPlace.vue
src/pages/workPlace.vue
+40
-7
No files found.
src/App.vue
View file @
5700d8b8
...
@@ -26,6 +26,7 @@ export default {
...
@@ -26,6 +26,7 @@ export default {
position
:
fixed
;
position
:
fixed
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
z-index
:
99
;
}
}
#app
{
#app
{
background-color
:
#f6f7fb
;
background-color
:
#f6f7fb
;
...
...
src/pages/workPlace.vue
View file @
5700d8b8
...
@@ -6,12 +6,13 @@
...
@@ -6,12 +6,13 @@
<img
src=
"../assets/imgs/img_head.png"
alt
/>
<img
src=
"../assets/imgs/img_head.png"
alt
/>
<span>
你好,
{{
person
}}
!最近登录
{{
login_time
}}
</span>
<span>
你好,
{{
person
}}
!最近登录
{{
login_time
}}
</span>
</div>
</div>
<div
class=
"person_menu"
>
<div
class=
"person_menu"
@
click=
"manage_flag = !manage_flag"
:style=
"manage_flag?
{color:'#0d1847',backgroundColor:'#fff',border: 'solid 2px #eef0f7',lineHeight:'28px',}:{}"
>
管理功能
管理功能
<img
src=
"../assets/imgs/home_ic_more_w.png"
alt
/>
<img
src=
"../assets/imgs/home_ic_more_w.png"
alt
v-if=
"!manage_flag"
/>
<img
src=
"../assets/imgs/home_ic_more_b.png"
alt
v-if=
"manage_flag"
/>
<div
class=
"manage_menu"
>
<div
class=
"manage_menu"
v-if=
"manage_flag"
>
<div
>
</div>
<div
v-for=
"(item,index) in manage_arr"
:key=
"index+800"
class=
"manage_box"
@
click=
"manage_func(index)"
><img
:src=
"item.pic"
alt=
""
>
{{
item
.
text
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -114,6 +115,7 @@ export default {
...
@@ -114,6 +115,7 @@ export default {
now_user
:
0
,
now_user
:
0
,
now_type
:
0
,
now_type
:
0
,
now_app
:
0
,
now_app
:
0
,
manage_flag
:
false
,
health
:
uuidv1
(),
health
:
uuidv1
(),
yy_asy
:
uuidv1
(),
yy_asy
:
uuidv1
(),
menu_arr
:
[
menu_arr
:
[
...
@@ -268,15 +270,15 @@ export default {
...
@@ -268,15 +270,15 @@ export default {
text
:
'
权限管理
'
,
text
:
'
权限管理
'
,
},
},
{
{
pic
:
require
(),
pic
:
require
(
'
../assets/imgs/home_tool_ic_quanxian.png
'
),
text
:
'
容器管理
'
,
text
:
'
容器管理
'
,
},
},
{
{
pic
:
require
(),
pic
:
require
(
'
../assets/imgs/home_tool_ic_quanxian.png
'
),
text
:
'
数据管控
'
,
text
:
'
数据管控
'
,
},
},
{
{
pic
:
require
(),
pic
:
require
(
'
../assets/imgs/home_tool_ic_quanxian.png
'
),
text
:
'
消息新闻管理
'
,
text
:
'
消息新闻管理
'
,
},
},
]
]
...
@@ -287,6 +289,9 @@ export default {
...
@@ -287,6 +289,9 @@ export default {
this
.
init_yy
()
this
.
init_yy
()
},
},
methods
:
{
methods
:
{
manage_func
(
n
){
console
.
log
(
n
);
},
init_health
(
num
)
{
init_health
(
num
)
{
var
options
=
{
var
options
=
{
title
:
{
title
:
{
...
@@ -554,6 +559,7 @@ export default {
...
@@ -554,6 +559,7 @@ export default {
color
:
#fff
;
color
:
#fff
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-top
:
10px
;
margin-top
:
10px
;
position
:
relative
;
}
}
.menu
{
.menu
{
width
:
100%
;
width
:
100%
;
...
@@ -733,4 +739,31 @@ export default {
...
@@ -733,4 +739,31 @@ export default {
font-size
:
12px
;
font-size
:
12px
;
color
:
#8890a7
;
color
:
#8890a7
;
}
}
.manage_menu
{
position
:
absolute
;
top
:
0
;
left
:
140px
;
width
:
145px
;
}
.manage_box
{
width
:
145px
;
height
:
50px
;
line-height
:
50px
;
background-color
:
#0d1847
;
box-shadow
:
0px
2px
4px
0px
#001155
;
border-radius
:
12px
;
margin-bottom
:
10px
;
text-align
:
left
;
padding-left
:
10px
;
color
:
#c3caf8
;
}
.manage_box
:hover
{
border
:
solid
2px
#515fe7
;
}
.manage_box
img
{
vertical-align
:
-5px
;
margin-right
:
10px
;
}
</
style
>
</
style
>
\ 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