4cd6e5d7 by 杨威

楼盘表宽度修改

1 parent 195c6ba6
<template>
<div ref="lpb" class="content_box">
<!-- <div ref="lpb" class="content_box"> -->
<el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" >
<el-tab-pane label="自然幢信息" name="zrzxx"><zrzxx></zrzxx></el-tab-pane>
<el-tab-pane label="业主共有" name="yzgy"><yzgy v-if="yzgyLoad" :is-disabled="isDisabled"></yzgy></el-tab-pane>
......@@ -11,7 +11,7 @@
<lcgz ref="lcgz" ></lcgz>
</el-tab-pane>
</el-tabs>
</div>
<!-- </div> -->
</template>
<script>
......@@ -68,7 +68,7 @@ export default {
created() {},
mounted() {
// this.$nextTick(()=>{
this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 44;
this.$store.state.contentWidth = (document.documentElement.clientWidth || document.body.clientWidth) - 340;
// })
},
computed: {},
......