4cd6e5d7 by 杨威

楼盘表宽度修改

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