tanxue пре 1 недеља
родитељ
комит
909f5c0150
2 измењених фајлова са 5 додато и 6 уклоњено
  1. 5 4
      common/styles/global/pages.scss
  2. 0 2
      pages/admin/Jiazheng/index.vue

+ 5 - 4
common/styles/global/pages.scss

@@ -622,8 +622,9 @@
 }
 /*** 家政人员列表 ***/
 .admin-jiazheng-list{
-	width: 100%;height: 100vh;position: relative;
-	.jz-scroll-view{height: calc(100vh - 220rpx - var(--status-bar-height));}
+	width: 100%;height: 100vh;position: relative;display: flex;flex-direction: column;
+	.phone-navBar-box,.jiazheng-search-box,.list-new-btn-box{flex-shrink: 0;}
+	.jz-scroll-view{flex: 1;overflow-y: auto;padding-bottom: 120rpx;}
 	.all-type-box{
 		position: absolute;top: 80rpx;left: 0;right: 0;bottom: 0;
 		z-index: 2;background-color: rgba(0,0,0,0.3);
@@ -656,8 +657,8 @@
 			.card-img-box{width: 180rpx;height: 240rpx;display: flex;align-items: center;margin-right: 24rpx;flex-shrink: 0;overflow: hidden;border-radius: 8rpx;}
 			img{width: 180rpx;height: 240rpx;}
 			.content-text-row{
-				display: flex;justify-content: space-between;font-size: 30rpx;color: #333;line-height: 46rpx;
-				.text-status{font-size: 26rpx;color: #3fd2a1;border: 1rpx solid #3fd2a1;padding: 0 12rpx;border-radius: 8rpx;}
+				display: flex;justify-content: space-between;align-items: center;font-size: 30rpx;color: #333;line-height: 46rpx;
+				.text-status{font-size: 26rpx;color: #3fd2a1;border: 1rpx solid #3fd2a1;padding: 0 12rpx;border-radius: 8rpx;flex-shrink: 0;}
 			}
 		}
 	}

+ 0 - 2
pages/admin/Jiazheng/index.vue

@@ -36,7 +36,6 @@
 		<view v-if="isZijiazhengFlag !='true'" class="list-new-btn-box">
 			<button type="default" class="phone-green-btn" @click="addJiazhengRenyuan">新增人员</button>
 		</view>
-		<view>
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" @scrolltolower="onScrolltolower" refresher-background="transparent"
 				@refresherrefresh="onRefresh" class="jz-scroll-view">
@@ -82,7 +81,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 		<view>
 			<search-dialog ref="searchDialogRef" @search-btn="dialogSearchBtn"
 				@reset-search="dialogSearchReset"></search-dialog>