1
guanqb
2022-11-04 539a7143871917a2e33f4f1953f1de7f2a729635
1
1 files modified
19 ■■■■■ changed files
src/views/home/components/leftContainer.vue 19 ●●●●● patch | view | raw | blame | history
src/views/home/components/leftContainer.vue
@@ -41,7 +41,7 @@
                </div>
            </div>
            <div id="PersonEcharts" :class="[peopletype == 0 ? 'echarts-box':'people-table']"></div>
            <div id="PersonEcharts" class="echarts-box"></div>
            <!-- :class="{'people-table' : peopletype == 1 }" -->
            <!-- <div id="keyPersonEcharts" class="people-table" v-show="peopletype == 1"></div> -->
@@ -479,18 +479,18 @@
        peopleTabClick (type) {
            this.peopletype = type
            homePersonmyChart.off('click')
            homePersonmyChart.dispose()
            this.$nextTick(() => {
                if (type == 0) {
                    homePersonmyChart.dispose()
                    this.initPersonEcharts()
                    homePersonmyChart.off('click')
                    this.clickPeopleChart()
                } else {
                    homePersonmyChart.dispose()
                    this.initkeyPersonEcharts()
                    homePersonmyChart.off('click')
                    this.clickkeyPersonChart()
                }
                homePersonmyChart.resize()
            })
        },
@@ -825,13 +825,6 @@
            margin-left: 108px;
        }
        .people-table {
            height: calc(100% - 40px);
            height: 250px;
            width: 400px;
            overflow: hidden;
        }
        .back {
            color: #fff;
            position: absolute;
@@ -888,6 +881,7 @@
            .choosed {
                color: #fff;
            }
            & > div:nth-of-type(2) {
                font-size: 14px;
            }
@@ -923,7 +917,6 @@
        .echarts-box {
            flex: 1;
            width: 100%;
            height: calc(100% - 104px);
        }
        .sub-tab + .echarts-box {