楼盘表判断有且仅有独立层户时zdyWidth的宽度
Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -241,7 +241,12 @@ export default { | ... | @@ -241,7 +241,12 @@ export default { |
241 | highest = 0; | 241 | highest = 0; |
242 | } | 242 | } |
243 | } else { | 243 | } else { |
244 | // this.zdyWidth = 124; | 244 | //有且仅有独立层户 |
245 | if(this.$refs.hBsm != undefined){ | ||
246 | this.$refs.hBsm.forEach((item) => { | ||
247 | this.zdyWidth += item.offsetWidth + 21; | ||
248 | }); | ||
249 | } | ||
245 | } | 250 | } |
246 | 251 | ||
247 | //计算逻辑幢下的幢单元和层户的高度 | 252 | //计算逻辑幢下的幢单元和层户的高度 | ... | ... |
-
Please register or sign in to post a comment