修改模板

This commit is contained in:
邹景立 2022-05-16 01:48:40 +08:00
parent 00de87a5ef
commit 0e7beb247c
5 changed files with 39 additions and 35 deletions

View File

@ -1,38 +1,38 @@
<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="UserTable">
<div class="layui-card-body padding-left-40">
<fieldset>
<fieldset class="layui-bg-gray">
<legend><b class="layui-badge think-bg-violet">用户账号</b></legend>
<div class="layui-row layui-col-space15">
<div class="layui-row layui-col-space15">
<div class="layui-col-xs2 text-center">
<input type="hidden" name="headimg" value="{$vo.headimg|default=''}">
<script>$('[name=headimg]').uploadOneImage();</script>
</div>
<div class="layui-col-xs5">
<label class="block relative">
<span class="help-label"><b>登录账号</b>Login Username</span>
{if isset($vo) and isset($vo.username)}
<input disabled value='{$vo.username|default=""}' required class="layui-input think-bg-gray">
{else}
<input name="username" value='{$vo.username|default=""}' required pattern="^.{4,}$" placeholder="请输入登录账号" class="layui-input">
{/if}
<span class="help-block">登录账号不能重复并且创建后不能再次修改哦。</span>
</label>
</div>
<div class="layui-col-xs5">
<label class="block relative">
<span class="help-label"><b>用户名称</b>User Nickname</span>
<input name="nickname" value='{$vo.nickname|default=""}' required placeholder="请输入用户名称" class="layui-input">
<span class="help-block">用于区分用户数据的用户名称,请尽量不要重复。</span>
</label>
</div>
<div class="layui-col-xs2 text-center padding-top-15">
<input type="hidden" name="headimg" value="{$vo.headimg|default=''}">
<script>$('[name=headimg]').uploadOneImage();</script>
</div>
<div class="layui-col-xs5">
<label class="block relative">
<span class="help-label"><b>登录账号</b>Login Username</span>
{if isset($vo) and isset($vo.username)}
<input disabled value='{$vo.username|default=""}' required class="layui-input think-bg-gray">
{else}
<input name="username" value='{$vo.username|default=""}' required pattern="^.{4,}$" placeholder="请输入登录账号" class="layui-input">
{/if}
<span class="help-block">登录账号不能重复并且创建后不能再次修改哦。</span>
</label>
</div>
<div class="layui-col-xs5">
<label class="block relative">
<span class="help-label"><b>用户名称</b>User Nickname</span>
<input name="nickname" value='{$vo.nickname|default=""}' required placeholder="请输入用户名称" class="layui-input">
<span class="help-block">用于区分用户数据的用户名称,请尽量不要重复。</span>
</label>
</div>
</div>
</fieldset>
{if !empty($bases) || !empty($authorizes)}
<fieldset>
<fieldset class="layui-bg-gray">
<legend><b class="layui-badge think-bg-violet">用户权限</b></legend>
{if !empty($bases)}
<div class="layui-form-item">
@ -71,7 +71,7 @@
</fieldset>
{/if}
<fieldset>
<fieldset class="layui-bg-gray">
<legend><b class="layui-badge think-bg-violet">用户资料</b></legend>
<div class="layui-row layui-col-space15">
<div class="layui-col-xs4">

View File

@ -99,7 +99,7 @@
<div class="goods-item-box">
<div class="flex flex-wrap">
<fieldset>
<fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">商品返利配置</span></legend>
<div>
{foreach ['非返利商品,其代理不会获得奖励','是返利商品,其代理将会获得奖励'] as $k => $v}
@ -110,7 +110,7 @@
{/if}{/foreach}
</div>
</fieldset>
<fieldset>
<fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">入会礼包配置</span></legend>
<div>
{foreach ['非入会礼包,购买后不会升级等级','是入会礼包,购买后升级会员等级'] as $k=>$v}
@ -122,7 +122,7 @@
</div>
</fieldset>
<!--{notempty name='upgrades'}-->
<fieldset>
<fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">升级用户等级</span></legend>
<label>
<select class="layui-select" lay-filter="vip_upgrade" name="vip_upgrade">
@ -136,7 +136,7 @@
</label>
</fieldset>
<!--{/notempty}-->
<fieldset>
<fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">物流配送发货类型</span></legend>
<div>
{foreach ['虚拟商品,无需物流配送','实物商品,需要物流配送'] as $k=>$v}
@ -148,7 +148,7 @@
</div>
</fieldset>
<!--{notempty name='discounts'}-->
<fieldset>
<fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">用户购买折扣方案</span></legend>
<label>
<select class="layui-select" lay-search name="discount_id">
@ -164,7 +164,7 @@
</fieldset>
<!--{/notempty}-->
<!--{notempty name='upgrades'}-->
<fieldset>
<fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">限制最低购买等级</span></legend>
<label>
<select class="layui-select" name="limit_low_vip">
@ -179,7 +179,7 @@
</label>
</fieldset>
<!--{/notempty}-->
<fieldset>
<fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">商品限购数量</span></legend>
<label>
<input class="layui-input" type="number" min="0" data-blur-number="0" name="limit_max_num" placeholder="请输入商品限购数量" value="{$vo.limit_max_num|default=0}">

View File

@ -26,6 +26,10 @@ fieldset {
padding: 0 10px;
font-size: 12px;
letter-spacing: 1px;
.layui-badge:last-child {
margin-right: 0;
}
}
.layui-form-item {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long