shuishen
2023-04-02 a088b061f818b215d32a859a6e6677131d67a18f
首页调整
2 files modified
8 ■■■■ changed files
src/components/select/index.vue 3 ●●●● patch | view | raw | blame | history
src/views/home/index.vue 5 ●●●●● patch | view | raw | blame | history
src/components/select/index.vue
@@ -7,7 +7,7 @@
            <i class="el-icon-arrow-down"></i>
        </div>
        <!-- 下拉框大盒子 -->
        <div :class="{ 'options-box-show': !optionsShow, 'options-box-hide': optionsShow, issel: options.length >= 4 }"
        <div :class="{ 'options-box-show': !optionsShow && options.length, 'options-box-hide': optionsShow, issel: options.length >= 4 }"
            class="select-options">
            <!-- 下拉框 -->
            <div @click="cutValue(item, index)" v-for="(item, index) in options" :key="index">{{ item[optionsName] }}</div>
@@ -120,6 +120,7 @@
    }
    .select-options {
        display: none;
        width: 100%;
        max-height: 140px;
        overflow: auto;
src/views/home/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-04-02 16:49:16
 * @LastEditTime: 2023-04-02 17:22:25
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -848,6 +848,7 @@
        areaSelect (item) {
            this.areaCheckValue = item.name
            this.housingOptions = []
            this.$EventBus.$emit('mapClearLayer', {
                layerName: 'polygonLayer',
@@ -856,8 +857,6 @@
            if (item.name == "全部") {
                this.initAreaOptionLayer()
                this.housingOptions = []
            } else {
                this.getPoliceStationTree(3, item.id)