55 lines
2.8 KiB
HTML
55 lines
2.8 KiB
HTML
|
|
{{:ModuleInclude('public/header')}}
|
||
|
|
|
||
|
|
{{if $is_not_bind_accounts eq 1}}
|
||
|
|
{{:ModuleInclude('public/store_bind_accounts_tips')}}
|
||
|
|
{{else /}}
|
||
|
|
{{:ModuleInclude('public/detail_nav_switch_tabs', [
|
||
|
|
'nav_data' => [
|
||
|
|
[
|
||
|
|
'name' => MyLang('local_import_title'),
|
||
|
|
'key' => 'upload',
|
||
|
|
],
|
||
|
|
[
|
||
|
|
'name' => MyLang('template_market_title'),
|
||
|
|
'key' => 'market',
|
||
|
|
],
|
||
|
|
]
|
||
|
|
])}}
|
||
|
|
<div class="detail-content-switch-data-item">
|
||
|
|
<div class="item am-ht-auto am-active" data-key="upload">
|
||
|
|
<form class="am-form form-validation am-form-popup-fixed am-upload-file" action="{{:MyUrl('admin/themeadmin/upload')}}" method="POST" request-type="ajax-reload" request-value="parent" enctype="multipart/form-data">
|
||
|
|
<div class="am-form-group am-flex-1">
|
||
|
|
<div class="am-form-file">
|
||
|
|
<button type="button" class="am-btn am-btn-default am-btn-xl am-radius"><i class="iconfont icon-upload-file"></i></button>
|
||
|
|
<input type="file" name="theme" class="file-event" data-tips-tag="#form-theme-tips" data-validation-message="{{:MyLang('form_upload_file_message')}}" accept=".zip" required />
|
||
|
|
<div id="form-theme-tips" class="am-margin-top-sm"></div>
|
||
|
|
<div class="tips am-text-xs am-color-ccc am-margin-top-sm">{{:MyLang('common_service.themeadmin.form_item_upload_tips')}}</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="am-form-popup-submit">
|
||
|
|
<button type="button" class="am-btn am-btn-warning am-btn-xs am-radius" data-am-modal-close>
|
||
|
|
<i class="am-icon-paint-brush"></i>
|
||
|
|
<span>{{:MyLang('cancel_title')}}</span>
|
||
|
|
</button>
|
||
|
|
<button type="submit" class="am-btn am-btn-primary am-btn-xs am-radius btn-loading-example am-margin-left" data-am-loading="{loadingText:'{{:MyLang('processing_tips')}}'}">
|
||
|
|
<i class="am-icon-check"></i>
|
||
|
|
<span>{{:MyLang('confirm_title')}}</span>
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
<!-- 模板市场 -->
|
||
|
|
<div class="item am-ht-auto" data-key="market">
|
||
|
|
{{:ModuleInclude('public/market/index', [
|
||
|
|
'type' => 'webtheme',
|
||
|
|
'back_win_refresh_type' => 'none',
|
||
|
|
'search_url' => MyUrl('admin/themeadmin/market'),
|
||
|
|
'more_download_url' => empty($store_theme_url) ? '' : $store_theme_url,
|
||
|
|
'more_download_name' => MyLang('themeadmin.base_nav_store_theme_name'),
|
||
|
|
])}}
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
{{/if}}
|
||
|
|
|
||
|
|
<!-- footer start -->
|
||
|
|
{{:ModuleInclude('public/footer')}}
|