Эх сурвалжийг харах

去除新增范围家庭绑定

wangming 1 сар өмнө
parent
commit
6fdd75a05f

+ 2 - 3
src/pages/home/home.vue

@@ -78,8 +78,7 @@
             <!-- <button>联系客服</button> -->
             <button open-type="contact">联系客服</button>
         </view>
-        <view class="bot_version"> v3.0.7 </view>
-
+        <view class="bot_version"> v3.0.9 </view>
         <view
             class="shareInfo"
             @click="goDeviceShare()"
@@ -152,7 +151,7 @@ export default {
             shareNum: 0,
             devNum: 0,
             warnNum: 0,
-            imageUrl: "../../static/headerInfo.png",
+            imageUrl: "../../static/headerInfo.jpg",
             devDevice: "",
             warmNum: "",
             warmDetail: [],

+ 31 - 31
src/pagesA/adDevice/adDevice.vue

@@ -359,38 +359,38 @@ export default {
                 });
                 return;
             }
-            if (
-                -200 > this.xxStart ||
-                this.xxEnd > 200 ||
-                -200 > this.yyStart ||
-                this.yyEnd > 200
-            ) {
-                uni.showModal({
-                    content: "检测范围在-200~200之间",
-                    showCancel: false,
-                });
-                return;
-            }
-            if (
-                5 < this.zzStart ||
-                this.zzStart < 0 ||
-                300 < this.zzEnd ||
-                this.zzEnd < 200
-            ) {
-                uni.showModal({
-                    content: "Z轴检测范围不正确",
-                    showCancel: false,
-                });
-                return;
-            }
+            // if (
+            //     -200 > this.xxStart ||
+            //     this.xxEnd > 200 ||
+            //     -200 > this.yyStart ||
+            //     this.yyEnd > 200
+            // ) {
+            //     uni.showModal({
+            //         content: "检测范围在-200~200之间",
+            //         showCancel: false,
+            //     });
+            //     return;
+            // }
+            // if (
+            //     5 < this.zzStart ||
+            //     this.zzStart < 0 ||
+            //     300 < this.zzEnd ||
+            //     this.zzEnd < 200
+            // ) {
+            //     uni.showModal({
+            //         content: "Z轴检测范围不正确",
+            //         showCancel: false,
+            //     });
+            //     return;
+            // }
 
-            if (200 > this.height || this.height > 370) {
-                uni.showModal({
-                    content: "安装高度在200~270之间",
-                    showCancel: false,
-                });
-                return;
-            }
+            // if (200 > this.height || this.height > 370) {
+            //     uni.showModal({
+            //         content: "安装高度在200~270之间",
+            //         showCancel: false,
+            //     });
+            //     return;
+            // }
 
             let deviceBandingParams = {
                 clientId: this.clientId,

BIN
src/static/headerInfo.jpg


BIN
src/static/headerInfo.png