合并代码
This commit is contained in:
parent
3a97605c1c
commit
22a9379d54
@ -59,6 +59,7 @@ class Community extends BaseController
|
||||
$total = Db::connect('shop')->name('community_address')
|
||||
->where($where)
|
||||
->count();
|
||||
|
||||
if ($total!=0){
|
||||
$list = Db::connect('shop')->name('community_address')
|
||||
->where($where)
|
||||
|
@ -28,10 +28,10 @@
|
||||
<script type="text/html" id="barDemo">
|
||||
<div class="layui-btn-group">
|
||||
{if {:session('gougu_admin')['group_access']==1}
|
||||
<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="read">查看</a>
|
||||
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
|
||||
{/if}
|
||||
|
||||
<a class="layui-btn layui-btn-normal layui-btn-xs {{# if(d.status != '待审核'){ }}{{# } else { }}layui-hide{{# } }}" lay-event="read">查看</a>
|
||||
<a class="layui-btn layui-btn-xs {{# if(d.status == '待审核'){ }}{{# } else { }}layui-hide{{# } }}" lay-event="edit">审核</a>
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user