From a4904c4b4f2f47c3187ebf709b0eccabb49017cb Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期五, 10 二月 2023 14:58:21 +0800 Subject: [PATCH] 样式调整 --- src/views/systemSetting/device/grid/index.vue | 66 ++++++++++++++++----------------- 1 files changed, 32 insertions(+), 34 deletions(-) diff --git a/src/views/systemSetting/device/grid/index.vue b/src/views/systemSetting/device/grid/index.vue index 8f2c153..a022f16 100644 --- a/src/views/systemSetting/device/grid/index.vue +++ b/src/views/systemSetting/device/grid/index.vue @@ -1,47 +1,45 @@ <template> - <div class="userList"> - <myMain :refresh="isFresh" :keyword="keyword" @resetFresh="resetFresh" /> - </div> + <div class="userList"> + <myMain :refresh="isFresh" :keyword="keyword" @resetFresh="resetFresh" /> + </div> </template> <script> -import myHeader from "./components/header" -import myMain from "./components/main" +import myHeader from "./components/header"; +import myMain from "./components/main"; export default { - components: { - myHeader, - myMain + components: { + myHeader, + myMain, + }, + data() { + return { + isFresh: false, + keyword: "", + }; + }, + created() {}, + methods: { + // 鑾峰彇鎼滅储杩斿洖缁撴灉 + getSearch({ text }) { + this.keyword = text; + this.isFresh = true; }, - data() { - return { - isFresh: false, - keyword: '', - } + // 鑾峰彇鍒锋柊缁撴灉 + changeDialog({ flag }) { + this.isFresh = flag; }, - created(){ - + // 閲嶇疆isFresh + resetFresh({ flag }) { + this.isFresh = flag; }, - methods: { - // 鑾峰彇鎼滅储杩斿洖缁撴灉 - getSearch({ text }) { - this.keyword = text; - this.isFresh = true; - }, - // 鑾峰彇鍒锋柊缁撴灉 - changeDialog({ flag }) { - this.isFresh = flag; - }, - // 閲嶇疆isFresh - resetFresh({ flag }) { - this.isFresh = flag; - }, - } -} + }, +}; </script> <style lang="scss" scoped> .userList { - text-align: left; - padding: 10px 20px; - color: #4b9bb7; + text-align: left; + padding: 10px 20px; + // color: #4b9bb7; border: 1px solid #ccc; } </style> -- Gitblit v1.8.0