Commit 6aa6cf42 authored by 张俊's avatar 张俊

修改页面显示遮挡

parent 213a8eef
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
setTimeout(()=>{ setTimeout(()=>{
this.pageResize() this.pageResize()
},100) },100)
this.$emit('open_select',this.openflag)
}, },
pageResize(){ pageResize(){
if(this.$refs.select_item0[0].clientHeight>this.$refs.select_arr_box0[0].clientHeight+2){ if(this.$refs.select_item0[0].clientHeight>this.$refs.select_arr_box0[0].clientHeight+2){
...@@ -163,6 +164,7 @@ export default { ...@@ -163,6 +164,7 @@ export default {
float: left; float: left;
color: #58617a; color: #58617a;
font-size: 14px; font-size: 14px;
cursor: pointer;
} }
.search{ .search{
float: right; float: right;
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<span></span> <span></span>
推荐位管理 推荐位管理
</p> </p>
<screen-type :data="filtdata" @getselect="getselect"></screen-type> <screen-type :data="filtdata" @getselect="getselect" @open_select="open_select"></screen-type>
<div class="select_box_contain"> <div class="select_box_contain" :style="now_open?{height:'calc(100% - 280px)'}:''">
<recommen-box <recommen-box
@change_value="change_value" @change_value="change_value"
:data="item" :data="item"
...@@ -69,6 +69,7 @@ export default { ...@@ -69,6 +69,7 @@ export default {
select_able_arr: [], select_able_arr: [],
selected_arr: [], selected_arr: [],
look_flag: false, look_flag: false,
now_open:false,
}; };
}, },
watch: {}, watch: {},
...@@ -85,6 +86,9 @@ export default { ...@@ -85,6 +86,9 @@ export default {
}, },
mounted() {}, mounted() {},
methods: { methods: {
open_select(val){
this.now_open = val
},
onSubmit(){ onSubmit(){
var temp_str = '' var temp_str = ''
this.selected_arr.forEach((e,idx) => { this.selected_arr.forEach((e,idx) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment