fix: 修复顶上导航栏看起来像是透明的

pull/1/head
GPU is all you need 4 years ago
parent 28d00f8750
commit 0914571cef
  1. 1
      IOReportSysMP/miniprogram/components/navigationBar/navigationBar.scss
  2. 1
      IOReportSysMP/miniprogram/components/navigationBar/navigationBar.wxml

@ -5,6 +5,7 @@
background: var(--navigation-bar-color);
display: flex;
align-items: center;
z-index: 999;
.icon {
margin: 0 4px;
line-height: 16px;

@ -3,6 +3,7 @@
<mp-icon bindtap="onBack" class="icon" type="field" icon="back" color="white" size="{{10}}"></mp-icon>
<text class="navigation-title">{{title}}</text>
</view>
<view class="nav-bar" style="top:0px;background-color: #fff;height:{{navBarHeight - menuHeight}}px;"></view>
<view wx:if="{{onlyStations}}" class="nav-barindex" style="top:{{menuTop}}px;height:{{menuHeight}}px; min-height:{{menuHeight}}px;line-height:{{menuHeight}}px;">
<text class="navigation-title">{{title}}</text>
</view>

Loading…
Cancel
Save