|
|
|
@ -404,16 +404,18 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!--用来存放文件信息-->
|
|
|
|
|
<div class="uploader-list" style="display: flex;">
|
|
|
|
|
<?php if(!empty($siteConfig['icon'])):?>
|
|
|
|
|
<div id="<?=$siteConfig['icon']?>" class="item flooring_page_img_box" style="margin-right: 10px;">
|
|
|
|
|
<a href="javascript:;"><img src="<?=get_cover($siteConfig['icon'], 'path')?>" style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<h4 class="info" style="text-align: center;">
|
|
|
|
|
<a href="javascript:;" class="file-delete table_click" style="float:none;display:inline-block;" data-ref-tag="#site-icon">删除</a>
|
|
|
|
|
</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">尺寸不得小于512*512px,圆角半径113px,不强制要求,可直接提供512*512方图</span>
|
|
|
|
|
<span class="notice-text">尺寸为16*16px,png图片</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
@ -430,16 +432,18 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!--用来存放文件信息-->
|
|
|
|
|
<div class="uploader-list" style="display: flex;">
|
|
|
|
|
<?php if(!empty($siteConfig['logo'])):?>
|
|
|
|
|
<div id="<?=$siteConfig['logo']?>" class="item flooring_page_img_box" style="margin-right: 10px;">
|
|
|
|
|
<a href="javascript:;"><img src="<?=get_cover($siteConfig['logo'], 'path')?>" style="width: 100px;height: 100px;cursor: move;"></a>
|
|
|
|
|
<h4 class="info" style="text-align: center;">
|
|
|
|
|
<a href="javascript:;" class="file-delete table_click" style="float:none;display:inline-block;" data-ref-tag="#site-logo">删除</a>
|
|
|
|
|
</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">尺寸不得小于512*512px,圆角半径113px,不强制要求,可直接提供512*512方图</span>
|
|
|
|
|
<span class="notice-text">尺寸为210*60px,透明png图片</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
@ -1145,7 +1149,15 @@
|
|
|
|
|
var iconUploader = new WmUploader({
|
|
|
|
|
selector: '#icon-uploader',
|
|
|
|
|
url: uploadUrl,
|
|
|
|
|
accept: {
|
|
|
|
|
title: '图片',
|
|
|
|
|
extensions: 'png,ico',
|
|
|
|
|
mimeTypes: 'image/*',
|
|
|
|
|
},
|
|
|
|
|
afterSuccess: function(file, response) {
|
|
|
|
|
if (response.status == 0) {
|
|
|
|
|
return layer.msg(response.info)
|
|
|
|
|
}
|
|
|
|
|
$('#site-icon').val(response.id)
|
|
|
|
|
},
|
|
|
|
|
afterDelete: function(file) {
|
|
|
|
@ -1155,7 +1167,15 @@
|
|
|
|
|
var logoUploader = new WmUploader({
|
|
|
|
|
selector: '#logo-uploader',
|
|
|
|
|
url: uploadUrl,
|
|
|
|
|
accept: {
|
|
|
|
|
title: '图片',
|
|
|
|
|
extensions: 'png',
|
|
|
|
|
mimeTypes: 'image/*',
|
|
|
|
|
},
|
|
|
|
|
afterSuccess: function(file, response) {
|
|
|
|
|
if (response.status == 0) {
|
|
|
|
|
return layer.msg(response.info)
|
|
|
|
|
}
|
|
|
|
|
$('#site-logo').val(response.id)
|
|
|
|
|
},
|
|
|
|
|
afterDelete: function(file) {
|
|
|
|
|