123456789101112131415161718192021222324252627282930313233 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="ibox">
- <div class="ibox-content">
- <div class="row">
- <div class="col-xs-3">
- <a href="javascript:;" url="{:url('add')}" data-title="新增" onclick="layer_open(this,2)" data-width="400px" data-height="300px" class="btn btn-sm btn-primary">新增</a>
- </div>
- </div>
- </div>
- <div class="ibox-content">
- <table class="table table-striped">
- <thead>
- <tr>
- <th>名称</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- {if condition="$tree"}
- {:widget_view('asset_cate/tree',['data'=>$tree,'depth'=>0])}
- {/if}
- </tbody>
- </table>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script>
- </script>
- {/block}
|