WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-04-02 a12f4ad9fe477927d9ecb57ddb62067b44076f1b
调整筛选弹窗显示
2 files modified
12 ■■■■■ changed files
plugins/filter/CFilter.vue 10 ●●●●● patch | view | raw | blame | history
plugins/filter/cFilter.scss 2 ●●●●● patch | view | raw | blame | history
plugins/filter/CFilter.vue
@@ -44,6 +44,7 @@
            <scroll-view
                class="c-filter-drawer-list"
                :scrollY="true"
                v-if="drawerDisplay"
            >
                <view
                    class="box"
@@ -112,6 +113,7 @@
        return {
            filterRes: {},
            drawerShow: false,
            drawerDisplay: false,
            // 面板项有已选
            itemsFilled: false,
            // 本次打开是否有改变
@@ -121,6 +123,11 @@
    methods: {
        handleOpen() {
            this.drawerShow = true;
            this.$nextTick(() => {
                setTimeout(() => {
                    this.drawerDisplay = true;
                }, 80);
            });
        },
        handleBarChange(name, value) {
            this.$set(this.filterRes, name, value);
@@ -155,6 +162,9 @@
        },
        handleFinish() {
            this.drawerShow = false;
            this.$nextTick(() => {
                this.drawerDisplay = false;
            });
            // 有项目改变时,发送变化
            if (this.itemsChanged) {
                this.itemsChanged = false;
plugins/filter/cFilter.scss
@@ -64,6 +64,8 @@
            }
        }
        .c-filter-drawer-btn {
            @include position(absolute, n 0 0 n);
            width: 100%;
            height: 90px;
            @include flexbox(flex, center center);
            .at-button {