|
@@ -32,7 +32,7 @@
|
|
|
pvCurPageName: "home_show",
|
|
|
locusBehaviorName: "主界面",
|
|
|
pvCurPageParams: null,
|
|
|
- houseId: "100296",
|
|
|
+ houseId: "",
|
|
|
pvId: 'p_2cmina_23080401',
|
|
|
canvas:null,
|
|
|
navbar: {
|
|
@@ -166,7 +166,7 @@
|
|
|
mounted() {
|
|
|
console.log("***onLoad-webgl_rxdz***", this.$route.query)
|
|
|
var that = this;
|
|
|
- this.houseId = this.$route.query && this.$route.query.houseId ? this.$route.query.houseId : '100296';//
|
|
|
+ this.houseId = this.$store.state.houseId || '';
|
|
|
this.childLayout = '0';//4-测试户型
|
|
|
let unit = window.screen.width / 750;//单位rpm 对应 px 的值
|
|
|
that.canvasHeight = window.screen.height - (200 * unit) + (20 * unit);
|
|
@@ -1663,22 +1663,6 @@
|
|
|
setTimeout(()=> {
|
|
|
this.repeatFlag = false;
|
|
|
}, 1000);
|
|
|
- // uni.navigateTo({
|
|
|
- // url: '/webgl/pages/webgl_rxdz_roam/webgl_rxdz_roam?houseId='+this.houseId,
|
|
|
- // success: (res)=> {
|
|
|
- // // 通过eventChannel向被打开页面传送数据
|
|
|
- // res.eventChannel.emit('acceptDataFromOpenerPage', {
|
|
|
- // data: data
|
|
|
- // })
|
|
|
- // this.showLables = true;
|
|
|
- // },
|
|
|
- // fail: (res) =>{
|
|
|
- // console.log(res)
|
|
|
- // },
|
|
|
- // complete: (res) => {
|
|
|
- // this.repeatFlag = false;
|
|
|
- // }
|
|
|
- // });
|
|
|
},
|
|
|
//obj 物体对象,type 是否改变颜色
|
|
|
moveMeshCenter(obj,type){
|