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
893140f2
Commit
893140f2
authored
Jul 02, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toplist组件优化
parent
2c7514aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
src/components/e-charts/starlist.vue
src/components/e-charts/starlist.vue
+0
-0
src/components/e-charts/toplist.vue
src/components/e-charts/toplist.vue
+2
-4
No files found.
src/components/e-charts/starlist.vue
0 → 100644
View file @
893140f2
src/components/e-charts/toplist.vue
View file @
893140f2
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
},
},
methods
:
{
methods
:
{
getBarWidth
(
value
)
{
getBarWidth
(
value
)
{
return
(
value
/
this
.
targetValue
)
*
100
+
"
%
"
;
return
Math
.
min
((
value
/
this
.
targetValue
)
*
100
,
100
)
+
"
%
"
;
},
},
},
},
};
};
...
@@ -94,9 +94,7 @@ export default {
...
@@ -94,9 +94,7 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
center
;
}
margin-bottom
:
18px
;
.item_list
:not
(
:first-child
)
{
margin-top
:
18px
;
}
}
.item_index
{
.item_index
{
width
:
35px
;
width
:
35px
;
...
...
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