From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 20 七月 2022 15:05:58 +0800 Subject: [PATCH] 修复国标配置的bug --- src/pages/vindicate/index/App.vue | 42 +++++++++++++++++++++++++++++++++++------- 1 files changed, 35 insertions(+), 7 deletions(-) diff --git a/src/pages/vindicate/index/App.vue b/src/pages/vindicate/index/App.vue index ee839c1..df6d8ed 100644 --- a/src/pages/vindicate/index/App.vue +++ b/src/pages/vindicate/index/App.vue @@ -26,13 +26,13 @@ style="width: 100%" ref="view_0" ></updateSettings> - <!-- <back-up v-if="activePage == 3" style="width: 100%"></back-up> --> + <back-up v-if="activePage == 3" style="width: 100%"></back-up> <restartSettings v-if="activePage == 2" style="width: 100%" ref="view_2" ></restartSettings> - <sysInfo v-if="activePage == 3" style="width: 100%" ref="view_3"></sysInfo> + <sysInfo v-if="activePage == 4" style="width: 100%" ref="view_3"></sysInfo> </div> <div @@ -99,7 +99,7 @@ import { getUrlKey } from "@/api/utils"; import systemClean from "../views/systemClean"; import updateSettings from "../views/updateSettings"; -// import BackUp from "../views/backUp"; +import BackUp from "../views/backUp"; import restartSettings from "../views/restartSettings"; import sysInfo from "../views/sysInfo"; export default { @@ -107,7 +107,7 @@ components: { systemClean, updateSettings, - // BackUp, + BackUp, restartSettings, sysInfo, }, @@ -126,11 +126,18 @@ img_white: "/images/vindicate/绯荤粺娓呯悊-鐧�.png", img_welcome: "/images/vindicate/绯荤粺娓呯悊.png", }, + { name: "閲嶅惎璁剧疆", img_black: "/images/vindicate/閲嶅惎璁剧疆-榛�.png", img_white: "/images/vindicate/閲嶅惎璁剧疆-鐧�.png", img_welcome: "/images/vindicate/閲嶅惎璁剧疆.png", + }, + { + name: "澶囦唤杩樺師", + img_black: "/images/vindicate/绯荤粺娓呯悊-榛�.png", + img_white: "/images/vindicate/绯荤粺娓呯悊-鐧�.png", + img_welcome: "/images/vindicate/绯荤粺娓呯悊.png", }, { name: "绯荤粺淇℃伅", @@ -222,6 +229,27 @@ return this.searchArr.filter((item) => { return item.name.indexOf(this.searchText.toUpperCase()) > -1; }); + } + }, + }, + watch: { + showWelcome(newVal) { + if (newVal) { + // 闅愯棌杩斿洖鎸夋寜閽� + window.parent.postMessage( + { + msg: "hiddenBack", + }, + "*" + ); + } else { + //鏄剧ず杩斿洖鎸夐挳 + window.parent.postMessage( + { + msg: "showBack", + }, + "*" + ); } }, }, @@ -364,10 +392,10 @@ background-color: rgba(251, 251, 255, 0.1); backdrop-filter: blur(4px); float: left; - width: 442px; + width: 288px; height: 190px; - margin: 0 15px; - margin-bottom: 30px; + margin: 0 10px; + margin-bottom: 20px; border-radius: 15px; display: flex; justify-content: center; -- Gitblit v1.8.0