Skip to content

Commit 0c39314

Browse files
author
hikki
committed
搜索优化
1 parent db50b0a commit 0c39314

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/assets/component.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
.dlp-table tfoot>tr{height: 40px!important}
156156
.dlp-table .operate-column{width:45px;text-align: center}
157157

158-
.dlp-plane{
158+
#dlp-plane>div{
159159
position: relative;
160160
margin: 30px auto;
161161
}
@@ -172,9 +172,9 @@
172172
-webkit-overflow-scrolling: touch;
173173
outline: 0;
174174
}
175-
.dlp-plane>.plane-header{
175+
#dlp-plane .plane-header{
176176
background-color: rgb(44 44 44); padding: 3px; display: flex; justify-content: flex-end;border-bottom: 1px solid #e5e5e5;border-radius: 3px 3px 0 0;
177177
}
178-
.dlp-plane>.plane-body{
178+
#dlp-plane .plane-body{
179179
background-color: rgb(244, 244, 244); padding: 0; overflow-y: auto;border-radius: 0 0 3px 3px;box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.4)!important;
180180
}

resources/assets/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ class ComponentPlane {
790790
}
791791

792792
makeModal() {
793-
let html = `<div id="dlp-plane" class="dlp-plane-gauze"><div class="dlp-plane" style="width: ${window.innerWidth * this.OPTIONS.W}px;"><div class="dlp plane-header"></div><div class="plane-body dlp-scroll" style="max-height:${window.innerHeight * this.OPTIONS.H}px;min-height:${window.innerHeight * this.OPTIONS.H / 2}px;"></div></div></div>`;
793+
let html = `<div id="dlp-plane" class="dlp-plane-gauze"><div style="width: ${window.innerWidth * this.OPTIONS.W}px;"><div class="dlp plane-header"></div><div class="plane-body dlp-scroll" style="max-height:${window.innerHeight * this.OPTIONS.H}px;min-height:${window.innerHeight * this.OPTIONS.H / 2}px;"></div></div></div>`;
794794
document.body.insertAdjacentHTML('beforeEnd', html);
795795
this.DOM = document.getElementById('dlp-plane');
796796
/*X*/

0 commit comments

Comments
 (0)