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
73058211
Commit
73058211
authored
Apr 24, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
静态页面无交互完成
parent
9588b78d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
462 additions
and
33 deletions
+462
-33
src/App.vue
src/App.vue
+1
-0
src/components/menu.vue
src/components/menu.vue
+54
-2
src/pages/workPlace.vue
src/pages/workPlace.vue
+407
-31
No files found.
src/App.vue
View file @
73058211
...
@@ -29,6 +29,7 @@ export default {
...
@@ -29,6 +29,7 @@ export default {
}
}
#app
{
#app
{
background-color
:
#f6f7fb
;
background-color
:
#f6f7fb
;
padding-bottom
:
20px
;
}
}
</
style
>
</
style
>
src/components/menu.vue
View file @
73058211
<
template
>
<
template
>
<div
class=
"menu"
>
<div
class=
"menu"
>
<img
src=
"../assets/imgs/home_img_logo.png"
alt=
""
class=
"logo"
>
<img
src=
"../assets/imgs/home_img_logo.png"
alt=
""
class=
"logo"
>
<span
class=
"user"
>
用户
</span>
<div
style=
"float:right;cursor: pointer;position:relative;"
class=
"user_hover"
>
<img
src=
"../assets/imgs/home_ic_user.png"
alt=
""
class=
"user_pic"
>
<span
class=
"user"
>
用户
</span>
<img
src=
"../assets/imgs/home_ic_user.png"
alt=
""
class=
"user_pic"
>
<div
class=
"user_menu"
>
<div
v-for=
"(item,index) in user_arr"
:key=
"index+700"
@
click=
"gotopage(index)"
>
{{
item
}}
</div>
</div>
<div
class=
"sj"
></div>
</div>
<div
class=
"number"
>
99+
</div>
<div
class=
"number"
>
99+
</div>
<img
src=
"../assets/imgs/home_ic_shop.png"
alt=
""
class=
"car"
>
<img
src=
"../assets/imgs/home_ic_shop.png"
alt=
""
class=
"car"
>
...
@@ -22,6 +28,12 @@ export default {
...
@@ -22,6 +28,12 @@ export default {
return
{
return
{
menu_arr
:[
'
工作台
'
,
'
技术支持
'
,
'
服务超市
'
],
menu_arr
:[
'
工作台
'
,
'
技术支持
'
,
'
服务超市
'
],
now_menu
:
0
,
now_menu
:
0
,
user_arr
:[
'
个人档案
'
,
'
消息通知
'
,
'
收银中心
'
,
'
关于BD-aPaaS
'
,
'
退出登录
'
],
}
},
methods
:{
gotopage
(
n
){
console
.
log
(
n
);
}
}
}
}
}
}
...
@@ -34,6 +46,7 @@ export default {
...
@@ -34,6 +46,7 @@ export default {
background-color
:
#0f2683
;
background-color
:
#0f2683
;
color
:
#8390ee
;
color
:
#8390ee
;
line-height
:
84px
;
line-height
:
84px
;
}
}
.logo
{
.logo
{
float
:
left
;
float
:
left
;
...
@@ -85,4 +98,43 @@ export default {
...
@@ -85,4 +98,43 @@ export default {
bottom
:
0px
;
bottom
:
0px
;
left
:
calc
(
50%
-
12px
);
left
:
calc
(
50%
-
12px
);
}
}
.user_menu
{
width
:
135px
;
background-color
:
#ffffff
;
box-shadow
:
0px
3px
6px
0px
#f4f7fc
;
border-radius
:
8px
;
position
:
absolute
;
top
:
80px
;
left
:
-20px
;
overflow
:
hidden
;
display
:
none
;
z-index
:
1
;
}
.user_hover
:hover
.user_menu
{
display
:
block
;
}
.user_hover
:hover
.sj
{
display
:
block
;
}
.user_menu
div
{
width
:
135px
;
height
:
44px
;
line-height
:
44px
;
text-align
:
center
;
color
:
#0d1847
;
}
.user_menu
div
:hover
{
background-color
:
#e56600
;
color
:
#fff
;
}
.sj
{
width
:
16px
;
height
:
16px
;
background-color
:
#e56600
;
position
:
absolute
;
top
:
72px
;
transform
:
rotate
(
45deg
);
display
:
none
;
}
</
style
>
</
style
>
\ No newline at end of file
src/pages/workPlace.vue
View file @
73058211
This diff is collapsed.
Click to expand it.
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