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
bb4e641a
Commit
bb4e641a
authored
Jul 19, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
颜色你懂8
parent
70a3d412
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
RobotDetails.vue
src/views/RobotDetails.vue
+1
-1
overview.vue
src/views/overview.vue
+2
-1
No files found.
src/views/RobotDetails.vue
View file @
bb4e641a
...
...
@@ -6,7 +6,7 @@
</div>
<el-row
:gutter=
"20"
class=
"operation-area"
>
<el-col
:span=
"16"
>
<div
class=
"dashboard"
:class=
"[
robot
Info.status || 'normal']"
>
<div
class=
"dashboard"
:class=
"[
(robotDetailInfo.base_status==='abnormal' ||robotDetailInfo.coin_status==='abnormal' || robotDetailInfo.profit_status === 'abnormal') ? 'abnormal' : robotDetail
Info.status || 'normal']"
>
<div
class=
"chart-box"
>
<p
class=
"title"
>
今日盈亏
</p>
<p
v-show=
"robotInfo.today_profit>0"
class=
"data gain"
>
+
{{
(
robotInfo
.
today_profit
*
100
).
toFixed
(
2
)
}}
%
</p>
...
...
src/views/overview.vue
View file @
bb4e641a
...
...
@@ -77,7 +77,8 @@
</div>
</div>
<ul
class=
"robots-box"
>
<li
v-for=
"(item,index) in robotList"
:key=
"item.tag"
:class=
"[item.status||'normal']"
>
<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"
>
<div
class=
"detail"
@
click=
"showDetails(index)"
>
<span>
查看详情
</span>
...
...
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