wong1988 2 years ago
parent
commit
bc58c2ca75
  1. 7
      components/NavBar/NavBar.vue

7
components/NavBar/NavBar.vue

@ -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,

Loading…
Cancel
Save