111
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
<view class="_nav-real" :style="{'height':navHeight,'width':enableWidth}">
|
||||
<!-- 按键区域,占用为不可用的宽度 -->
|
||||
<view class="_navIcon" :style="{'width':disableWidth,'height':navHeight}">
|
||||
<image v-if="showIcon" src="../../static/wx_back.png" style="width: 23px;height: 23px;"
|
||||
@click="clickIcon"></image>
|
||||
<image v-if="!nativeNavNoRemove&&showIcon" src="../../static/wx_back.png"
|
||||
style="width: 23px;height: 23px;" @click="clickIcon"></image>
|
||||
</view>
|
||||
<!-- 标题布局 -->
|
||||
<view class="_nav-title" :style="{'height':navHeight,'line-height':navHeight,'font-size':fontSize}">
|
||||
{{navTitle}}
|
||||
{{nativeNavNoRemove?"":navTitle}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -103,7 +103,8 @@
|
||||
enableWidth: 0,
|
||||
enableHeight: 0,
|
||||
fontSize: 0,
|
||||
navStyle: 'left'
|
||||
navStyle: 'left',
|
||||
nativeNavNoRemove: true,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
@@ -131,6 +132,7 @@
|
||||
this.enableWidth = navInfo.navBar.enableWidth + navInfo.unit
|
||||
this.enableHeight = navInfo.navBar.enableHeight + navInfo.unit
|
||||
this.fontSize = navInfo.navBar.fontSize + navInfo.unit
|
||||
this.nativeNavNoRemove = navInfo.menuButton.nativeNavNoRemove
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user