|
@@ -1810,6 +1810,7 @@
|
|
if(gltf.spaceType==13){//楼梯不处理
|
|
if(gltf.spaceType==13){//楼梯不处理
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
|
|
+ console.warn("***selectSpaceHandle0***",this.selectSpace)
|
|
if(this.selectSpace){
|
|
if(this.selectSpace){
|
|
this.changeSpaceColor(this.selectSpace.spaceId,2);//取消上一个空间的颜色
|
|
this.changeSpaceColor(this.selectSpace.spaceId,2);//取消上一个空间的颜色
|
|
}
|
|
}
|
|
@@ -1839,7 +1840,7 @@
|
|
this.locationHandle();
|
|
this.locationHandle();
|
|
setTimeout( async ()=>{
|
|
setTimeout( async ()=>{
|
|
let shottingImg = await this.shottingAction() + "?x-oss-process=image/auto-orient,1/quality,Q_46/format,jpg";//开始截图
|
|
let shottingImg = await this.shottingAction() + "?x-oss-process=image/auto-orient,1/quality,Q_46/format,jpg";//开始截图
|
|
- console.warn("***shottingImg***",shottingImg);
|
|
|
|
|
|
+ console.warn("***shottingImg***",shottingImg,this.selectSpace);
|
|
setStorage('shottingImg', shottingImg);//把空间选择的数据存入本地缓存里面,方便后续使用
|
|
setStorage('shottingImg', shottingImg);//把空间选择的数据存入本地缓存里面,方便后续使用
|
|
if(!this.curLayoutStruct){
|
|
if(!this.curLayoutStruct){
|
|
this.curLayoutStruct = [this.curHouseObj]
|
|
this.curLayoutStruct = [this.curHouseObj]
|
|
@@ -1849,6 +1850,10 @@
|
|
curObj.shottingImg = shottingImg;
|
|
curObj.shottingImg = shottingImg;
|
|
setStorage('curLayoutStruct', this.curLayoutStruct);//把楼层的数据存入缓存中
|
|
setStorage('curLayoutStruct', this.curLayoutStruct);//把楼层的数据存入缓存中
|
|
}
|
|
}
|
|
|
|
+ if(this.selectSpace){
|
|
|
|
+ this.changeSpaceColor(this.selectSpace.spaceId,2);//取消上一个空间的颜色
|
|
|
|
+ this.selectSpace = null;
|
|
|
|
+ }
|
|
let gltf = this.lableItem.find(it=>it.spaceId==spaceId);
|
|
let gltf = this.lableItem.find(it=>it.spaceId==spaceId);
|
|
if(gltf){
|
|
if(gltf){
|
|
this.goRoam(gltf)
|
|
this.goRoam(gltf)
|