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
fe6d03df
"src/components/service-list/service_list-new.vue" did not exist on "233de7a59112cb7ecd0d18f44fec6b15cf3df0dd"
Commit
fe6d03df
authored
Jul 24, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改工作台首页样式
parent
4ba509a8
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
218 additions
and
95 deletions
+218
-95
src/assets/imgs/home_btn_enter_hov.png
src/assets/imgs/home_btn_enter_hov.png
+0
-0
src/components/e-charts/dashboard.vue
src/components/e-charts/dashboard.vue
+3
-3
src/components/menu.vue
src/components/menu.vue
+13
-5
src/pages/authority/user/organizationuser.vue
src/pages/authority/user/organizationuser.vue
+2
-2
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+200
-85
No files found.
src/assets/imgs/home_btn_enter_hov.png
0 → 100644
View file @
fe6d03df
1.61 KB
src/components/e-charts/dashboard.vue
View file @
fe6d03df
...
...
@@ -35,11 +35,11 @@ export default {
text
:
self
.
data
.
data
+
"
{a|%}
"
,
show
:
!
self
.
is_word
,
x
:
"
center
"
,
y
:
"
center
"
,
y
:
"
30%
"
,
textStyle
:
{
fontSize
:
36
,
fontWeight
:
"
lighter
"
,
color
:
[
"
#67828c
"
],
color
:
self
.
dangerousValue
==
"
workplace
"
?[
"
#0d1847
"
]:
[
"
#67828c
"
],
rich
:
{
a
:
{
fontSize
:
14
,
...
...
@@ -205,7 +205,7 @@ export default {
barMaxWidth
:
10
,
name
:
"
C
"
,
roundCap
:
true
,
color
:
"
#
ddd
"
,
color
:
"
#
f4f4f5
"
,
barGap
:
"
-100%
"
},
{
...
...
src/components/menu.vue
View file @
fe6d03df
...
...
@@ -22,11 +22,13 @@
<div
v-for=
"(item, index) in user_arr"
:key=
"index + 700"
@
mouseleave.stop=
"change_now_hover(-1)"
@
mouseenter.stop=
"change_now_hover(index)"
@
click=
"gotopage(item.visit_url)"
>
{{
item
.
menu_name
}}
</div>
<div
@
click=
"gotopage('logout')"
>
退出登录
</div>
</div>
<div
v-if=
"userInfo.user_name && userInfo.user_name != ''"
class=
"sj"
></div>
<div
v-if=
"userInfo.user_name && userInfo.user_name != ''"
class=
"sj"
:style=
"now_hover==0?
{backgroundColor:'#e56600'}:{}"
>
</div>
</div>
<div
v-if=
"show_shop_menu"
...
...
@@ -85,10 +87,12 @@
<div
v-for=
"(v, indexs) in item.Child"
:key=
"indexs + 700"
@
mouseleave.stop=
"change_now_hover(-1)"
@
mouseenter.stop=
"change_now_hover(indexs)"
@
click.stop=
"gotoChildPage(v, item.visit_url)"
>
{{
v
.
menu_name
}}
</div>
</div>
<div
class=
"sj"
v-if=
"item.Child && item.Child.length"
style=
"left: 60px;
"
></div>
<div
class=
"sj"
v-if=
"item.Child && item.Child.length"
:style=
"now_hover==0?
{backgroundColor:'#e56600',left: '60px'}:{left: '60px'}
">
</div>
<div
class=
"bottom_show"
v-if=
"now_menu == item.visit_url"
></div>
</div>
</div>
...
...
@@ -110,6 +114,7 @@ export default {
],
shopping_list
:
[],
menuCartNum
:
0
,
now_hover
:
-
1
,
show_shop_menu
:
false
};
},
...
...
@@ -131,6 +136,9 @@ export default {
}
},
methods
:
{
change_now_hover
(
n
){
this
.
now_hover
=
n
},
gotopage
(
n
)
{
if
(
n
==
"
logout
"
)
{
window
.
location
.
href
=
"
/iam/api/logout
"
;
...
...
@@ -306,7 +314,7 @@ export default {
box-shadow
:
0px
3px
6px
0px
rgba
(
15
,
19
,
65
,
0.05
);
border-radius
:
8px
;
position
:
absolute
;
top
:
8
0px
;
top
:
7
0px
;
left
:
-20px
;
overflow
:
hidden
;
font-size
:
14px
;
...
...
@@ -356,9 +364,9 @@ export default {
.sj
{
width
:
16px
;
height
:
16px
;
background-color
:
#
e56600
;
background-color
:
#
fff
;
position
:
absolute
;
top
:
7
2px
;
top
:
6
2px
;
transform
:
rotate
(
45deg
);
display
:
none
;
}
...
...
src/pages/authority/user/organizationuser.vue
View file @
fe6d03df
...
...
@@ -206,12 +206,12 @@ export default {
},
1000
);
};
var
user_name_pass
=
(
rule
,
value
,
callback
)
=>
{
var
reg
=
/^
[
a-z0-9
|
\-
|_|
\.
]
+$/
;
var
reg
=
/^
[
a-z0-9
]
+$/
;
setTimeout
(()
=>
{
if
(
reg
.
test
(
value
))
{
callback
();
}
else
{
callback
(
new
Error
(
"
只支持小写字母、数字
、-、_、.
"
));
callback
(
new
Error
(
"
只支持小写字母、数字
"
));
}
},
100
);
};
...
...
src/pages/workbench/workPlace.vue
View file @
fe6d03df
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