Browse Source

wgy改的 + 样式修改

tanxue 3 weeks ago
parent
commit
f084a6564a
2 changed files with 18 additions and 6 deletions
  1. 16 4
      common/styles/global/pages.scss
  2. 2 2
      pages/admin/Jiazheng/banzhengXinxiList.vue

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

@@ -662,8 +662,8 @@
 	}
 	
 	.content-lx-box{
-		display: flex;align-items: center;
-		.content-lx-item{border: 1rpx solid #ccc;color: #888;font-size: 24rpx;margin-right: 16rpx;
+		display: flex;align-items: center;flex-wrap: wrap;max-height: 100rpx;overflow: hidden;
+		.content-lx-item{border: 1rpx solid #ccc;color: #888;font-size: 24rpx;margin-right: 16rpx;margin-top: 12rpx;
 		border-radius: 6rpx;padding: 4rpx 10rpx 5rpx;box-sizing: border-box;line-height: 1;}
 	}
 }
@@ -702,7 +702,13 @@
 }	
 /*** 家政人员管理 ***/
 .admin-jiazheng-page{
-	height: 100vh;background-color: #f8f9fd;display: flex;flex-direction: column;
+	background-color: #f8f9fd;display: flex;flex-direction: column;
+	/*  #ifdef  H5  */
+	height: calc(100vh - 80rpx);
+	/*  #endif  */
+	/*  #ifdef  APP-PLUS  */
+	height: 100vh;
+	/*  #endif  */
 	.jz-content-box{flex: 1;overflow: auto;}
 	.form-top-margin{margin-top: 20rpx;}
 	.upload-img-box{background-color: #fff;padding: 20rpx 0;margin: 20rpx 0;}
@@ -943,7 +949,13 @@
 
 /*** 家政人员简历 ***/
 .phone-jianli-page{
-	width: 100%;height: 100vh;background-color: #f8f9fd;display: flex;flex-direction: column;
+	width: 100%;background-color: #f8f9fd;display: flex;flex-direction: column;
+	/*  #ifdef  H5  */
+	height: calc(100vh - 80rpx);
+	/*  #endif  */
+	/*  #ifdef  APP-PLUS  */
+	height: 100vh;
+	/*  #endif  */
 	.right-icon-delete-btn{
 		width: 35rpx;height: 35rpx;@include ezy-no-repeat-cover();margin-right: 10rpx;
 		background-image: url("@/static/images/common/clear-icon.svg");

+ 2 - 2
pages/admin/Jiazheng/banzhengXinxiList.vue

@@ -15,10 +15,10 @@
 				<view class="bzxx-time-row"><icon class="time-icon"></icon><text>申报时间:{{item.createTime}}</text></view>
 			</view>
 		</view>
-		<view v-if="list.length>0" class="bzxx-btn-box">
+		<view v-if="list.length>0 && status!='edit'" class="bzxx-btn-box">
 			<button type="default" v-if="status!='edit'"  @click="saveBanzheng" class="phone-green-btn">保存</button>
 		</view>
-		<view v-else class="bzxx-add-btn-box">
+		<view v-if="list.length==0" class="bzxx-add-btn-box">
 			<view  @click="addBanzheng" class="bzxx-add-btn"><text>+</text>添加办证信息</view>
 		</view>
 	</view>