diff --git a/src/subpackage/device/pages/air_conditioner/detail/detail.vue b/src/subpackage/device/pages/air_conditioner/detail/detail.vue index 57ccce3..a9d0c9d 100644 --- a/src/subpackage/device/pages/air_conditioner/detail/detail.vue +++ b/src/subpackage/device/pages/air_conditioner/detail/detail.vue @@ -38,8 +38,8 @@ 模式 - - + + {{ e.name || '-' }} @@ -49,8 +49,8 @@ 风速 - - + + {{ e.name || '-' }} @@ -72,7 +72,7 @@ 允许使用按钮 - + @@ -232,7 +232,7 @@ export default { tempBtn: util.debounce(function(type){ let { pageInfo } = this; let _num = pageInfo.temperature || 0; - _num = type == 'add' ? _num++ : type == 'reduce' ? _num-- : _num; + _num = type == 'add' ? ++_num : type == 'reduce' ? --_num : _num; this.operateReq({ data: this.getOperateData({ op: 'st', ext: _num }), isTip: false }); }, 300, true), @@ -432,17 +432,35 @@ export default { &:not(:nth-child(5n)){ margin-right: 20upx; } + &.acd-hover-active{ + .ai-icon{ + &::after{ + position: absolute; + content: ''; + left: 0; + top: 0; + right: 0; + bottom: 0; + background-color: rgba($color: #000000, $alpha: .3); + } + } + } .ai-icon{ + position: relative; margin: 0 auto 14upx; width: 116upx; height: 116upx; border-radius: 10upx; background-color: #fff; + overflow: hidden; @include centerFlex(center); >image{ width: 60upx; height: 60upx; } + &.active{ + border: 2upx solid $themeColor; + } } .ai-txt{ text-align: center;