|
@@ -7,6 +7,7 @@
|
|
|
import router from "@/router";
|
|
|
import touchHandle from '@/mixins/touchHandle.js';
|
|
|
import commonPageMethod from '@/mixins/commonPageMethod.js';
|
|
|
+ import spaceTypes from '@/static/spaceTypesIE.js';
|
|
|
// const app = getApp(); //获取应用实例
|
|
|
// import requestConfig from '@/static/lib/requestConfig.js';
|
|
|
// import commonPageMethod from '@/common/commonPageMethod.js';
|
|
@@ -54,6 +55,7 @@ export default {
|
|
|
showPhoneModel:false,
|
|
|
gsImage:'',
|
|
|
layoutStruct:null,
|
|
|
+ TdIndex:0,
|
|
|
}
|
|
|
},
|
|
|
/**
|
|
@@ -130,7 +132,8 @@ export default {
|
|
|
gsImage:tmp.baseImg,
|
|
|
area:'',
|
|
|
}
|
|
|
- this.tabData.push(data)
|
|
|
+ this.tabData.push(data);
|
|
|
+ this.TdIndex = 2;
|
|
|
},
|
|
|
async getIdData(){
|
|
|
let userId = this.userId || '';
|
|
@@ -173,8 +176,15 @@ export default {
|
|
|
this.form.houseJson.forEach((item,index)=>{
|
|
|
//获取面积
|
|
|
let curSpaceArea = parseFloat((item.spaceWidth * item.spaceHeight) / 10000).toFixed(1);
|
|
|
+ let text = item.spaceName;
|
|
|
+ if(item.spaceId && item.spaceType){
|
|
|
+ text = spaceTypes[item.spaceType - 1];
|
|
|
+ if(item.spaceType==15 && item.layoutSpaceType){
|
|
|
+ text = spaceTypes[item.layoutSpaceType - 1];
|
|
|
+ }
|
|
|
+ }
|
|
|
let data = {
|
|
|
- name : item.spaceName,
|
|
|
+ name : text,
|
|
|
imgUrl : item.hardboundEffect[0],
|
|
|
hardboundEffect:item.hardboundEffect,
|
|
|
gsImage:item.hardboundEffect[0],
|