修改模板

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

View File

@ -99,7 +99,7 @@
<div class="goods-item-box"> <div class="goods-item-box">
<div class="flex flex-wrap"> <div class="flex flex-wrap">
<fieldset> <fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">商品返利配置</span></legend> <legend><span class="layui-badge think-bg-violet">商品返利配置</span></legend>
<div> <div>
{foreach ['非返利商品,其代理不会获得奖励','是返利商品,其代理将会获得奖励'] as $k => $v} {foreach ['非返利商品,其代理不会获得奖励','是返利商品,其代理将会获得奖励'] as $k => $v}
@ -110,7 +110,7 @@
{/if}{/foreach} {/if}{/foreach}
</div> </div>
</fieldset> </fieldset>
<fieldset> <fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">入会礼包配置</span></legend> <legend><span class="layui-badge think-bg-violet">入会礼包配置</span></legend>
<div> <div>
{foreach ['非入会礼包,购买后不会升级等级','是入会礼包,购买后升级会员等级'] as $k=>$v} {foreach ['非入会礼包,购买后不会升级等级','是入会礼包,购买后升级会员等级'] as $k=>$v}
@ -122,7 +122,7 @@
</div> </div>
</fieldset> </fieldset>
<!--{notempty name='upgrades'}--> <!--{notempty name='upgrades'}-->
<fieldset> <fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">升级用户等级</span></legend> <legend><span class="layui-badge think-bg-violet">升级用户等级</span></legend>
<label> <label>
<select class="layui-select" lay-filter="vip_upgrade" name="vip_upgrade"> <select class="layui-select" lay-filter="vip_upgrade" name="vip_upgrade">
@ -136,7 +136,7 @@
</label> </label>
</fieldset> </fieldset>
<!--{/notempty}--> <!--{/notempty}-->
<fieldset> <fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">物流配送发货类型</span></legend> <legend><span class="layui-badge think-bg-violet">物流配送发货类型</span></legend>
<div> <div>
{foreach ['虚拟商品,无需物流配送','实物商品,需要物流配送'] as $k=>$v} {foreach ['虚拟商品,无需物流配送','实物商品,需要物流配送'] as $k=>$v}
@ -148,7 +148,7 @@
</div> </div>
</fieldset> </fieldset>
<!--{notempty name='discounts'}--> <!--{notempty name='discounts'}-->
<fieldset> <fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">用户购买折扣方案</span></legend> <legend><span class="layui-badge think-bg-violet">用户购买折扣方案</span></legend>
<label> <label>
<select class="layui-select" lay-search name="discount_id"> <select class="layui-select" lay-search name="discount_id">
@ -164,7 +164,7 @@
</fieldset> </fieldset>
<!--{/notempty}--> <!--{/notempty}-->
<!--{notempty name='upgrades'}--> <!--{notempty name='upgrades'}-->
<fieldset> <fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">限制最低购买等级</span></legend> <legend><span class="layui-badge think-bg-violet">限制最低购买等级</span></legend>
<label> <label>
<select class="layui-select" name="limit_low_vip"> <select class="layui-select" name="limit_low_vip">
@ -179,7 +179,7 @@
</label> </label>
</fieldset> </fieldset>
<!--{/notempty}--> <!--{/notempty}-->
<fieldset> <fieldset class="layui-bg-gray">
<legend><span class="layui-badge think-bg-violet">商品限购数量</span></legend> <legend><span class="layui-badge think-bg-violet">商品限购数量</span></legend>
<label> <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}"> <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; padding: 0 10px;
font-size: 12px; font-size: 12px;
letter-spacing: 1px; letter-spacing: 1px;
.layui-badge:last-child {
margin-right: 0;
}
} }
.layui-form-item { .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