修改后台模板样式

This commit is contained in:
Anyon 2020-09-25 22:05:52 +08:00
parent 6a44f51de5
commit e371e10c66
8 changed files with 11 additions and 33 deletions

View File

@ -14,13 +14,13 @@
<h2 class="notselect">系统管理</h2> <h2 class="notselect">系统管理</h2>
<ul> <ul>
<li class="username"> <li class="username">
<label> <label class="label-required-null">
<i class="layui-icon layui-icon-username"></i> <i class="layui-icon layui-icon-username"></i>
<input class="layui-input" required pattern="^\S{4,}$" name="username" autofocus autocomplete="off" placeholder="登录账号" title="请输入登录账号"> <input class="layui-input" required pattern="^\S{4,}$" name="username" autofocus autocomplete="off" placeholder="登录账号" title="请输入登录账号">
</label> </label>
</li> </li>
<li class="password"> <li class="password">
<label> <label class="label-required-null">
<i class="layui-icon layui-icon-password"></i> <i class="layui-icon layui-icon-password"></i>
<input class="layui-input" required pattern="^\S{4,}$" name="password" maxlength="32" type="password" autocomplete="off" placeholder="登录密码" title="请输入登录密码"> <input class="layui-input" required pattern="^\S{4,}$" name="password" maxlength="32" type="password" autocomplete="off" placeholder="登录密码" title="请输入登录密码">
</label> </label>

View File

@ -19,9 +19,9 @@
<tr> <tr>
<td class='nowrap'> <td class='nowrap'>
{notempty name='vo.cover'} {notempty name='vo.cover'}
<img data-tips-image style="width:auto;height:40px" src="{$vo.cover|default=''}" class="margin-right-5" alt="img"> <div class="headimg" data-tips-image data-lazy-src="{$vo.cover}"></div>
{/notempty} {/notempty}
<div class="inline-block text-top"> <div class="inline-block">
商品编号:{$vo.code|default='--'}<br> 商品编号:{$vo.code|default='--'}<br>
商品名称:{$vo.name|default='--'}<br> 商品名称:{$vo.name|default='--'}<br>
</div> </div>

View File

@ -34,18 +34,14 @@
</td> </td>
<td class="nowrap relative"> <td class="nowrap relative">
<div> <div>
<div class="headimg"> <div class="headimg" data-tips-image data-lazy-src="{$vo.fromer.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
<img alt="img" data-tips-image src="{$vo.fromer.headimg|default='__ROOT__/static/theme/img/headimg.png'}">
</div>
<div class="inline-block sub-span-blue"> <div class="inline-block sub-span-blue">
推荐会员:{$vo.fromer.nickname|default='--'}<br> 推荐会员:{$vo.fromer.nickname|default='--'}<br>
推荐手机:<span>{$vo.fromer.phone|default='--'}</span><br> 推荐手机:<span>{$vo.fromer.phone|default='--'}</span><br>
</div> </div>
</div> </div>
<div> <div>
<div class="headimg"> <div class="headimg" data-tips-image data-lazy-src="{$vo.member.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
<img alt="img" data-tips-image src="{$vo.member.headimg|default='__ROOT__/static/theme/img/headimg.png'}">
</div>
<div class="inline-block sub-span-blue"> <div class="inline-block sub-span-blue">
会员昵称:{$vo.member.nickname|default='--'}<br> 会员昵称:{$vo.member.nickname|default='--'}<br>
会员手机:<span>{$vo.member.phone|default='--'}</span><br> 会员手机:<span>{$vo.member.phone|default='--'}</span><br>
@ -95,9 +91,7 @@
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty} {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div> </div>
</div> </div>
{/block} {/block}

View File

@ -33,9 +33,7 @@
<label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label> <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
</td> </td>
<td class="nowrap relative"> <td class="nowrap relative">
<div class="headimg" style="width:56px;height:56px"> <div class="headimg" style="width:56px;height:56px" data-tips-image data-lazy-src="{$vo.member.headimg|default='__ROOT__/static/theme/img/headimg.png'}"></div>
<img data-tips-image src="{$vo.member.headimg|default='__ROOT__/static/theme/img/headimg.png'}" alt="img">
</div>
<div class="inline-block sub-span-blue"> <div class="inline-block sub-span-blue">
会员昵称:{$vo.member.nickname|default='--'}<br> 会员昵称:{$vo.member.nickname|default='--'}<br>
会员手机:<span>{$vo.member.phone|default='--'}</span><br> 会员手机:<span>{$vo.member.phone|default='--'}</span><br>
@ -74,14 +72,4 @@
</div> </div>
</div> </div>
<style>
.think-badge-middle .layui-badge {
width: 1em;
height: 68px;
padding-top: 5px;
line-height: 21px;
white-space: normal;
vertical-align: middle;
}
</style>
{/block} {/block}

View File

@ -113,9 +113,6 @@
</div> </div>
<div class="layui-form-item layui-inline"> <div class="layui-form-item layui-inline">
<button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button> <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
{if auth('export')}
<button type="button" data-export-list class="layui-btn layui-btn-primary"><i class="layui-icon layui-icon-export"></i> </button>
{/if}
</div> </div>
</form> </form>
</fieldset> </fieldset>

View File

@ -808,7 +808,6 @@ $(function () {
} }
}, true); }, true);
/*! 初始化事件 */ /*! 系统菜单表单页面初始化 */
$.menu.listen(); $.menu.listen(), $.vali.listen(), $.form.reInit($body);
$.vali.listen();
}); });

View File

@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes() public function getPrefixes()
{ {
if (!empty($this->prefixesPsr0)) { if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0); return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
} }
return array(); return array();

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php <?php
// This file is automatically generated at:2020-09-25 09:55:13 // This file is automatically generated at:2020-09-25 21:38:55
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\admin\\Library', 0 => 'think\\admin\\Library',