| | |
| | | float:left; |
| | | color:white; |
| | | font-size:14px; |
| | | margin-left: 30px; |
| | | margin-left: 35px; |
| | | margin-top: 20px; |
| | | } |
| | | .labelInput { |
| | | width: 150px; |
| | | height: 30px; |
| | | margin-left: 30px; |
| | | margin-right: 50px; |
| | | line-height: 40px; |
| | | font-size: 16px; |
| | | text-indent: 8px; |
| | |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <span class="text2">图标</span> |
| | | <button type="button" class="layui-btn layui-bg-black" style="width:150px;height:30px;margin-top:15px;margin-left: 30px;line-height: 30px;float: left;" id="uploadIcon"> |
| | | <i class="layui-icon"></i>上传图标 |
| | | </button> |
| | | </div> |
| | | <div style="clear: both"> |
| | | <span class="text2">图片</span> |
| | | <button type="button" class="layui-btn layui-bg-black" style="width:150px;height:30px;margin-top:15px;margin-left: 30px;line-height: 30px;float: left;" id="uploadImg"> |
| | | <i class="layui-icon"></i>上传图片 |
| | |
| | | parent.updatePoint(4,currentPointId,data.value); |
| | | }) |
| | | upload.render({ |
| | | elem: '#uploadIcon', //绑定元素 |
| | | accept: 'images', |
| | | url: parent.httpConfig.webApiUrl + "landstamp/front/upload", |
| | | done: function (res) { |
| | | if (res.code == 0) { |
| | | let popId="pop_"+id; |
| | | parent.updatePoint(6,currentPointId, res.url); |
| | | } |
| | | layui.use('layer', function () { |
| | | var layer = layui.layer; |
| | | layer.msg(res.msg, { time: 1000 }); |
| | | }); |
| | | } |
| | | }); |
| | | upload.render({ |
| | | elem: '#uploadImg', //绑定元素 |
| | | accept: 'images', |
| | | url: parent.httpConfig.webApiUrl + "landstamp/front/upload", |