Commit 71026551 authored by xiedong's avatar xiedong

修改

parent 5cf360c6
...@@ -79,14 +79,14 @@ ...@@ -79,14 +79,14 @@
</div> </div>
</div> </div>
<div v-show="!robotStatus" class="search-box fr"> <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-button @click="searchByAccount" slot="append" icon="el-icon-search"></el-button>
</el-input> </el-input>
</div> </div>
</div> </div>
<ul class="robots-box"> <ul class="robots-box">
<li v-for="(item,index) in robotList" :key="item.tag" <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="operations">
<div class="detail" @click="showDetails(index)"> <div class="detail" @click="showDetails(index)">
<span>查看详情</span> <span>查看详情</span>
...@@ -527,15 +527,15 @@ ...@@ -527,15 +527,15 @@
}, },
//通过机器人账户搜索 //通过机器人账户搜索
searchByAccount() { searchByAccount() {
if (!this.robotAccount) { // if (!this.robotAccount) {
this.$notify({ // this.$notify({
title: '错误', // title: '错误',
message: "请先输入账户地址后再试", // message: "请先输入账户地址后再试",
type: 'error', // type: 'error',
duration:'2000', // duration:'2000',
}); // });
return; // return;
} // }
this.checkAll = false; this.checkAll = false;
this.isIndeterminate = true; this.isIndeterminate = true;
this.foldExchange = 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