da73539c by 杨威

楼盘表样式调整

1 parent 2d327d90
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
37 }, 37 },
38 created() {}, 38 created() {},
39 mounted() { 39 mounted() {
40 this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 40; 40 this.$store.state.contentWidth = this.$refs.lpb.offsetWidth - 37;
41 }, 41 },
42 computed: {}, 42 computed: {},
43 watch: {}, 43 watch: {},
......
...@@ -112,13 +112,13 @@ export default { ...@@ -112,13 +112,13 @@ export default {
112 created() { 112 created() {
113 }, 113 },
114 mounted() { 114 mounted() {
115 this.getLpb(this.$store.state.zrzbsm);
115 setTimeout(() => { 116 setTimeout(() => {
116 //lp-overview宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight 117 //tab-content宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight
117 this.lpbContentWidth = this.$store.state.contentWidth - 34 - 1 - 20; 118 this.lpbContentWidth = this.$store.state.contentWidth - 34 - 20;
118 //让滚动条滚动至最下面 -6是横向滚动条的高度 119 //让滚动条滚动至最下面 -6是横向滚动条的高度
119 this.$refs.lpbContent.scrollTop = this.$refs.lpbContent.scrollHeight - this.$refs.lpbContent.clientHeight -6; 120 this.$refs.lpbContent.scrollTop = this.$refs.lpbContent.scrollHeight - this.$refs.lpbContent.clientHeight - 6;
120 }, 100); 121 }, 200);
121 this.getLpb(this.$store.state.zrzbsm);
122 }, 122 },
123 methods: { 123 methods: {
124 //获取楼盘表数据 124 //获取楼盘表数据
...@@ -195,7 +195,6 @@ export default { ...@@ -195,7 +195,6 @@ export default {
195 }else{ 195 }else{
196 this.ljzzdyHeight = highest; 196 this.ljzzdyHeight = highest;
197 } 197 }
198 console.log(this.ljzzdyHeight,'this.ljzzdyHeight');
199 }else{ 198 }else{
200 // this.zdyWidth = 124; 199 // this.zdyWidth = 124;
201 } 200 }
...@@ -356,12 +355,6 @@ export default { ...@@ -356,12 +355,6 @@ export default {
356 flex-direction: column-reverse; 355 flex-direction: column-reverse;
357 } 356 }
358 } 357 }
359 // .ch-wrap {
360 // width: 800px;
361 // height: 200px;
362 // margin-bottom: 60px;
363 // background-color: rgb(165, 136, 62);
364 // }
365 358
366 // 公共部分样式 start 359 // 公共部分样式 start
367 .chTable{ 360 .chTable{
......