下钻弹窗最小高度100vh-34px

This commit is contained in:
mll
2026-02-10 13:39:19 +08:00
parent 56be3971e4
commit 5b39799d01
2 changed files with 6 additions and 5 deletions

View File

@@ -507,7 +507,8 @@ export default {
data.forEach((el) => { data.forEach((el) => {
if (el.relactiveDomValue != currentData.value&&el.name!=='drill_drown_setting') { if (el.relactiveDomValue != currentData.value&&el.name!=='drill_drown_setting') {
this.inputShow[el.name] = false; this.inputShow[el.name] = false;
console.log(el.name) }else if(el.name==='drill_drown_setting'){
this.inputShow[el.name] = el.relactiveDomValue == this.formData[el.relactiveDom];
} }
}); });
}, },
@@ -520,9 +521,7 @@ export default {
this.formData[this.options[i].name] = this.deepClone( this.formData[this.options[i].name] = this.deepClone(
this.options[i].value this.options[i].value
); );
if(this.options[i].name=="is_drill_drown"&&this.formData[this.options[i].name]){
this.inputShow['drill_drown_setting']=true
}
} else if (Object.prototype.toString.call(obj) == "[object Array]") { } else if (Object.prototype.toString.call(obj) == "[object Array]") {
for (let j = 0; j < obj.length; j++) { for (let j = 0; j < obj.length; j++) {
const list = obj[j].list; const list = obj[j].list;

View File

@@ -137,10 +137,12 @@ export default {
.layout { .layout {
width: 100%; width: 100%;
height: auto;
text-align: center; text-align: center;
overflow:hidden overflow:hidden
} }
.drillDrownViewLayout{
min-height: calc(100vh - 34px) !important;
}
.bottom-text { .bottom-text {
width: 100%; width: 100%;
color: #a0a0a0; color: #a0a0a0;