Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
robot-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
汪晓凯
robot-monitor
Commits
0188d9cd
Commit
0188d9cd
authored
Aug 08, 2018
by
汪晓凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
overview页面 机器人列表布局使用flex
parent
336067bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
overview.vue
src/views/overview.vue
+18
-4
No files found.
src/views/overview.vue
View file @
0188d9cd
...
...
@@ -80,7 +80,7 @@
</el-input>
</div>
</div>
<ul
class=
"robots-box
clearfix
"
>
<ul
class=
"robots-box"
>
<li
v-for=
"(item,index) in robotList"
:key=
"item.tag"
:class=
"[(item.base_status==='abnormal' ||item.coin_status==='abnormal' || item.profit_status === 'abnormal') ? 'abnormal' : item.status || 'normal']"
>
<div
class=
"operations"
>
...
...
@@ -128,6 +128,10 @@
</div>
</div>
</li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<p
v-if=
"robotList === null"
class=
"no-data"
>
暂无数据
</p>
</div>
...
...
@@ -615,16 +619,26 @@
}
}
.robots-box
{
width
:
calc
(
100%
+
20px
);
/*width: calc(100% + 20px);*/
display
:
flex
;
align-items
:
flex-start
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
justify-content
:
space-between
;
}
ul
.robots-box
>
li
{
float
:
left
;
margin
:
0
20px
20px
0
;
/*float: left;*/
/*margin: 0 20px 20px 0;*/
margin-bottom
:
20px
;
width
:
306px
;
height
:
340px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
4px
;
padding
:
13px
23px
0
20px
;
&:empty
{
height
:
0
;
border
:
none
;
}
&
.normal
{
border
:
1px
solid
rgba
(
146
,
208
,
171
,
1
);
.chart-box
{
...
...
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