修改后台模板样式

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>
<ul>
<li class="username">
<label>
<label class="label-required-null">
<i class="layui-icon layui-icon-username"></i>
<input class="layui-input" required pattern="^\S{4,}$" name="username" autofocus autocomplete="off" placeholder="登录账号" title="请输入登录账号">
</label>
</li>
<li class="password">
<label>
<label class="label-required-null">
<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="请输入登录密码">
</label>

View File

@ -19,9 +19,9 @@
<tr>
<td class='nowrap'>
{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}
<div class="inline-block text-top">
<div class="inline-block">
商品编号:{$vo.code|default='--'}<br>
商品名称:{$vo.name|default='--'}<br>
</div>

View File

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

View File

@ -33,9 +33,7 @@
<label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
</td>
<td class="nowrap relative">
<div class="headimg" style="width:56px;height:56px">
<img data-tips-image src="{$vo.member.headimg|default='__ROOT__/static/theme/img/headimg.png'}" alt="img">
</div>
<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>
<div class="inline-block sub-span-blue">
会员昵称:{$vo.member.nickname|default='--'}<br>
会员手机:<span>{$vo.member.phone|default='--'}</span><br>
@ -74,14 +72,4 @@
</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}

View File

@ -113,9 +113,6 @@
</div>
<div class="layui-form-item layui-inline">
<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>
</form>
</fieldset>

View File

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

View File

@ -60,7 +60,7 @@ class ClassLoader
public function getPrefixes()
{
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();

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?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);
return array (
0 => 'think\\admin\\Library',