mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
feat: 完成平台发表情况查询
This commit is contained in:
@@ -37,12 +37,32 @@
|
||||
</div>
|
||||
<div class="main-container">
|
||||
<div>
|
||||
<a
|
||||
href="{:url('create',['type'=>$Request.param.type,'category_id'=>$Request.param.category_id])}"
|
||||
class="layui-btn"
|
||||
>添加</a>
|
||||
<div class="layui-tab layui-tab-brief">
|
||||
<ul class="layui-tab-title">
|
||||
<li class="platform-status-">
|
||||
<a href="{:url('indexOutput',['platform_type'=>$platform_type,'type'=>$Request.param.type,'platform_status'=>''])}">全部</a>
|
||||
</li>
|
||||
<li class="platform-status-1">
|
||||
<a
|
||||
href="{:url('indexOutput',['platform_type'=>$platform_type,'type'=>$Request.param.type,'platform_status'=>'1'])}"
|
||||
class=""
|
||||
>已发表</a>
|
||||
</li>
|
||||
<li class="platform-status-0">
|
||||
<a
|
||||
href="{:url('indexOutput',['platform_type'=>$platform_type,'type'=>$Request.param.type,'platform_status'=>'0'])}"
|
||||
class=""
|
||||
>未发表</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$('.platform-status-{$Request.param.platform_status}').addClass('layui-this')
|
||||
</script>
|
||||
<div>
|
||||
<table
|
||||
class="layui-table"
|
||||
@@ -56,6 +76,7 @@
|
||||
<th>简介</th>
|
||||
<th>排序</th>
|
||||
<th>状态</th>
|
||||
<th>平台状态</th>
|
||||
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
@@ -77,6 +98,17 @@
|
||||
<td style="max-width: 200px;">{$vo.desc_short}</td>
|
||||
<td>{$vo.sort}</td>
|
||||
<td>{$vo.status_name}</td>
|
||||
<td>
|
||||
{if $vo.platform_status == 0 }
|
||||
{$vo.platform_status_title}
|
||||
|
||||
{else /}
|
||||
<a
|
||||
href="{$vo.post_platform_data_array[$platform_type]}"
|
||||
target="_blank"
|
||||
>{$vo.platform_status_title}</a>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="layui-btn-container">
|
||||
|
||||
Reference in New Issue
Block a user