|
|
@@ -54,11 +54,11 @@
|
|
|
<span>{{ ROBOT_STATUS[row.status] }}</span>
|
|
|
</lay-space>
|
|
|
<lay-space v-else-if="row.status == 'ERROR'">
|
|
|
- <lay-badge type="dot" ripple />
|
|
|
+ <lay-badge type="dot" />
|
|
|
<span>{{ ROBOT_STATUS[row.status] }}</span>
|
|
|
</lay-space>
|
|
|
<lay-space v-else>
|
|
|
- <lay-badge type="dot" theme="orange" ripple />
|
|
|
+ <lay-badge type="dot" theme="orange" :ripple="row.status == 'STOPPED' ? false : true" />
|
|
|
<span>{{ ROBOT_STATUS[row.status] }}</span>
|
|
|
</lay-space>
|
|
|
</template>
|
|
|
@@ -195,7 +195,7 @@ const jumpDetail = (info: any) => {
|
|
|
const handleShowInfo = (info: any) => {
|
|
|
document.title = `[${info.runNum || 0}/${info.total || 0}] 利润:${info.income || 0}(${info.incomeRate || 0}%)
|
|
|
初始:${info.startAmount || 0} 现有:${info.nowAmount || 0}`;
|
|
|
- collectInfo.value = `[${info.runNum || 0}/${info.total || 0}] 利润:<span class="${info.income >= 0 ? 'primary-color' : 'danger-color'}">${info.income || 0}(${info.incomeRate || 0}%)</span>
|
|
|
+ collectInfo.value = `[${info.runNum || 0}/${info.total || 0}] 利润:<span class="${info.income >= 0 ? "primary-color" : "danger-color"}">${info.income || 0}(${info.incomeRate || 0}%)</span>
|
|
|
初始:<span class="primary-color">${info.startAmount || 0}</span> 现有:<span class="primary-color">${info.nowAmount || 0}</span>`;
|
|
|
};
|
|
|
|