Authored by 郗万祥

Revert "杭州-资源视图-资源视图基本信息弹出框bug修改注释添加"

This reverts commit accdd993
... ... @@ -3084,13 +3084,6 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
common.openWin(url, name, params,null,null,null,['80%', '80%']);
});
// //点击空白,关闭悬浮提示页
// $(document).on('click',function (event) {
// var _con = $('.layui-layer-tips'); // 设置目标区域
// if(!_con.is(event.target) && _con.has(event.target).length === 0){
// layer.close(detailTips);
// }
// })
},
yes:function (index) {
layer.close(index);
... ... @@ -3177,7 +3170,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
}
var $content = $(`#${targetId}`).clone();
$content.find('[lay-tips]').removeAttr('lay-tips');
// detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{id: 'base-info-tips', area:[w, 'auto'],time:0, tips: [direction], tipsMore: true});
//xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --start
detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{
id: 'base-info-tips',
... ... @@ -3185,12 +3178,10 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
time:0,
tips: [direction],
tipsMore: true,
//添加遮罩层 默认透明度为0.3
shade: [0.1, '#00000000'],
//是否点击遮罩关闭
shadeClose: true
});
//xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --start
//xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --end
window.detailTips = detailTips;
});
// ,function () {
... ...