111
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<view class="_navLayout" :style="{background: navBackground,'height':_height}">
|
<view class="_navLayout" :style="{background: navBackground,'height':_height}">
|
||||||
<view :style="{'height':_height3}"></view>
|
<view :style="{'height':_height3}"></view>
|
||||||
<view class="_nav-real" :style="{'height':_height2}">
|
<view class="_nav-real" :style="{'height':_height2}">
|
||||||
<view class="_navText">登录</view>
|
<view class="_navText">{{navTitle}}</view>
|
||||||
<image v-if="showIcon" class="_navIcon" src="../../static/wx_back.png" @click="clickIcon">
|
<image v-if="showIcon" class="_navIcon" src="../../static/wx_back.png" @click="clickIcon">
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
@@ -19,6 +19,11 @@
|
|||||||
export default {
|
export default {
|
||||||
name: "NavBar",
|
name: "NavBar",
|
||||||
props: {
|
props: {
|
||||||
|
// 标题
|
||||||
|
navTitle: {
|
||||||
|
type: String,
|
||||||
|
default: ""
|
||||||
|
},
|
||||||
// 是否支持透明
|
// 是否支持透明
|
||||||
supportChange: {
|
supportChange: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
Reference in New Issue
Block a user