|
|
@ -3,7 +3,7 @@ |
|
|
|
<view class="_navLayout" :style="{background: navBackground,'height':_height}"> |
|
|
|
<view :style="{'height':_height3}"></view> |
|
|
|
<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> |
|
|
|
</view> |
|
|
@ -19,6 +19,11 @@ |
|
|
|
export default { |
|
|
|
name: "NavBar", |
|
|
|
props: { |
|
|
|
// 标题 |
|
|
|
navTitle: { |
|
|
|
type: String, |
|
|
|
default: "" |
|
|
|
}, |
|
|
|
// 是否支持透明 |
|
|
|
supportChange: { |
|
|
|
type: Boolean, |
|
|
|