diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index c1970b61..c12df44e 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -364,7 +364,13 @@ - + + +
- - -
-
- {{ col.label }} -
-
-
+ + +
+
+ {{ col.label }}
@@ -582,7 +572,14 @@ export default { if (event.target && event.target.closest(".action-more")) { return; } + if (event.target && event.target.closest(".col-setting-float-panel")) { + return; + } this.openedActionMenu = null; + this.columnSettingVisible = false; + }, + openColumnSetting() { + this.columnSettingVisible = !this.columnSettingVisible; }, check_add(){ let that = this; @@ -1471,7 +1468,17 @@ tbody tr:nth-child(odd) .sticky-cell{ .more-menu-btn:hover{ background: #fef0f0; } -.col-setting-panel{ +.col-setting-float-panel{ + position: absolute; + right: 0; + top: 35px; + z-index: 100; + background: #fff; + border: 1px solid #ebeef5; + border-radius: 4px; + box-shadow: 0 2px 12px rgba(0,0,0,0.12); + padding: 8px 12px; + min-width: 150px; max-height: 300px; overflow-y: auto; }