Authored by 郗万祥

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

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