Commit 5232ed00 authored by xiedong's avatar xiedong

外部版本隐藏了充提按钮

parent 6fe7e40e
...@@ -81,18 +81,21 @@ ...@@ -81,18 +81,21 @@
<div class="handle-content" v-loading="Loading" element-loading-text="正在刷新数据"> <div class="handle-content" v-loading="Loading" element-loading-text="正在刷新数据">
<div class="handle"> <div class="handle">
<span class="coin-name">{{robotInfo.coin}}</span> <span class="coin-name">{{robotInfo.coin}}</span>
<button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickRecharge(robotInfo.coin)">充币</button> <template v-if="environment=='inside'">
<button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickWithdraw(robotInfo.coin)">提币</button> <button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickRecharge(robotInfo.coin)">充币</button>
<div class="switch"> <button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickWithdraw(robotInfo.coin)">提币</button>
<span v-show="robotInfo.transfer_status==='open'">关闭</span> <div class="switch">
<span v-show="robotInfo.transfer_status==='close'">开启</span> <span v-show="robotInfo.transfer_status==='open'">关闭</span>
<el-switch <span v-show="robotInfo.transfer_status==='close'">开启</span>
@change="transferStatusChange" <el-switch
v-model="transfer_status" @change="transferStatusChange"
active-color="rgba(119,146,167,1)" v-model="transfer_status"
inactive-color="rgba(236,239,241,1)"> active-color="rgba(119,146,167,1)"
</el-switch> inactive-color="rgba(236,239,241,1)">
</div> </el-switch>
</div>
</template>
</div> </div>
<p class="item"> <p class="item">
<span class="type-name">可用</span> <span class="type-name">可用</span>
...@@ -118,18 +121,21 @@ ...@@ -118,18 +121,21 @@
<div class="handle-content" v-loading="Loading" element-loading-text="正在刷新数据"> <div class="handle-content" v-loading="Loading" element-loading-text="正在刷新数据">
<div class="handle"> <div class="handle">
<span class="coin-name">{{robotInfo.base}}</span> <span class="coin-name">{{robotInfo.base}}</span>
<button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickRecharge(robotInfo.base)">充币</button> <template v-if="environment=='inside'">
<button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickWithdraw(robotInfo.base)">提币</button> <button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickRecharge(robotInfo.base)">充币</button>
<div class="switch"> <button class="button" :class="robotInfo.transfer_status" :disabled="robotInfo.transfer_status==='close'" @click="clickWithdraw(robotInfo.base)">提币</button>
<span v-show="robotInfo.transfer_status==='open'">关闭</span> <div class="switch">
<span v-show="robotInfo.transfer_status==='close'">开启</span> <span v-show="robotInfo.transfer_status==='open'">关闭</span>
<el-switch <span v-show="robotInfo.transfer_status==='close'">开启</span>
@change="transferStatusChange" <el-switch
v-model="transfer_status" @change="transferStatusChange"
active-color="rgba(119,146,167,1)" v-model="transfer_status"
inactive-color="rgba(236,239,241,1)"> active-color="rgba(119,146,167,1)"
</el-switch> inactive-color="rgba(236,239,241,1)">
</div> </el-switch>
</div>
</template>
</div> </div>
<p class="item"> <p class="item">
<span class="type-name">可用</span> <span class="type-name">可用</span>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<p>{{robotStatusList.status_stop}}</p> <p>{{robotStatusList.status_stop}}</p>
<p>停止运行(台)</p> <p>停止运行(台)</p>
</li> </li>
<li class="abnormal" :class="{ 'filter' : robotStatus === 'profit'}" @click="statusFilter('profit')"> <li class="abnormal" :class="{ 'filter' : robotStatus === 'profit'}" @click="statusFilter('profit')" v-if="environment=='inside'">
<p>{{robotStatusList.profit_status_abnormal}}</p> <p>{{robotStatusList.profit_status_abnormal}}</p>
<p>盈利异常(台)</p> <p>盈利异常(台)</p>
</li> </li>
......
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