Commit 71026551 authored by xiedong's avatar xiedong

修改

parent 5cf360c6
......@@ -79,14 +79,14 @@
</div>
</div>
<div v-show="!robotStatus" class="search-box fr">
<el-input v-model="robotAccount" placeholder="通过机器人账户搜索">
<el-input v-model="robotAccount" placeholder="通过机器人账户搜索" @change="searchByAccount">
<el-button @click="searchByAccount" slot="append" icon="el-icon-search"></el-button>
</el-input>
</div>
</div>
<ul class="robots-box">
<li v-for="(item,index) in robotList" :key="item.tag"
:class="[(item.base_status==='abnormal' ||item.coin_status==='abnormal' || item.coin_wave_status === 'abnormal'|| item.base_wave_status === 'abnormal') ? 'abnormal' : item.status || 'normal']">
:class="[item.status==='stop'?'stop':item.base_status==='abnormal' ||item.coin_status==='abnormal' || item.coin_wave_status === 'abnormal'|| item.base_wave_status === 'abnormal'?'abnormal': 'normal']">
<div class="operations">
<div class="detail" @click="showDetails(index)">
<span>查看详情</span>
......@@ -527,15 +527,15 @@
},
//通过机器人账户搜索
searchByAccount() {
if (!this.robotAccount) {
this.$notify({
title: '错误',
message: "请先输入账户地址后再试",
type: 'error',
duration:'2000',
});
return;
}
// if (!this.robotAccount) {
// this.$notify({
// title: '错误',
// message: "请先输入账户地址后再试",
// type: 'error',
// duration:'2000',
// });
// return;
// }
this.checkAll = false;
this.isIndeterminate = true;
this.foldExchange = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment