修改模板文件

This commit is contained in:
邹景立 2021-04-19 15:28:45 +08:00
parent 646c0d7fd8
commit df31c905c2
5 changed files with 12 additions and 8 deletions

View File

@ -54,11 +54,11 @@
</tbody>
</table>
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
<div class="absolute" style="bottom:5px;right:10px">
<!--{if auth("add")}-->
<!--{if auth("add")}-->
<div class="fixed" style="bottom:5px;right:10px">
<button class='layui-btn layui-btn-sm' data-modal='{:url("add")}' data-title="添加标签" data-width="500px" type="button">添加标签</button>
<!--{/if}-->
</div>
<!--{/if}-->
</div>
{/block}

View File

@ -57,11 +57,11 @@
</table>
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
<div class="absolute" style="bottom:5px;right:10px">
<!--{if auth("add")}-->
<!--{if auth("add")}-->
<div class="fixed" style="bottom:5px;right:10px">
<button class='layui-btn layui-btn-sm' data-modal='{:url("add")}' data-title="添加标签" data-width="500px" type="button">添加标签</button>
<!--{/if}-->
</div>
<!--{/if}-->
</div>
{/block}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30,6 +30,10 @@
overflow: hidden !important;
}
.fixed {
position: fixed !important;
}
.absolute {
position: absolute !important
}