|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view>
|
|
<view>
|
|
- <view class="wx-head-mod" :style="{height:navHeight+'rpx',background:background}">
|
|
|
|
|
|
+ <view class="wx-head-mod" :style="{height:navHeight+'rpx',background:navBackground}">
|
|
<view class="wx-head-mod-nav" :style="{height:navigationBarHeight+'rpx',top:statusBarHeight+'rpx'}">
|
|
<view class="wx-head-mod-nav" :style="{height:navigationBarHeight+'rpx',top:statusBarHeight+'rpx'}">
|
|
<view class="wx-head-mod-nav-content"
|
|
<view class="wx-head-mod-nav-content"
|
|
:style="{height:customHeight+'rpx',justifyContent:'left'}">
|
|
:style="{height:customHeight+'rpx',justifyContent:'left'}">
|
|
@@ -32,7 +32,8 @@
|
|
customHeight: 0, //胶囊高度
|
|
customHeight: 0, //胶囊高度
|
|
scaleFactor: 0, //比例系数
|
|
scaleFactor: 0, //比例系数
|
|
menubarLeft:0, //胶囊定位的左边left
|
|
menubarLeft:0, //胶囊定位的左边left
|
|
- windowWidth: 0
|
|
|
|
|
|
+ windowWidth: 0,
|
|
|
|
+ navBackground:null
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -52,6 +53,8 @@
|
|
this.customHeight = SystemInfomations.menuButtonHeight //胶囊高度
|
|
this.customHeight = SystemInfomations.menuButtonHeight //胶囊高度
|
|
this.menubarLeft = SystemInfomations.menuButtonLeft //胶囊左边界距离左上角的距离
|
|
this.menubarLeft = SystemInfomations.menuButtonLeft //胶囊左边界距离左上角的距离
|
|
// #endif
|
|
// #endif
|
|
|
|
+ this.navBackground = this.background?this.background:'rgba(255,255,255,0)'
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|