Authored by xwx

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

@@ -3084,6 +3084,13 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele @@ -3084,6 +3084,13 @@ 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 + // })
3087 }, 3094 },
3088 yes:function (index) { 3095 yes:function (index) {
3089 layer.close(index); 3096 layer.close(index);
@@ -3170,7 +3177,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele @@ -3170,7 +3177,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
3170 } 3177 }
3171 var $content = $(`#${targetId}`).clone(); 3178 var $content = $(`#${targetId}`).clone();
3172 $content.find('[lay-tips]').removeAttr('lay-tips'); 3179 $content.find('[lay-tips]').removeAttr('lay-tips');
3173 - 3180 + // detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{id: 'base-info-tips', area:[w, 'auto'],time:0, tips: [direction], tipsMore: true});
3174 //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --start 3181 //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --start
3175 detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{ 3182 detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{
3176 id: 'base-info-tips', 3183 id: 'base-info-tips',
@@ -3178,10 +3185,12 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele @@ -3178,10 +3185,12 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
3178 time:0, 3185 time:0,
3179 tips: [direction], 3186 tips: [direction],
3180 tipsMore: true, 3187 tipsMore: true,
  3188 + //添加遮罩层 默认透明度为0.3
3181 shade: [0.1, '#00000000'], 3189 shade: [0.1, '#00000000'],
  3190 + //是否点击遮罩关闭
3182 shadeClose: true 3191 shadeClose: true
3183 }); 3192 });
3184 - //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --end 3193 + //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --start
3185 window.detailTips = detailTips; 3194 window.detailTips = detailTips;
3186 }); 3195 });
3187 // ,function () { 3196 // ,function () {