修改模板文件

This commit is contained in:
邹景立 2022-03-05 15:31:35 +08:00
parent d54a8edadf
commit e46be7482a
6 changed files with 23 additions and 10 deletions

View File

@ -37,7 +37,7 @@
{if !empty($bases)}
<div class="layui-form-item">
<div class="help-label"><b>角色身份</b>Role Identity</div>
<div class="layui-textarea" style="min-height:auto">
<div class="layui-textarea help-checks">
{foreach $bases as $base}
<label class="think-checkbox">
{if isset($vo.usertype) and $vo.usertype eq $base.code}
@ -53,9 +53,9 @@
{if !empty($authorizes)}
<div class="layui-form-item">
<div class="help-label"><b>访问权限</b>Role Permission</div>
<div class="layui-textarea" style="min-height:auto">
<div class="layui-textarea help-checks">
{if isset($vo.username) and $vo.username eq $superName}
<span class="color-desc">超级用户拥所有访问权限,不需要配置权限。</span>
<span class="color-desc padding-left-5">超级用户拥所有访问权限,不需要配置权限。</span>
{else}{foreach $authorizes as $authorize}
<label class="think-checkbox">
{if in_array($authorize.id, $vo.authorize)}

View File

@ -8,7 +8,7 @@
<!--{notempty name='marks'}-->
<div class="layui-form-item relative block">
<span class="help-label label-required-prev"><b>商品标签</b>Mark Name</span>
<div class="layui-textarea" style="min-height:unset">
<div class="layui-textarea help-checks">
{foreach $marks as $mark}{if isset($vo.marks) && is_array($vo.marks) && in_array($mark, $vo.marks)}
<input checked name="marks[]" title="{$mark}" type="checkbox" value="{$mark}">
{else}
@ -34,7 +34,7 @@
<!--{notempty name='payments'}-->
<div class="layui-form-item relative block">
<span class="help-label label-required-prev"><b>支付方式</b>Goods Payment</span>
<div class="layui-textarea padding-bottom-10" style="min-height:unset">
<div class="layui-textarea help-checks">
{foreach $payments as $payment}{if isset($vo.payment) && is_array($vo.payment) && in_array($payment.code, $vo.payment)}
<input checked name="payment[]" title="{$payment.name}" type="checkbox" value="{$payment.code}">
{else}

View File

@ -255,11 +255,20 @@
}
}
.help-checks:not(td) {
padding: 10px 0 10px 10px;
min-height: unset;
border-radius: @BoxBorderRadius;
// background: linear-gradient(-113deg, #EEEEEE, #EEEEEE) !important;
#flex();
#flexWrap(wrap);
}
.help-images:not(td) {
color: #333;
padding: 10px 0 0 10px !important;
min-height: unset;
background: linear-gradient(-113deg, #EEEEEE, #EEEEEE) !important;
border-radius: @BoxBorderRadius;
// background: linear-gradient(-113deg, #EEEEEE, #EEEEEE) !important;
#flex();
#flexWrap(wrap);
@ -1179,6 +1188,10 @@ label.think-checkbox {
background: linear-gradient(-125deg, #ff7d7d, #fb2c95) !important
}
&none {
background: none !important;
}
&gray {
color: #333;
background: linear-gradient(-113deg, #EEEEEE, #EEEEEE) !important

View File

@ -353,7 +353,7 @@ fieldset {
.layui-form-item {
.layui-form-checkbox {
margin-top: 0;
margin: 4px;
}
.layui-input.text-center:not([type=number]) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long