|
|
|
@ -6,6 +6,10 @@
|
|
|
|
|
direction="rtl"
|
|
|
|
|
>
|
|
|
|
|
<div class="ytDraw">
|
|
|
|
|
<div class="openClass">
|
|
|
|
|
<el-button type="primary" @click="openPowerFun()">开启</el-button>
|
|
|
|
|
<el-button type="warning" @click="closePowerFun()">关闭</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="ytTop">
|
|
|
|
|
<div class="cirle">
|
|
|
|
|
<div class="ybg1">
|
|
|
|
@ -319,6 +323,18 @@ export default {
|
|
|
|
|
|
|
|
|
|
this.termstatusFun();
|
|
|
|
|
},
|
|
|
|
|
//单独开启
|
|
|
|
|
openPowerFun() {
|
|
|
|
|
this.fucType = 0;
|
|
|
|
|
this.presetNum = 0;
|
|
|
|
|
this.termstatusFun();
|
|
|
|
|
},
|
|
|
|
|
//单独关闭
|
|
|
|
|
closePowerFun() {
|
|
|
|
|
this.fucType = 9;
|
|
|
|
|
this.presetNum = 0;
|
|
|
|
|
this.termstatusFun();
|
|
|
|
|
},
|
|
|
|
|
//控制上下左右
|
|
|
|
|
handleTop() {
|
|
|
|
|
console.log("我点击了向上移动一个单位");
|
|
|
|
@ -636,6 +652,10 @@ export default {
|
|
|
|
|
//display: flex;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
.openClass {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
}
|
|
|
|
|
.ytTop {
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 200px;
|
|
|
|
|