da73539c by 杨威

楼盘表样式调整

1 parent 2d327d90
......@@ -37,7 +37,7 @@ export default {
},
created() {},
mounted() {
this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 40;
this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 37;
},
computed: {},
watch: {},
......
......@@ -112,13 +112,13 @@ export default {
created() {
},
mounted() {
this.getLpb(this.$store.state.zrzbsm);
setTimeout(() => {
//lp-overview宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight
this.lpbContentWidth = this.$store.state.contentWidth - 34 - 1 - 20;
//tab-content宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight
this.lpbContentWidth = this.$store.state.contentWidth - 34 - 20;
//让滚动条滚动至最下面 -6是横向滚动条的高度
this.$refs.lpbContent.scrollTop = this.$refs.lpbContent.scrollHeight - this.$refs.lpbContent.clientHeight -6;
}, 100);
this.getLpb(this.$store.state.zrzbsm);
this.$refs.lpbContent.scrollTop = this.$refs.lpbContent.scrollHeight - this.$refs.lpbContent.clientHeight - 6;
}, 200);
},
methods: {
//获取楼盘表数据
......@@ -195,7 +195,6 @@ export default {
}else{
this.ljzzdyHeight = highest;
}
console.log(this.ljzzdyHeight,'this.ljzzdyHeight');
}else{
// this.zdyWidth = 124;
}
......@@ -356,12 +355,6 @@ export default {
flex-direction: column-reverse;
}
}
// .ch-wrap {
// width: 800px;
// height: 200px;
// margin-bottom: 60px;
// background-color: rgb(165, 136, 62);
// }
// 公共部分样式 start
.chTable{
......