{include file="public/layout" /}

{eq name="$Think.const.CONTROLLER_NAME.'@index'|is_check_access" value="1"}
- 我的插件
{/eq} {eq name="$Think.const.CONTROLLER_NAME.'@plugin'|is_check_access" value="1"} {eq name="$weapp_plugin_open" value="1"}
- 云插件库
{/eq} {/eq} {eq name="$Think.const.CONTROLLER_NAME.'@mybuy'|is_check_access" value="1"}
- 已购买插件
{/eq}

{$searchform.hidden|default=''}
{empty name="list"}

{else /} {foreach name="list" item="vo" key="k" }
{$vo.name}
版本：{$vo.config.version|default='未知'}
{$vo.config.description|default='暂无描述~'}
{empty name="$vo.status"} {empty name="$vo.is_buy"} {eq name="'Weapp@install'|is_check_access" value="1"} 安装 {/eq} {else /} {eq name="'Weapp@install'|is_check_access" value="1"} 安装 {/eq} {/empty} {else /} {eq name="'Weapp@execute'|is_check_access" value="1"} {if condition="empty($vo['config']['management']['href'])"} 管理 {else /} 管理 {/if} {/eq} {eq name="'Weapp@uninstall'|is_check_access" value="1"} 卸载 {/eq}
{if condition="$vo['status'] eq 1"} 已启用 {else /} 已禁用 {/if} {eq name='$vo.code' value='Diyminipro'}
{/eq}
{/empty}
{/foreach} {/empty}
{include file="public/footer" /}