Unverified 提交 a67ffcc4 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw 提交者: GitHub

Merge pull request #1511 from dataease/pr@dev@style_mobile_filter_panel

style: 移动端适配布局
...@@ -106,10 +106,19 @@ export default { ...@@ -106,10 +106,19 @@ export default {
if (height < min) { if (height < min) {
// console.log(titleWidth) // console.log(titleWidth)
this.mainClass = 'condition-main-line' this.mainClass = 'condition-main-line'
deContentContainer && (deContentContainer.style.inset = '0 0 0 ' + (titleWidth + 15) + 'px') /* deContentContainer && (deContentContainer.style.inset = '0 0 0 ' + (titleWidth + 15) + 'px') */
if (deContentContainer) {
deContentContainer.style.top = '0px'
deContentContainer.style.marginLeft = (titleWidth + 15) + 'px'
}
} else { } else {
this.mainClass = '' this.mainClass = ''
deContentContainer && (deContentContainer.style.inset = '33px 0px 0px') /* deContentContainer && (deContentContainer.style.inset = '33px 0px 0px') */
if (deContentContainer) {
deContentContainer.style.top = '33px'
deContentContainer.style.marginLeft = '0px'
}
} }
}) })
}) })
...@@ -122,15 +131,27 @@ export default { ...@@ -122,15 +131,27 @@ export default {
.my-container { .my-container {
position: absolute; position: absolute;
overflow: auto; overflow: auto;
inset: 0px; /* inset: 0px; */
top:0px;
right: 0px;
bottom: 0px;
left: 0px;
} }
.ccondition-main { .ccondition-main {
position: absolute; position: absolute;
overflow: auto; overflow: auto;
inset: 0px; /* inset: 0px; */
top:0px;
right: 0px;
bottom: 0px;
left: 0px;
} }
.condition-title { .condition-title {
inset: 0; /* inset: 0; */
top:0px;
right: 0px;
bottom: 0px;
left: 0px;
position: absolute; position: absolute;
height: 35px; height: 35px;
cursor: -webkit-grab; cursor: -webkit-grab;
...@@ -145,7 +166,9 @@ export default { ...@@ -145,7 +166,9 @@ export default {
} }
.condition-title-absolute { .condition-title-absolute {
inset: 0px 0px; /* inset: 0px 0px; */
right: 0px;
bottom: 0px;
position: absolute; position: absolute;
top: 15px; top: 15px;
left: 4px; left: 4px;
...@@ -159,7 +182,11 @@ export default { ...@@ -159,7 +182,11 @@ export default {
.condition-content { .condition-content {
overflow: auto hidden; overflow: auto hidden;
inset: 33px 0px 0px; /* inset: 33px 0px 0px; */
top: 33px;
left: 0px;
right: 0px;
bottom: 0px;
position: absolute; position: absolute;
letter-spacing: 0px!important; letter-spacing: 0px!important;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论