wangming 1 месяц назад
Родитель
Сommit
76780a68ab
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      src/pagesA/roomSetting/roomSetting.vue

+ 4 - 2
src/pagesA/roomSetting/roomSetting.vue

@@ -56,9 +56,9 @@
                         :style="{
                             transform:
                                 'translate(' +
-                                -xOffset / 100 +
+                                -xOffset / 80 +
                                 'rpx,' +
-                                -yOffset / 100 +
+                                -yOffset / 80 +
                                 'rpx)',
                         }"
                     />
@@ -683,6 +683,8 @@ export default {
                             (this.devInfo.xxStart + this.devInfo.xxEnd) * 50;
                         this.yOffset =
                             -(this.devInfo.yyStart + this.devInfo.yyEnd) * 50;
+
+                        console.log(this.xOffset, this.yOffset, 9999);
                         this.statusLight = this.devInfo.statusLight;
                         this.xxStart = this.devInfo.xxStart;
                         this.xxEnd = this.devInfo.xxEnd;