mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 02:49:03 +08:00
布局管理优化
This commit is contained in:
parent
d5487ad361
commit
49b1ae0eaa
@ -2,7 +2,7 @@
|
||||
{{if !empty($module_data)}}
|
||||
<div class="am-nbfc">
|
||||
<a href="{{:MyUrl('index/design/index', ['id'=>$module_data['id']])}}}" target="_blank" title="{{$module_data.name}}">
|
||||
<img src="{{if empty($module_data['logo'])}}{{$attachment_host}}/static/common/images/module-default-images.png{{else /}}{{$module_data.logo}}{{/if}}" class="am-img-thumbnail am-radius am-margin-right-xs am-fl" width="60" height="60" />
|
||||
<img src="{{if empty($module_data['logo'])}}{{$attachment_host}}/static/common/images/default-images-mini.png{{else /}}{{$module_data.logo}}{{/if}}" class="am-img-thumbnail am-radius am-margin-right-xs am-fl" width="60" height="60" />
|
||||
</a>
|
||||
<a href="{{:MyUrl('index/design/index', ['id'=>$module_data['id']])}}}" target="_blank" title="{{$module_data.name}}">
|
||||
<span class="am-nowrap-initial">{{$module_data.name}}</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
{{if !empty($data)}}
|
||||
<div class="am-container">
|
||||
<legend class="am-padding-horizontal-xs am-padding-bottom-xs">
|
||||
<img src="{{if empty($data['logo'])}}{{$attachment_host}}/static/common/images/module-default-images.png{{else /}}{{$data.logo}}{{/if}}" class="am-img-thumbnail am-radius page-top-nav-logo" />
|
||||
<img src="{{if empty($data['logo'])}}{{$attachment_host}}/static/common/images/default-images-mini.png{{else /}}{{$data.logo}}{{/if}}" class="am-img-thumbnail am-radius page-top-nav-logo" />
|
||||
<span class="page-top-nav-title">
|
||||
<span>{{$data.name}}</span>
|
||||
<a href="javascript:;" class="am-icon-eyedropper am-margin-left-xs" data-am-modal="{target: '#popup-saveinfo'}"></a>
|
||||
@ -40,7 +40,7 @@ function FormBackSaveinfoEdit(e)
|
||||
$page.attr('data-json', encodeURIComponent(JSON.stringify(e)));
|
||||
|
||||
// logo
|
||||
$('.page-top-nav-logo').attr('src', e.logo || '{{$attachment_host}}/static/common/images/module-default-images.png');
|
||||
$('.page-top-nav-logo').attr('src', e.logo || '{{$attachment_host}}/static/common/images/default-images-mini.png');
|
||||
|
||||
// 名称
|
||||
$('.page-top-nav-title span').text(e.name || '默认页面');
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 侧边栏 - 模块配置 - 图片 -->
|
||||
<div id="offcanvas-module-config-images" class="am-offcanvas module-offcanvas-container" data-default-images="{{$attachment_host}}/static/common/images/module-default-images.png">
|
||||
<div id="offcanvas-module-config-images" class="am-offcanvas module-offcanvas-container" data-default-images="{{$attachment_host}}/static/common/images/default-images-mini.png">
|
||||
<div class="am-offcanvas-bar">
|
||||
<div class="am-offcanvas-content am-padding-0">
|
||||
<form class="am-form form-validation-module-offcanvas-images" request-type="sync" request-value="FormBackModuleConfigImages">
|
||||
@ -11,7 +11,7 @@
|
||||
<ul class="plug-file-upload-view module-images-type-images-view" data-form-name="content_images" data-max-number="1" data-delete="0" data-dialog-type="images">
|
||||
<li>
|
||||
<input type="text" name="content_images" data-validation-message="请上传图片" value="" required />
|
||||
<img src="{{$attachment_host}}/static/common/images/module-default-images.png" />
|
||||
<img src="{{$attachment_host}}/static/common/images/default-images-mini.png" />
|
||||
</li>
|
||||
</ul>
|
||||
<div class="plug-file-upload-submit" data-view-tag="ul.module-images-type-images-view">+上传图片</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 侧边栏 - 模块配置 - 多图 -->
|
||||
<div id="offcanvas-module-config-many-images" class="am-offcanvas module-offcanvas-container" data-default-images="{{$attachment_host}}/static/common/images/module-default-images.png">
|
||||
<div id="offcanvas-module-config-many-images" class="am-offcanvas module-offcanvas-container" data-default-images="{{$attachment_host}}/static/common/images/default-images-mini.png">
|
||||
<div class="am-offcanvas-bar">
|
||||
<div class="am-offcanvas-content am-padding-0">
|
||||
<form class="am-form form-validation-module-offcanvas-many-images" request-type="sync" request-value="FormBackModuleConfigManyImages">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- 侧边栏 - 模块配置 - 视频 -->
|
||||
<div id="offcanvas-module-config-video" class="am-offcanvas module-offcanvas-container" data-default-images="{{$attachment_host}}/static/common/images/module-default-images.png">
|
||||
<div id="offcanvas-module-config-video" class="am-offcanvas module-offcanvas-container" data-default-images="{{$attachment_host}}/static/common/images/default-images-mini.png">
|
||||
<div class="am-offcanvas-bar">
|
||||
<div class="am-offcanvas-content am-padding-0">
|
||||
<form class="am-form form-validation-module-offcanvas-video" request-type="sync" request-value="FormBackModuleConfigVideo">
|
||||
|
Before Width: | Height: | Size: 767 B After Width: | Height: | Size: 767 B |
Loading…
Reference in New Issue
Block a user