[前端] 修改checkbox顔色
This commit is contained in:
parent
54e295628f
commit
a620eae1a8
@ -875,7 +875,7 @@
|
||||
}
|
||||
|
||||
function setAuthPage() {
|
||||
$(`#accAuthPageTable input[type=checkbox]`).prop('disabled', false);
|
||||
$(`#accAuthPageTable input[type=checkbox]`).removeClass();
|
||||
$.each($(`#accAuthPageTable input[type=checkbox]:checked`), function (i, v) {
|
||||
$(v).click();
|
||||
});
|
||||
@ -886,7 +886,7 @@
|
||||
|
||||
$.each(pageAct.authCode, function (i, v) {
|
||||
$(`#accAuthPageTable input[id=${v}]`).click();
|
||||
$(`#accAuthPageTable input[id=${v}]`).attr('disabled', true);
|
||||
$(`#accAuthPageTable input[id=${v}]`).addClass("disabledBox");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,8 @@ input.toggle:checked { background: #97c193; }
|
||||
|
||||
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }
|
||||
|
||||
input.disabledBox { pointer-events: none; }
|
||||
|
||||
/* js-tree */
|
||||
.jstree-node { padding-bottom: 3px; }
|
||||
.jstree-default-dark { background-color: transparent; }
|
||||
|
Loading…
Reference in New Issue
Block a user