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
4de7034f
Commit
4de7034f
authored
May 27, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用管理样式优化
parent
8ebacf7e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
src/components/app-list/app-card.vue
src/components/app-list/app-card.vue
+0
-1
src/components/app-list/app-list.vue
src/components/app-list/app-list.vue
+15
-1
src/pages/authority/organization.vue
src/pages/authority/organization.vue
+1
-1
src/pages/workbench/yygl/yyglList.vue
src/pages/workbench/yygl/yyglList.vue
+3
-2
No files found.
src/components/app-list/app-card.vue
View file @
4de7034f
...
...
@@ -61,7 +61,6 @@ export default {
<
style
scoped
>
.app_card
{
width
:
calc
(
20%
-
36px
);
background-image
:
url(../../assets/imgs/bg_block.png)
;
background-size
:
100%
100%
;
padding
:
33px
25px
34px
;
...
...
src/components/app-list/app-list.vue
View file @
4de7034f
<
template
>
<div
class=
"app_list"
>
<div
class=
"app_list"
ref=
"container"
>
<app-card
v-for=
"(item, index) in data"
:key=
"'app_card_' + index"
...
...
@@ -8,6 +8,7 @@
@
deployment-action=
"deploymentAction"
@
delete-action=
"deleteAction"
:details-url=
"detailsUrl"
:style=
"
{ width: 'calc(100% / ' + rowNum + ' - 36px)' }"
>
</app-card>
</div>
</
template
>
...
...
@@ -33,6 +34,9 @@ export default {
default
:
0
,
},
},
data
:
()
=>
({
rowNum
:
5
,
}),
methods
:
{
deploymentAction
(
item
)
{
this
.
$emit
(
"
deployment-action
"
,
item
);
...
...
@@ -40,6 +44,16 @@ export default {
deleteAction
(
item
)
{
this
.
$emit
(
"
delete-action
"
,
item
);
},
pageResize
()
{
let
listWidth
=
this
.
$refs
.
container
.
clientWidth
;
this
.
rowNum
=
Math
.
floor
(
listWidth
/
310
);
},
},
mounted
()
{
this
.
pageResize
();
window
.
onresize
=
()
=>
{
this
.
pageResize
();
};
},
};
</
script
>
...
...
src/pages/authority/organization.vue
View file @
4de7034f
...
...
@@ -213,7 +213,7 @@ export default {
overflow
:
auto
;
}
.main_container
{
min-height
:
calc
(
100%
-
7
4px
);
min-height
:
calc
(
100%
-
8
4px
);
padding
:
15px
20px
;
border-radius
:
10px
;
background-color
:
#fff
;
...
...
src/pages/workbench/yygl/yyglList.vue
View file @
4de7034f
...
...
@@ -531,16 +531,17 @@ export default {
<
style
scoped
>
.list_container
{
min-
height
:
100%
;
height
:
100%
;
padding
:
0
20px
;
overflow
:
auto
;
}
.main_container
{
min-height
:
calc
(
100%
-
75
px
);
min-height
:
calc
(
100%
-
84
px
);
padding
:
15px
20px
;
border-radius
:
10px
;
overflow
:
hidden
;
background-color
:
#fff
;
margin-bottom
:
42px
;
}
.main_container.card
{
display
:
flex
;
...
...
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