|
@@ -87,6 +87,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!--暂停-->
|
|
|
+ <!-- :class="activeIndex == 3 ? 'control-item-active' : ''" -->
|
|
|
<div
|
|
|
class="control-item"
|
|
|
@click="openCurtainMain(3)"
|
|
@@ -360,9 +361,13 @@ export default defineComponent({
|
|
|
},
|
|
|
// 单个窗帘操作
|
|
|
openCurtainClid(item: any, type: any) {
|
|
|
- if (item.activeIndex == type && item.count !== 0) {
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (item.activeIndex == type && item.count !== 0) {
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ proxyData.curtainData.map((item: any) => {
|
|
|
+ item.count = 0;
|
|
|
+ item.activeIndex = 0;
|
|
|
+ });
|
|
|
item.activeIndex = type;
|
|
|
let data: any = [];
|
|
|
let obj: any = {
|
|
@@ -527,10 +532,10 @@ export default defineComponent({
|
|
|
height: 40px;
|
|
|
background: #f1f4f6;
|
|
|
border-radius: 50%;
|
|
|
+ &:active {
|
|
|
+ background: rgba(206, 159, 39, 0.4);
|
|
|
+ }
|
|
|
|
|
|
- // &:hover {
|
|
|
- // background: rgba(206, 159, 39, 0.4);
|
|
|
- // }
|
|
|
img {
|
|
|
position: absolute;
|
|
|
width: 16px;
|
|
@@ -545,9 +550,9 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
.control-stop {
|
|
|
- &:active {
|
|
|
- background: rgba(206, 159, 39, 0.4);
|
|
|
- }
|
|
|
+ // &:active {
|
|
|
+ // background: rgba(206, 159, 39, 0.4);
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
.control-item-active {
|