Browse Source

标题浮动

zhengkaixin 1 year ago
parent
commit
cebf8fafe4
1 changed files with 14 additions and 5 deletions
  1. 14 5
      pagesFinance/statistics/index.vue

+ 14 - 5
pagesFinance/statistics/index.vue

@@ -1,11 +1,13 @@
 <template>
 	<view>
-		<view class="top-cover">
+		<view class="top-cover">
+			<view>
 			<view class="navbar-tit">
 				<text><img src="../../assets/img/titleIcon.svg" alt=""></text>
 				{{title}}{{info.accountType==3?'':'运管中心'}}
 			</view>
-
+			<uni-view  class="u-navbar-placeholder" style="width: 100%; height: 88rpx;"></uni-view>
+			</view>
 			<view class="income">
 				<!-- 今日收入 -->
 				<view  class="today-queryHeadTime">{{queryHeadTime}}</view>
@@ -2180,9 +2182,16 @@
 		font-size: 20px;
 		line-height: 20px;
 		padding-left: 15px;
-		padding-top: 10px;
+		padding-top: 10px;
+		padding-bottom: 4px;
 		font-weight: bold;
-
+		position: fixed;
+		  border-bottom: 1px solid #fff;
+		    left: 0;
+		    right: 0;
+		    top: 0;
+		    z-index: 991;
+			background-color: #00b962;
 		text {
 			margin-right: 8rpx;
 		}
@@ -2302,7 +2311,7 @@
 		background: linear-gradient(179.94deg, rgba(0, 185, 98, 1) 71.55%, rgba(0, 196, 104, 0) 99.35%);
 
 		.income {
-			padding: 64rpx 32rpx 24rpx 32rpx;
+			padding: 44rpx 32rpx 24rpx 32rpx;
 			color: rgba(255, 255, 255, 1);
 			.today-queryHeadTime{
 				text-align: center;