|
|
@@ -42,19 +42,20 @@
|
|
|
<div class="form-group layui-form-item form-inline" style="height: 60px;">
|
|
|
<input type="hidden" name="advertisement_img" id="advertisement_img"/>
|
|
|
<label class="col-sm-3 control-label">广告图片:</label>
|
|
|
- <div class="input-group col-sm-2">
|
|
|
+ <div class="input-group col-sm-1">
|
|
|
<button type="button" class="layui-btn layui-btn-small" id="up-avatar">
|
|
|
<i class="layui-icon"></i>上传图片</button>
|
|
|
</div>
|
|
|
+ <span>建议上传420px*700px</span>
|
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-small" onclick="checkImage()">选择图片</button>
|
|
|
<div class="layui-layer-shade" id="all_blank_img" style="display: none"></div>
|
|
|
- <div class="layui-layer layui-layer-dialog" id="check_image" style="display: none">
|
|
|
+ <div class="layui-layer layui-layer-dialog" id="check_image" style="display: none;">
|
|
|
<div class="layui-layer-title" style="cursor: move;">请选择图片</div>
|
|
|
<div id="images" class="layui-layer-content layui-layer-padding" style="height: 70vh;">
|
|
|
{volist name="material" id="vo"}
|
|
|
- <div style="width: 23%;height:120px;float: left;text-align: center;background-color: #DCDCDC;margin: 1%;position: relative;">
|
|
|
- <div style="height:23px;line-height: 23px;">{$vo.name}</div>
|
|
|
+ <div style="width: 21.5%;height:120px;float: left;text-align: center;background-color: #DCDCDC;margin: 1%;position: relative;">
|
|
|
+ <div style="height:23px;line-height: 23px;width:80%;margin: 0 auto;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 11px;">{$vo.name}</div>
|
|
|
<img onclick="onCheckImage(`{$vo.url}`)" src="{$vo.url}" style="margin-top: 0px;height: 90px;">
|
|
|
</div>
|
|
|
{/volist}
|
|
|
@@ -66,7 +67,6 @@
|
|
|
<span class="layui-layer-resize"></span>
|
|
|
</div>
|
|
|
|
|
|
- <span>建议上传420px*700px</span>
|
|
|
<div class="input-group col-sm-3" id="avatar">
|
|
|
<img src="{$advertisement['advertisement_img']}" id="ChoiceImg" height="40px"/>
|
|
|
</div>
|
|
|
@@ -95,19 +95,20 @@
|
|
|
<div class="form-group layui-form-item form-inline" style="height: 60px;">
|
|
|
<input type="hidden" name="logo_img" id="logo_img"/>
|
|
|
<label class="col-sm-3 control-label">企业logo:</label>
|
|
|
- <div class="input-group col-sm-2">
|
|
|
+ <div class="input-group col-sm-1">
|
|
|
<button type="button" class="layui-btn layui-btn-small" id="up-logo">
|
|
|
<i class="layui-icon"></i>上传logo</button>
|
|
|
</div>
|
|
|
+ <span>建议上传48px*48px</span>
|
|
|
|
|
|
<button type="button" class="layui-btn layui-btn-small" id="" onclick="checkImg()">选择图片</button>
|
|
|
<div class="layui-layer-shade" id="all_blank" style="display: none"></div>
|
|
|
<div class="layui-layer layui-layer-dialog" id="check_img" style="display: none">
|
|
|
<div class="layui-layer-title" style="cursor: move;">请选择图片</div>
|
|
|
- <div id="imgs" class="layui-layer-content layui-layer-padding" style="height: 70vh;">
|
|
|
+ <div id="imgs" padding="0" class="layui-layer-content layui-layer-padding" style="height: 70vh;">
|
|
|
{volist name="material" id="vo"}
|
|
|
- <div style="width: 23%;height:120px;float: left;text-align: center;background-color: #DCDCDC;margin: 1%;position: relative;">
|
|
|
- <div style="height:23px;line-height: 23px;">{$vo.name}</div>
|
|
|
+ <div style="width: 21.5%;height:120px;float: left;text-align: center;background-color: #DCDCDC;margin: 1%;position: relative;">
|
|
|
+ <div style="height:23px;line-height: 23px;width:80%;margin: 0 auto;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 11px;">{$vo.name}</div>
|
|
|
<img onclick="onCheckImg(`{$vo.url}`)" src="{$vo.url}" style="margin-top: 0px;height: 90px;">
|
|
|
</div>
|
|
|
{/volist}
|
|
|
@@ -119,7 +120,6 @@
|
|
|
<span class="layui-layer-resize"></span>
|
|
|
</div>
|
|
|
|
|
|
- <span>建议上传48px*48px</span>
|
|
|
<div class="input-group col-sm-3" id="logo">
|
|
|
<img src="{$settings['logo']}" id="onChoiceImg" height="40px"/>
|
|
|
</div>
|