35 lines
1.9 KiB
HTML
Executable File
35 lines
1.9 KiB
HTML
Executable File
<!-- 继承公共的 form -->
|
|
{{extend name="public/module/form" /}}
|
|
|
|
<!-- 导航 -->
|
|
{{block name="form_navigation"}}
|
|
{{include file="appmini/nav" /}}
|
|
<!-- tips -->
|
|
<div class="am-alert am-alert-warning am-radius">
|
|
{{if config('shopxo.is_develop') eq true}}
|
|
<p>当前为开发模式</p>
|
|
<p class="am-margin-left-lg">1. 发布小程序必须采用 https 协议,上线需确认 app.js 中 request_url 参数值是否正确。</p>
|
|
<p class="am-margin-left-lg">2. 发布小程序,建议关闭开发者模式、从正式环境重新生成小程序下载使用开发者工具上传审核。</p>
|
|
{{if isset($nav_dev_tips[$nav_type])}}
|
|
<p class="am-margin-left-lg">3. 非 https 环境下,在开发者工具 -> {{$nav_dev_tips[$nav_type]['msg']}}</p>
|
|
{{/if}}
|
|
{{else /}}
|
|
<p>1. 生成小程序必须在 https 协议下进行操作、请配置好服务器 ssl 并使用 https 协议登录后台管理生成小程序。</p>
|
|
<p>2. 如需非 https 协议下生成小程序,请在 config/shopxo.php 文件中 is_develop值改为true开启开发者模式。</p>
|
|
{{/if}}
|
|
|
|
<!-- 教程地址-->
|
|
{{if isset($nav_dev_tips[$nav_type])}}
|
|
<p class="am-margin-top-xs">
|
|
<a href="{{$nav_dev_tips[$nav_type]['url']}}" target="_blank">查看部署教程 <i class="am-icon-external-link"></i></a>
|
|
</p>
|
|
{{/if}}
|
|
</div>
|
|
{{/block}}
|
|
|
|
<!-- 表单顶部操作栏 -->
|
|
{{block name="form_operate_top"}}
|
|
<button type="button" class="am-btn am-btn-secondary am-btn-xs am-icon-refresh am-radius submit-ajax" data-url="{{:MyUrl('admin/appmini/created', ['nav_type'=>$nav_type])}}" data-view="reload" data-msg="生成时间比较长,请不要关闭浏览器窗口!"> 生成</button>
|
|
<!-- 父级内容 -->
|
|
{__block__}
|
|
{{/block}} |