修改样式

This commit is contained in:
Anyon 2020-08-03 18:17:55 +08:00
parent 0a8baab073
commit 69e4aff9ed
3 changed files with 16 additions and 16 deletions

View File

@ -22,9 +22,7 @@ return [
'changes' => [ 'changes' => [
'2020.08.03.00' => [ '2020.08.03.00' => [
'content' => '模块初始化提交', 'content' => '模块初始化提交',
'database' => [ 'database' => ['select version()'],
'select version()',
],
], ],
], ],
]; ];

View File

@ -2,16 +2,16 @@
<div class="layui-card-body padding-left-40"> <div class="layui-card-body padding-left-40">
<table class="layui-table"> <table class="layui-table">
<tr> <tr>
<td>模块名称</td> <td class="font-w7">模块名称</td>
<td>{$module.name}</td> <td class="color-blue">{$module.name}</td>
</tr> </tr>
<tr> <tr>
<td>模块描述</td> <td class="font-w7">最新版本</td>
<td>{$module.content}</td> <td class="color-blue">{$module.version}</td>
</tr> </tr>
<tr> <tr>
<td>最新版本</td> <td class="font-w7">模块描述</td>
<td>{$module.version}</td> <td class="color-blue">{$module.content}</td>
</tr> </tr>
</table> </table>
<ul class="layui-timeline margin-top-30 margin-bottom-30" style="max-height:400px;overflow:auto"> <ul class="layui-timeline margin-top-30 margin-bottom-30" style="max-height:400px;overflow:auto">

View File

@ -20,13 +20,15 @@
<td class='text-left nowrap'>{$vo.name}</td> <td class='text-left nowrap'>{$vo.name}</td>
<td class='text-left nowrap'>{$vo.content}</td> <td class='text-left nowrap'>{$vo.content}</td>
<td class='text-left nowrap'> <td class='text-left nowrap'>
{if isset($vo.local)} {$vo.local.version} <div class="inline-block" data-title="查看模块版本" data-modal="{:url('change')}?name={$vo.name}">
{if $vo.version > $vo.local.version} {if isset($vo.local)} {$vo.local.version}
<span data-title="查看模块版本" data-modal="{:url('change')}?name={$vo.name}" class="color-red margin-left-5">{$vo.version}</span> {if $vo.version > $vo.local.version}
{else} <span class="color-red margin-left-5">{$vo.version}</span>
<span class="color-desc margin-left-5">{$vo.type_desc}</span> {else}
{/if} <span class="color-desc margin-left-5">{$vo.type_desc}</span>
{else}<span class="color-desc margin-left-5">{$vo.type_desc}</span>{/if} {/if}
{else}<span class="color-desc margin-left-5">{$vo.type_desc}</span>{/if}
</div>
</td> </td>
<td class="text-left"> <td class="text-left">
{if $vo.type_code eq 1} <a class="layui-btn layui-btn-xs" data-action="{:url('install')}" data-value="name#{$vo.name}"> </a>{/if} {if $vo.type_code eq 1} <a class="layui-btn layui-btn-xs" data-action="{:url('install')}" data-value="name#{$vo.name}"> </a>{/if}