|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="navbar" |
|
|
|
|
|
:style="{backgroundColor : bgColor}"> |
|
|
|
|
|
|
|
|
<!-- <view class="navbar" |
|
|
|
|
|
:style="{backgroundColor : bgColor}"> --> |
|
|
<view class="title" |
|
|
<view class="title" |
|
|
:style="{backgroundColor : bgColor}"> |
|
|
:style="{backgroundColor : bgColor}"> |
|
|
<view class="left"> |
|
|
<view class="left"> |
|
@ -34,7 +34,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- </view> --> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
@ -81,13 +81,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.navbar{ |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 120rpx; |
|
|
|
|
|
padding-top: var(--status-bar-height); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// .navbar{ |
|
|
|
|
|
// width: 100%; |
|
|
|
|
|
// height: 120rpx; |
|
|
|
|
|
// padding-top: var(--status-bar-height); |
|
|
|
|
|
// } |
|
|
.title{ |
|
|
.title{ |
|
|
position: fixed; |
|
|
|
|
|
|
|
|
position: sticky; |
|
|
top: 0; |
|
|
top: 0; |
|
|
left: 0; |
|
|
left: 0; |
|
|
padding-top: calc(var(--status-bar-height) + 20rpx); |
|
|
padding-top: calc(var(--status-bar-height) + 20rpx); |
|
|