From b8d1b54e22e8a9e83c4071bf3391ab2833f27641 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 5 May 2019 19:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=8C=96=E5=88=87=E6=8D=A2=E5=BC=80?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css | 8 ++++---- .../src/main/resources/templates/system/role/add.html | 2 +- .../src/main/resources/templates/system/role/edit.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css index 020fbfad5..1ab3a32e2 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css +++ b/ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css @@ -468,7 +468,7 @@ label.error { .toggle-switch input:checked~span:after { left: -webkit-calc(100% - 20px); left: calc(100% - 20px); - background-color: #15c377 + background-color: #33cabb } .toggle-switch.switch-solid span { @@ -478,12 +478,12 @@ label.error { top: -2px; } .switch-solid input:checked~span { - background-color: #15c377; - border-color: #15c377 + background-color: #33cabb; + border-color: #33cabb } .switch-solid input:checked~span:after { background-color: #fff; - color: #15c377 + color: #33cabb } /** 遮罩层 **/ diff --git a/ruoyi-admin/src/main/resources/templates/system/role/add.html b/ruoyi-admin/src/main/resources/templates/system/role/add.html index 3a10e6815..18a915343 100644 --- a/ruoyi-admin/src/main/resources/templates/system/role/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/role/add.html @@ -120,7 +120,7 @@ var roleName = $("input[name='roleName']").val(); var roleKey = $("input[name='roleKey']").val(); var roleSort = $("input[name='roleSort']").val(); - var status = $("input[name='status']").is(':checked') == true ? 0 : 1; + var status = $("input[id='status']").is(':checked') == true ? 0 : 1; var remark = $("input[name='remark']").val(); var menuIds = $.tree.getCheckedNodes(); $.ajax({ diff --git a/ruoyi-admin/src/main/resources/templates/system/role/edit.html b/ruoyi-admin/src/main/resources/templates/system/role/edit.html index 246213bbf..ca245ce1b 100644 --- a/ruoyi-admin/src/main/resources/templates/system/role/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/role/edit.html @@ -122,7 +122,7 @@ var roleName = $("input[name='roleName']").val(); var roleKey = $("input[name='roleKey']").val(); var roleSort = $("input[name='roleSort']").val(); - var status = $("input[name='status']").is(':checked') == true ? 0 : 1; + var status = $("input[id='status']").is(':checked') == true ? 0 : 1; var remark = $("input[name='remark']").val(); var menuIds = $.tree.getCheckedNodes(); $.ajax({