From a3f357e8a60443b74b64c7479113c68eb35ce1f5 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期五, 15 七月 2022 19:44:57 +0800 Subject: [PATCH] 控制轮询 --- src/pages/settings/views/NetSettings.vue | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/pages/settings/views/NetSettings.vue b/src/pages/settings/views/NetSettings.vue index 4a76ee3..fa61b0f 100644 --- a/src/pages/settings/views/NetSettings.vue +++ b/src/pages/settings/views/NetSettings.vue @@ -237,7 +237,7 @@ <div class="ad"> <i class="el-icon-circle-plus-outline" - @click="+ipv6Form.prefix++;" + @click="+ipv6Form.prefix++" ></i> </div> <div class="ad"> @@ -720,11 +720,11 @@ width: 100%; } .wire { - width: 456px; + // width: 456px; margin: 0 auto; } .wire-detail { - width: 456px; + // width: 456px; margin: 0 auto; .title { font-size: 16px; @@ -762,7 +762,7 @@ } } .net-set { - max-width: 456px; + // max-width: 456px; margin: 0 auto; .title { font-size: 16px; @@ -938,7 +938,7 @@ max-width: none !important; } .wifi-set { - max-width: 456px; + // max-width: 456px; margin: 0 auto; .switch-bar { background: #f2f2f7; @@ -989,7 +989,7 @@ } } .wifi-detail { - max-width: 454px; + // max-width: 454px; margin: 0 auto; transition: all 0.3s linear 0s; .general-box { @@ -1001,10 +1001,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; } @@ -1096,14 +1101,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