lizhen_gitee 2 months ago
parent
commit
cc4a1db419
1 changed files with 6 additions and 4 deletions
  1. 6 4
      application/admin/view/unishop/category/index.html

+ 6 - 4
application/admin/view/unishop/category/index.html

@@ -14,8 +14,10 @@
             <div class="tab-pane fade active in" id="one">
                 <div class="widget-body no-padding">
                     <div id="toolbar" class="toolbar">
-                        {:build_toolbar('refresh,add')}
-                        <div class="dropdown btn-group {:$auth->check('category/multi')?'':'hide'}">
+                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
+                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('unishop/category/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
+
+                        <div class="dropdown btn-group {:$auth->check('unishop/category/multi')?'':'hide'}">
                             <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                             <ul class="dropdown-menu text-left" role="menu">
                                 <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
@@ -24,8 +26,8 @@
                         </div>
                     </div>
                     <table id="table" class="table table-striped table-bordered table-hover" 
-                           data-operate-edit="{:$auth->check('category/edit')}" 
-                           data-operate-del="{:$auth->check('category/del')}" 
+                           data-operate-edit="{:$auth->check('unishop/category/edit')}"
+                           data-operate-del="{:$auth->check('unishop/category/del')}"
                            width="100%">
                     </table>
                 </div>