mac 2 years ago
parent
commit
313766d608
  1. 7
      components/NavBar/NavBar.vue

7
components/NavBar/NavBar.vue

@ -11,7 +11,8 @@
<view class="_nav-real"
:style="{'height':navHeight,'width':'calc('+enableWidth+' - 9px)' ,'margin-left':'9px'}">
<view class="_navIcon2">
<image src="../../static/wx_back.png" style="width: 20px;height: 20px;"></image>
<image v-if="showIcon" src="../../static/wx_back.png"
style="width: 20px;height: 20px;padding-right: 6px;" @click="clickIcon"></image>
</view>
<!-- 标题布局 -->
<view class="_nav-title2" :style="{'font-size':fontSize}">{{navTitle}}</view>
@ -28,7 +29,8 @@
<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;"></image>
<image v-if="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}">
@ -214,6 +216,5 @@
flex-direction: row;
align-items: center;
flex-shrink: 0;
padding-right: 6px;
}
</style>
Loading…
Cancel
Save