60781c47 by 杨威

楼盘表调整

1 parent 7b311771
1 <template> 1 <template>
2 <div class="lpbContent-wrap" ref="lpbContentWrap"> 2 <div class="lpbContent-wrap" ref="lpbContentWrap">
3 <div 3 <div
4 :class=" 4 :class="lpbData.ljzs.length == 0 ? ' lpbContent' : 'lpbContent'"
5 lpbData.ljzs.length == 0 ? 'column-reverse lpbContent' : 'lpbContent'
6 "
7 ref="lpbContent" 5 ref="lpbContent"
8 v-loading="loading" 6 v-loading="loading"
9 > 7 >
...@@ -73,12 +71,12 @@ ...@@ -73,12 +71,12 @@
73 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span> 71 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
74 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span> 72 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
75 <ul class="dyzt"> 73 <ul class="dyzt">
76 <li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li> 74 <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
77 <li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li> 75 <li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
78 <li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li> 76 <li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
79 <li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li> 77 <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
80 <li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li> 78 <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
81 <li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li> 79 <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
82 </ul> 80 </ul>
83 </td> 81 </td>
84 </tr> 82 </tr>
...@@ -139,12 +137,12 @@ ...@@ -139,12 +137,12 @@
139 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span> 137 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
140 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span> 138 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
141 <ul class="dyzt"> 139 <ul class="dyzt">
142 <li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li> 140 <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
143 <li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li> 141 <li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
144 <li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li> 142 <li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
145 <li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li> 143 <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
146 <li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li> 144 <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
147 <li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li> 145 <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
148 </ul> 146 </ul>
149 </td> 147 </td>
150 </tr> 148 </tr>
...@@ -211,12 +209,12 @@ ...@@ -211,12 +209,12 @@
211 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span> 209 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
212 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span> 210 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
213 <ul class="dyzt"> 211 <ul class="dyzt">
214 <li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li> 212 <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
215 <li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li> 213 <li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
216 <li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li> 214 <li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
217 <li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li> 215 <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
218 <li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li> 216 <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
219 <li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li> 217 <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
220 </ul> 218 </ul>
221 </td> 219 </td>
222 </tr> 220 </tr>
...@@ -265,12 +263,12 @@ ...@@ -265,12 +263,12 @@
265 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span> 263 <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
266 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span> 264 <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
267 <ul class="dyzt"> 265 <ul class="dyzt">
268 <li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li> 266 <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
269 <li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li> 267 <li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
270 <li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li> 268 <li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
271 <li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li> 269 <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
272 <li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li> 270 <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
273 <li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li> 271 <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
274 </ul> 272 </ul>
275 </td> 273 </td>
276 </tr> 274 </tr>
...@@ -445,7 +443,7 @@ export default { ...@@ -445,7 +443,7 @@ export default {
445 this.getLpb(this.zrzbsm, "1"); 443 this.getLpb(this.zrzbsm, "1");
446 setTimeout(() => { 444 setTimeout(() => {
447 //tab-content宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight 445 //tab-content宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight
448 this.lpbContentWidth = this.$store.state.contentWidth - 34 - 20; 446 this.lpbContentWidth = this.$store.state.contentWidth - 39 - 20;
449 //让滚动条滚动至最下面 -6是横向滚动条的高度 447 //让滚动条滚动至最下面 -6是横向滚动条的高度
450 this.$refs.lpbContent.scrollTop = 448 this.$refs.lpbContent.scrollTop =
451 this.$refs.lpbContent.scrollHeight - 449 this.$refs.lpbContent.scrollHeight -
......