60781c47 by 杨威

楼盘表调整

1 parent 7b311771
<template>
<div class="lpbContent-wrap" ref="lpbContentWrap">
<div
:class="
lpbData.ljzs.length == 0 ? 'column-reverse lpbContent' : 'lpbContent'
"
:class="lpbData.ljzs.length == 0 ? ' lpbContent' : 'lpbContent'"
ref="lpbContent"
v-loading="loading"
>
......@@ -73,12 +71,12 @@
<span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
<span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
<ul class="dyzt">
<li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li>
<li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
</ul>
</td>
</tr>
......@@ -139,12 +137,12 @@
<span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
<span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
<ul class="dyzt">
<li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li>
<li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
</ul>
</td>
</tr>
......@@ -211,12 +209,12 @@
<span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
<span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
<ul class="dyzt">
<li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li>
<li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
</ul>
</td>
</tr>
......@@ -265,12 +263,12 @@
<span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'"></span>
<span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" ></span>
<ul class="dyzt">
<li style="background-color:#6EDEE1" v-show="hs.qqzt!='0'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt!='0'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt!='0'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt!='0'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt!='0'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt!='0'"></li>
<li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'"></li>
<li style="background-color:#8ADC88" v-show="hs.bazt=='1'"></li>
<li style="background-color:#FF8282" v-show="hs.dyzt=='1'"></li>
<li style="background-color:#D7CECF" v-show="hs.cfzt=='1'"></li>
<li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'"></li>
<li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'"></li>
</ul>
</td>
</tr>
......@@ -445,7 +443,7 @@ export default {
this.getLpb(this.zrzbsm, "1");
setTimeout(() => {
//tab-content宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight
this.lpbContentWidth = this.$store.state.contentWidth - 34 - 20;
this.lpbContentWidth = this.$store.state.contentWidth - 39 - 20;
//让滚动条滚动至最下面 -6是横向滚动条的高度
this.$refs.lpbContent.scrollTop =
this.$refs.lpbContent.scrollHeight -
......