This commit is contained in:
mac
2023-12-04 21:22:28 +08:00
parent 313766d608
commit fe0388502f

View File

@@ -15,7 +15,9 @@
style="width: 20px;height: 20px;padding-right: 6px;" @click="clickIcon"></image>
</view>
<!-- 标题布局 -->
<view class="_nav-title2" :style="{'font-size':fontSize}">{{navTitle}}</view>
<view class="_nav-title2" :style="{'height':navHeight,'line-height':navHeight,'font-size':fontSize}">
{{navTitle}}
</view>
</view>
</view>
@@ -114,7 +116,7 @@
}
}
// 赋值样式
this.navStyle = getApp().globalData.navInfo.navBar.style
// this.navStyle = getApp().globalData.navInfo.navBar.style
},
created() {
// create阶段能拿取到了props的值,需要使用this.变量名