|
@@ -88,7 +88,7 @@
|
|
<td>
|
|
<td>
|
|
<a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete delete" data-ptype="1"
|
|
<a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete delete" data-ptype="1"
|
|
lay-event="delete" data-id="{$vo.id}">删除</a>
|
|
lay-event="delete" data-id="{$vo.id}">删除</a>
|
|
- <a href="{:url('index', ['pid'=>$vo.id])}">获取子栏目</a>
|
|
|
|
|
|
+ <a class="layui-btn layui-btn-xs layui-btnnormal " href="{:url('index', ['pid'=>$vo.id])}">获取子栏目({$vo.childCount})</a>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
{/volist}
|
|
{/volist}
|
|
@@ -132,7 +132,7 @@
|
|
, curr: {$categorys.current_page}
|
|
, curr: {$categorys.current_page}
|
|
, jump: function (obj, first) {
|
|
, jump: function (obj, first) {
|
|
if (!first) {
|
|
if (!first) {
|
|
- location.href = "?page=" + obj.curr
|
|
|
|
|
|
+ location.href = "?page=" + obj.curr + "&pid={$pid}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|