[更新]修改产品模块模板按钮颜色

This commit is contained in:
Anyon 2018-05-03 11:27:53 +08:00
parent cee220c167
commit abb3f97819
3 changed files with 6 additions and 6 deletions

View File

@ -3,11 +3,11 @@
{block name="button"}
<!--{if auth("$classuri/add")}-->
<button data-open='{:url("$classuri/add")}' data-title="添加品牌" class='layui-btn layui-btn-sm'>添加品牌</button>
<button data-open='{:url("$classuri/add")}' data-title="添加品牌" class='layui-btn layui-btn-sm layui-btn-primary'>添加品牌</button>
<!--{/if}-->
<!--{if auth("$classuri/del")}-->
<button data-update="" data-field='delete' data-action='{:url("$classuri/del")}' class='layui-btn layui-btn-sm layui-btn-danger'>删除品牌</button>
<button data-update="" data-field='delete' data-action='{:url("$classuri/del")}' class='layui-btn layui-btn-sm layui-btn-primary'>删除品牌</button>
<!--{/if}-->
{/block}

View File

@ -2,10 +2,10 @@
{block name="button"}
<!--{if auth("$classuri/add")}-->
<button data-modal='{:url("@$classuri/add")}' data-title="添加分类" class='layui-btn layui-btn-sm'>添加分类</button>
<button data-modal='{:url("@$classuri/add")}' data-title="添加分类" class='layui-btn layui-btn-sm layui-btn-primary'>添加分类</button>
<!--{/if}-->
<!--{if auth("$classuri/del")}-->
<button data-update="" data-field='delete' data-action='{:url("@$classuri/del")}' class='layui-btn layui-btn-sm layui-btn-danger'>删除分类</button>
<button data-update="" data-field='delete' data-action='{:url("@$classuri/del")}' class='layui-btn layui-btn-sm layui-btn-primary'>删除分类</button>
<!--{/if}-->
{/block}

View File

@ -3,11 +3,11 @@
{block name="button"}
<!--{if auth("$classuri/add")}-->
<button data-modal='{:url("$classuri/add")}' data-title="添加快递" class='layui-btn layui-btn-sm'>添加快递</button>
<button data-modal='{:url("$classuri/add")}' data-title="添加快递" class='layui-btn layui-btn-sm layui-btn-primary'>添加快递</button>
<!--{/if}-->
<!--{if auth("$classuri/del")}-->
<button data-update data-field='delete' data-action='{:url("$classuri/del")}' class='layui-btn layui-btn-sm layui-btn-danger'>删除快递</button>
<button data-update data-field='delete' data-action='{:url("$classuri/del")}' class='layui-btn layui-btn-sm layui-btn-primary'>删除快递</button>
<!--{/if}-->
{/block}