{extend name="../../admin/view/public/admin"} {block name='style'}
{/block} {block name='content'}
当前位置：应用管理

- 全部
{foreach $letters as $key=>$letter }
- {$letter}
{/foreach}

{if empty($list)}
未查询到相关数据
{else}
{if $do == 'delete'}
{/if}

| ID | 应用名称 | 应用标识 | 简介 | 作者 | 版本号 | 类型 {if $do != 'not_installed'} | 启用 {/if} | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{foreach $list as $key=>$row }
| {$row['id']} | {$row['name']} {if $row['wechat_support'] == 1} {/if} {if $row['wxapp_support'] == 1} {/if} {if $row['pc_support'] == 1} {/if} {if $row['app_support'] == 1} {/if} {if $row['h5_support'] == 1} {/if} {if $row['aliapp_support'] == 1} {/if} {if $row['bdapp_support'] == 1} {/if} {if $row['uniapp_support'] == 1} {/if} {if $row['harmonyos_support'] == 1} {/if} {if $row['dyapp_support'] == 1} {/if} {if $row['aiapp_support'] == 1} {/if} | {$row['identifie']} | {$row['description']} | {$row['author']} | 版本：{$row['version']} {if ( $do == 'installed' || empty($do) ) && $row['new_version']} 发现新版本 v{$row['new_version']} {/if} | {if $row['is_cloud'] == 1} 云应用 {else} 本地应用 {/if} {if $do != 'not_installed'} | 'status','value'=>1,'id'=>$row['id']))}' data-switch-value1='1|已开启|label label-primary|{:url('admin/app/change',array('type'=>'status','value' =>0,'id'=>$row['id']))}' > {if $row['status']==1}已开启{else}禁用{/if} {/if} | {if $do == 'not_installed'} 安装 {elseif $do == 'delete'} 恢复 彻底删除 {else} {if $do == 'installed' || empty($do)} {/if} {if ( $do == 'installed' || empty($do) ) && $row['new_version']} 升级 {/if} {if ( $do == 'installed' || empty($do) ) && !$row['new_version']} {/if} {/if} {if $do == 'not_installed' || $do == 'recycle'} {/if}
{/foreach}
| {if $do == 'delete'} {/if} | {$pager | raw}

{/if}
{/block}