From c0c034b3ef0fdf0fd9c802d5984dbd717db6817a Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 06 九月 2023 17:54:55 +0800 Subject: [PATCH] 定制桌面. --- src/pages/settings/views/NetSettings.vue | 35 ++++++++++++++++++----------------- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/pages/settings/views/NetSettings.vue b/src/pages/settings/views/NetSettings.vue index bb45387..b23ecd6 100644 --- a/src/pages/settings/views/NetSettings.vue +++ b/src/pages/settings/views/NetSettings.vue @@ -384,7 +384,6 @@ }, methods: { minusPrefix() { - debugger this.ipv6Form.prefix }, switchNetCard(item) { @@ -484,6 +483,7 @@ this.configLoading = true if (this.wireForm.ip !== this.originalConfig.ip) { this.configLoading = false + console.log("set time out") var changeIPTimer = setTimeout(() => { this.$alert( '<strong>鎮ㄥ凡淇敼浜嗘湇鍔″櫒ip, 璇烽噸鏂扮櫥褰�</strong><a target="_parent" href="' + @@ -510,14 +510,7 @@ }) } }) - .catch((err) => { - clearTimeout(changeIPTimer) - this.configLoading = false - this.$notify({ - type: "error", - message: "淇濆瓨澶辫触" - }) - }) + .catch((err) => {}) this.$message({ message: "鎿嶄綔瀹屾垚,璇风◢鍚�", type: "success" @@ -593,11 +586,11 @@ width: 100%; } .wire { - width: 456px; + // width: 456px; margin: 0 auto; } .wire-detail { - width: 456px; + // width: 456px; margin: 0 auto; .title { font-size: 16px; @@ -635,7 +628,7 @@ } } .net-set { - max-width: 456px; + // max-width: 456px; margin: 0 auto; .title { font-size: 16px; @@ -808,7 +801,7 @@ max-width: none !important; } .wifi-set { - max-width: 456px; + // max-width: 456px; margin: 0 auto; .switch-bar { background: #f2f2f7; @@ -859,7 +852,7 @@ } } .wifi-detail { - max-width: 454px; + // max-width: 454px; margin: 0 auto; transition: all 0.3s linear 0s; .general-box { @@ -871,10 +864,15 @@ margin-bottom: 20px; &.fold { height: 342px; + + .in-title { + display: flex; + justify-content: space-between; + } + .icon-fold { display: inline-block; font-size: 14px; - margin-left: 360px; transition: all 0.3s linear 0s; cursor: pointer; } @@ -966,14 +964,17 @@ align-items: center; .el-switch__core { height: 14px; - background-color: var(--colorCard) !important; - border-color: var(--colorCard) !important; } .el-switch.is-checked .el-switch__core::after { left: 100%; margin-left: -12px; } + .el-switch.is-checked .el-switch__core { + background-color: var(--colorCard) !important; + border-color: var(--colorCard) !important; + } + .el-switch__core:after { content: ""; position: absolute; -- Gitblit v1.8.0