|
@@ -46,16 +46,24 @@ export default {
|
|
}, 200);
|
|
}, 200);
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- created() {
|
|
|
|
|
|
+ created() {},
|
|
|
|
+ mounted() {
|
|
const num = window.number;
|
|
const num = window.number;
|
|
const arr = ["1194", "1195", "1196", "1197"];
|
|
const arr = ["1194", "1195", "1196", "1197"];
|
|
if (arr.includes(num)) {
|
|
if (arr.includes(num)) {
|
|
|
|
+ // 隐藏原本的楼层选择
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ const dom = document.querySelector(".gui-floor");
|
|
|
|
+ if (dom) {
|
|
|
|
+ dom.style.display = "none";
|
|
|
|
+ }
|
|
|
|
+ }, 200);
|
|
|
|
+
|
|
this.urlNum = num;
|
|
this.urlNum = num;
|
|
this.numTxt =
|
|
this.numTxt =
|
|
num == 1194 ? "1" : num == 1195 ? "2" : num == 1196 ? "3" : "4";
|
|
num == 1194 ? "1" : num == 1195 ? "2" : num == 1196 ? "3" : "4";
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- mounted() {},
|
|
|
|
beforeCreate() {}, //生命周期 - 创建之前
|
|
beforeCreate() {}, //生命周期 - 创建之前
|
|
beforeMount() {}, //生命周期 - 挂载之前
|
|
beforeMount() {}, //生命周期 - 挂载之前
|
|
beforeUpdate() {}, //生命周期 - 更新之前
|
|
beforeUpdate() {}, //生命周期 - 更新之前
|