mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-23 18:00:29 +08:00
Update config.html
This commit is contained in:
parent
333b600613
commit
42d7bda1aa
@ -50,36 +50,36 @@
|
|||||||
{foreach $types as $k => $t}
|
{foreach $types as $k => $t}
|
||||||
<tr class="think-bg-white">
|
<tr class="think-bg-white">
|
||||||
<td class="nowrap">
|
<td class="nowrap">
|
||||||
{php} $key = 'items['.$k.']["state"]'; {/php}
|
{php} $key = 'transfer['.$k.']["state"]'; {/php}
|
||||||
<input type="hidden" name="{$key}" value="0">
|
<input type="hidden" name="{$key}" value="0">
|
||||||
{if isset($data['items'][$k]['state']) and $data['items'][$k]['state'] eq 1}
|
{if isset($data['transfer'][$k]['state']) and $data['transfer'][$k]['state'] eq 1}
|
||||||
<input checked type="checkbox" name="{$key}" value="1" lay-skin="primary" title="{$t}">
|
<input checked type="checkbox" name="{$key}" value="1" lay-skin="primary" title="{$t}">
|
||||||
{else}
|
{else}
|
||||||
<input type="checkbox" name="{$key}" value="1" lay-skin="primary" title="{$t}">
|
<input type="checkbox" name="{$key}" value="1" lay-skin="primary" title="{$t}">
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center" style="width:80px">
|
<td class="text-center" style="width:80px">
|
||||||
{php} $key = 'items['.$k.']["audit"]'; {/php}
|
{php} $key = 'transfer['.$k.']["audit"]'; {/php}
|
||||||
<input type="hidden" name="{$key}" value="0">
|
<input type="hidden" name="{$key}" value="0">
|
||||||
{if isset($data['items'][$k]['audit']) and $data['items'][$k]['audit'] eq 1}
|
{if isset($data['transfer'][$k]['audit']) and $data['transfer'][$k]['audit'] eq 1}
|
||||||
<input checked type="checkbox" name="{$key}" value="1" lay-skin="switch" lay-text="需审核|免审核">
|
<input checked type="checkbox" name="{$key}" value="1" lay-skin="switch" lay-text="需审核|免审核">
|
||||||
{else}
|
{else}
|
||||||
<input type="checkbox" name="{$key}" value="1" lay-skin="switch" lay-text="需审核|免审核">
|
<input type="checkbox" name="{$key}" value="1" lay-skin="switch" lay-text="需审核|免审核">
|
||||||
{/if}
|
{/if}
|
||||||
{php} $key = 'items['.$k.'][title]'; {/php}
|
{php} $key = 'transfer['.$k.'][title]'; {/php}
|
||||||
<input type="hidden" class="layui-input" name="{$key}" value="{$t}">
|
<input type="hidden" class="layui-input" name="{$key}" value="{$t}">
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<label>
|
<label>
|
||||||
{php} $key = 'items['.$k.'][minAmount]'; {/php}
|
{php} $key = 'transfer['.$k.'][minAmount]'; {/php}
|
||||||
<input placeholder="¥" class="layui-input" data-blur-number="2" name="{$key}" value="{$data['items'][$k]['minAmount'] ?? '1.00'}">
|
<input placeholder="¥" class="layui-input" data-blur-number="2" name="{$key}" value="{$data['transfer'][$k]['minAmount'] ?? '1.00'}">
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">-</td>
|
<td class="text-center">-</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<label>
|
<label>
|
||||||
{php} $key = 'items['.$k.'][maxAmount]'; {/php}
|
{php} $key = 'transfer['.$k.'][maxAmount]'; {/php}
|
||||||
<input placeholder="¥" class="layui-input" data-blur-number="2" name="{$key}" value="{$data['items'][$k]['maxAmount'] ?? '2000.00'}">
|
<input placeholder="¥" class="layui-input" data-blur-number="2" name="{$key}" value="{$data['transfer'][$k]['maxAmount'] ?? '2000.00'}">
|
||||||
</label>
|
</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user