WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-04-08 58f1c9e8d8bc52ea71c6a03e18472fa401ad8ad8
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;