pull/58/head
孙萌 2023-11-27 11:16:55 +08:00
parent d7141d4ad4
commit 29affcc0fc
1 changed files with 4 additions and 3 deletions

View File

@ -10,13 +10,13 @@
<div class="flex-view"> <div class="flex-view">
<div class="input-btn"> <div class="input-btn">
<span>控制模式选择</span> <span>控制模式选择</span>
<div class="btn" @click="change00(1)" :class="topActive==1?'green':'blue'"> <div class="btn" @click="change00(1)" :class="topActive==1?'blue':'green'">
<img src="../../assets/image/irrigateSet1.png" alt="" />停止 <img src="../../assets/image/irrigateSet1.png" alt="" />停止
</div> </div>
<div class="btn" @click="change00(2)" :class="topActive==2?'green':'blue'"> <div class="btn" @click="change00(2)" :class="topActive==2?'blue':'green'">
<img src="../../assets/image/irrigateSet3.png" alt="" />手动启动 <img src="../../assets/image/irrigateSet3.png" alt="" />手动启动
</div> </div>
<div class="btn" @click="change00(3)" :class="topActive==3?'green':'blue'"> <div class="btn" @click="change00(3)" :class="topActive==3?'blue':'green'">
<img src="../../assets/image/irrigateSet2.png" alt="" />自动 <img src="../../assets/image/irrigateSet2.png" alt="" />自动
</div> </div>
@ -892,6 +892,7 @@ export default {
}else{ }else{
this.topActive=0 this.topActive=0
} }
console.log( this.topActive,11);
}, },
change59() { change59() {
var list = ["0", "0", "0", "0"]; var list = ["0", "0", "0", "0"];