Merge branch 'master-v32-xwx' into 'master'
杭州-资源视图-基本信息悬浮框无数据时不展示 See merge request !291
Showing
2 changed files
with
16 additions
and
14 deletions
@@ -3427,19 +3427,21 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele | @@ -3427,19 +3427,21 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele | ||
3427 | $content.find('[lay-tips]').removeAttr('lay-tips'); | 3427 | $content.find('[lay-tips]').removeAttr('lay-tips'); |
3428 | // detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{id: 'base-info-tips', area:[w, 'auto'],time:0, tips: [direction], tipsMore: true}); | 3428 | // detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{id: 'base-info-tips', area:[w, 'auto'],time:0, tips: [direction], tipsMore: true}); |
3429 | //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --start | 3429 | //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --start |
3430 | - detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that,{ | ||
3431 | - id: 'base-info-tips', | ||
3432 | - area:[w, 'auto'], | ||
3433 | - time:0, | ||
3434 | - tips: [direction], | ||
3435 | - tipsMore: true, | ||
3436 | - //添加遮罩层 默认透明度为0.3 | ||
3437 | - shade: [0.1, '#00000000'], | ||
3438 | - //是否点击遮罩关闭 | ||
3439 | - shadeClose: true | ||
3440 | - }); | ||
3441 | - //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --end | ||
3442 | - window.detailTips = detailTips; | 3430 | + if (len>0) { |
3431 | + detailTips = layer.tips($content.removeClass('hide').prop("outerHTML"), that, { | ||
3432 | + id: 'base-info-tips', | ||
3433 | + area: [w, 'auto'], | ||
3434 | + time: 0, | ||
3435 | + tips: [direction], | ||
3436 | + tipsMore: true, | ||
3437 | + //添加遮罩层 默认透明度为0.3 | ||
3438 | + shade: [0.1, '#00000000'], | ||
3439 | + //是否点击遮罩关闭 | ||
3440 | + shadeClose: true | ||
3441 | + }); | ||
3442 | + //xwx update 资源视图基本信息弹出框bug修改 2021-10-22 --end | ||
3443 | + window.detailTips = detailTips; | ||
3444 | + } | ||
3443 | }); | 3445 | }); |
3444 | // ,function () { | 3446 | // ,function () { |
3445 | // layer.close(detailTips); | 3447 | // layer.close(detailTips); |
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | <div class="layui-card-body"> | 6 | <div class="layui-card-body"> |
7 | <div class="lay-row"> | 7 | <div class="lay-row"> |
8 | <div class="lay-row-item"> | 8 | <div class="lay-row-item"> |
9 | - <h5 class="lay-row-title">基本信息</h5> | 9 | + <h5 class="lay-row-title">基本信息<i data-id="nginx_jbxx" class="iconfont detail_base_info"></i></h5> |
10 | <ul class="info-table" id="nginx_jbxx"> | 10 | <ul class="info-table" id="nginx_jbxx"> |
11 | </ul> | 11 | </ul> |
12 | </div> | 12 | </div> |
-
Please register or login to post a comment