|
|
@@ -12,6 +12,43 @@
|
|
|
<link href="__CSS__/style.min.css?v=4.1.0" rel="stylesheet">
|
|
|
</head>
|
|
|
<body class="gray-bg">
|
|
|
+
|
|
|
+<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-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: 21.5%;height:100px;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: 70px;">
|
|
|
+ </div>
|
|
|
+ {/volist}
|
|
|
+ </div>
|
|
|
+ <span class="layui-layer-setwin"></span>
|
|
|
+ <div class="layui-layer-btn layui-layer-btn-">
|
|
|
+ <a class="layui-layer-btn0" onclick="closeCheckImage()">取消</a>
|
|
|
+ </div>
|
|
|
+ <span class="layui-layer-resize"></span>
|
|
|
+</div>
|
|
|
+
|
|
|
+<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" padding="0" class="layui-layer-content layui-layer-padding" style="height: 70vh;">
|
|
|
+ {volist name="material" id="vo"}
|
|
|
+ <div style="width: 21.5%;height:100px;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: 70px;">
|
|
|
+ </div>
|
|
|
+ {/volist}
|
|
|
+ </div>
|
|
|
+ <span class="layui-layer-setwin"></span>
|
|
|
+ <div class="layui-layer-btn layui-layer-btn-">
|
|
|
+ <a class="layui-layer-btn0" onclick="closeCheckImg()">取消</a>
|
|
|
+ </div>
|
|
|
+ <span class="layui-layer-resize"></span>
|
|
|
+</div>
|
|
|
+
|
|
|
<div class="wrapper wrapper-content animated fadeInRight">
|
|
|
<div class="row">
|
|
|
<div class="col-sm-8">
|
|
|
@@ -49,23 +86,6 @@
|
|
|
<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-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: 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}
|
|
|
- </div>
|
|
|
- <span class="layui-layer-setwin"></span>
|
|
|
- <div class="layui-layer-btn layui-layer-btn-">
|
|
|
- <a class="layui-layer-btn0" onclick="closeCheckImage()">取消</a>
|
|
|
- </div>
|
|
|
- <span class="layui-layer-resize"></span>
|
|
|
- </div>
|
|
|
|
|
|
<div class="input-group col-sm-3" id="avatar">
|
|
|
<img src="{$advertisement['advertisement_img']}" id="ChoiceImg" height="40px"/>
|
|
|
@@ -102,23 +122,6 @@
|
|
|
<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" padding="0" class="layui-layer-content layui-layer-padding" style="height: 70vh;">
|
|
|
- {volist name="material" id="vo"}
|
|
|
- <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}
|
|
|
- </div>
|
|
|
- <span class="layui-layer-setwin"></span>
|
|
|
- <div class="layui-layer-btn layui-layer-btn-">
|
|
|
- <a class="layui-layer-btn0" onclick="closeCheckImg()">取消</a>
|
|
|
- </div>
|
|
|
- <span class="layui-layer-resize"></span>
|
|
|
- </div>
|
|
|
|
|
|
<div class="input-group col-sm-3" id="logo">
|
|
|
<img src="{$settings['logo']}" id="onChoiceImg" height="40px"/>
|
|
|
@@ -149,7 +152,7 @@
|
|
|
<script>
|
|
|
function checkImage() {
|
|
|
$("#all_blank_img").css({"z-index": "19991015", "background-color": "rgb(0, 0, 0)", "opacity": "0.3", "display": "block"});
|
|
|
- $("#check_image").css({"z-index": "19991016", "top": "50px", "left": "217px", "width": "70vw", "display": "block"});
|
|
|
+ $("#check_image").css({"z-index": "19991016", "top": "40px", "left": "170px", "width": "70vw", "display": "block"});
|
|
|
}
|
|
|
function closeCheckImage() {
|
|
|
$("#all_blank_img").css({"display": "none"});
|
|
|
@@ -164,7 +167,7 @@
|
|
|
|
|
|
function checkImg() {
|
|
|
$("#all_blank").css({"z-index": "19991015", "background-color": "rgb(0, 0, 0)", "opacity": "0.3", "display": "block"});
|
|
|
- $("#check_img").css({"z-index": "19991016", "top": "50px", "left": "217px", "width": "70vw", "display": "block"});
|
|
|
+ $("#check_img").css({"z-index": "19991016", "top": "40px", "left": "170px", "width": "70vw", "display": "block"});
|
|
|
}
|
|
|
function closeCheckImg() {
|
|
|
$("#all_blank").css({"display": "none"});
|