mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修改checkbox样式
This commit is contained in:
parent
d81cc9cba9
commit
3a916029d0
@ -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}
|
||||
|
@ -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
Loading…
x
Reference in New Issue
Block a user