const _Page = require("../../__antmove/component/componentClass.js")("Page");
my.setStorageSync({
    key: "activeComponent",
    data: {
        is: "pages/drawer/index"
    }
});

_Page({
    data: {
        showLeft1: false,
        showLeft2: false,
        showRight1: false,
        showRigh2: false
    },

    toggleLeft1() {
        this.setData({
            showLeft1: !this.data.showLeft1
        });
    },

    toggleLeft2() {
        this.setData({
            showLeft2: !this.data.showLeft2
        });
    },

    toggleRight1() {
        this.setData({
            showRight1: !this.data.showRight1
        });
    },

    toggleRight2() {
        this.setData({
            showRight2: !this.data.showRight2
        });
    }
});
