<!-- 继承公共的 form -->
{{extend name="../../../module/view/form_table/form" /}}

<!-- 内容顶部 -->
{{block name="form_content_top"}}
    {{:ModuleInclude('appmini/nav')}}
{{/block}}

<!-- 导航 -->
{{block name="form_navigation"}}
    {{:ModuleInclude('appmini/base_nav')}}
    <!-- 新版本小程序主题提示 -->
    <div class="am-alert am-alert-warning am-radius">
        <p class="am-text-sm">{{:MyLang('appmini.nav_theme_download_tips')}}</p>
        <p class="am-margin-top-xs">
            <a href="https://uniapp.shopxo.net/" target="_blank" rel="noopener noreferrer">{{:MyLang('appmini.nav_theme_download_name')}} <i class="am-icon-external-link"></i></a>
        </p>
    </div>
{{/block}}

<!-- 表单顶部操作栏 -->
{{block name="form_operate_top"}}
    {{if AdminIsPower('appmini', 'created')}}
        <button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius submit-ajax" data-url="{{:MyUrl('admin/appmini/created', ['nav_type'=>$nav_type])}}" data-view="reload" data-msg="{{:MyLang('appmini.package_generate_tips')}}">
            <i class="iconfont icon-refresh am-show-sm-only"></i>
            <span>{{:MyLang('generate_title')}}</span>
        </button>
    {{/if}}

    <!-- 父级内容 -->
    {__block__}
{{/block}}