修改checkbox样式

This commit is contained in:
Anyon 2022-03-07 12:42:29 +08:00
parent d81cc9cba9
commit 3a916029d0
4 changed files with 7 additions and 7 deletions

View File

@ -28,11 +28,11 @@
<div class="layui-form-item relative block">
<span class="help-label"><b>用户提现状态</b>Transfer Status</span>
<div class="layui-textarea" style="min-height:unset">
<div class="layui-textarea help-checks">
{php} $data['status'] = $data['status'] ?? 0; {/php}
{foreach ['关闭返利提现', '开启返利提现'] as $k => $v}
{if $data.status eq $k}
<input checked class="layui-input layui-bg-gray" name="status" title="{$v}" type="checkbox" value="{$k}">
<input checked class="layui-input layui-bg-gray" name="status" title="{$v}" type="radio" value="{$k}">
{else}
<input class="layui-input layui-bg-gray" name="status" title="{$v}" type="radio" value="{$k}">
{/if}{/foreach}

View File

@ -387,12 +387,12 @@ fieldset {
}
}
.layui-form-switch {
line-height: 24px;
.layui-form-switch em {
white-space: nowrap;
}
.layui-form-onswitch em {
white-space: nowrap;
margin-left: 0;
}
.layui-form-radio {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long