修改手机端层级显示
parent
c50f4d2d18
commit
12bb145f74
|
|
@ -363,7 +363,7 @@
|
|||
.header-container {
|
||||
width: 100%;
|
||||
.header-around {
|
||||
z-index: 4;
|
||||
z-index: 11;
|
||||
}
|
||||
.model-top {
|
||||
.roll {
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@
|
|||
// 层级
|
||||
propZIndex: {
|
||||
type: Number,
|
||||
default: 2,
|
||||
default: 11,
|
||||
},
|
||||
// 自定义导航栏高度
|
||||
propCustomNavHeight: {
|
||||
|
|
|
|||
|
|
@ -139,13 +139,13 @@
|
|||
// 判断选项卡是否置顶
|
||||
let other_style = this.propTop;
|
||||
|
||||
let new_tabs_top_style = this.propNavIsTop || this.propTabsIsTop || new_content.tabs_top_up == '1' ? (new_content.tabs_top_up == '1' ? 'top:calc(' + other_style + 'px);z-index:3;' : '') : '';
|
||||
let new_tabs_top_style = this.propNavIsTop || this.propTabsIsTop || new_content.tabs_top_up == '1' ? (new_content.tabs_top_up == '1' ? 'top:calc(' + other_style + 'px);z-index:11;' : '') : '';
|
||||
let new_top_up = new_content.tabs_top_up;
|
||||
// #ifdef H5 || MP-TOUTIAO
|
||||
if (this.propTabsIsTop) {
|
||||
other_style = '0';
|
||||
}
|
||||
new_tabs_top_style = 'top:calc(' + other_style + 'px);z-index:3;';
|
||||
new_tabs_top_style = 'top:calc(' + other_style + 'px);z-index:11;';
|
||||
new_top_up = this.propNavIsTop || this.propTabsIsTop ? new_content.tabs_top_up : '0';
|
||||
// #endif
|
||||
let tabs_bg = new_style.common_style.color_list;
|
||||
|
|
@ -209,7 +209,7 @@
|
|||
|
||||
<style lang="scss" scoped>
|
||||
.tabs-container {
|
||||
z-index: 2;
|
||||
z-index: 11;
|
||||
.tabs-top {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue