Browse Source

优化长宽

zhengkaixin 1 year ago
parent
commit
4fda084e52

+ 1 - 1
pages/main/index/index.vue

@@ -463,7 +463,7 @@
 							font-size: 24rpx;
 							font-size: 24rpx;
 							text-align: center;
 							text-align: center;
 							margin-right: 12rpx;
 							margin-right: 12rpx;
-							padding: 0 12rpx;
+							padding: 0 8rpx;
 						}
 						}
 					}
 					}
 
 

+ 22 - 12
pages/packages/mine/employmentService/receiveRegistration.vue

@@ -24,11 +24,18 @@
 						<view class="positon">
 						<view class="positon">
 							{{item.jobInformationInfo.intendedIndustriesN}}
 							{{item.jobInformationInfo.intendedIndustriesN}}
 						</view>
 						</view>
+						
+						<view class="btncheck" @click="ckInfo(item,0)">
+							查看
+						</view>
+					</view>
+					<view class="tags-date">
+						
 						<view class="salary">
 						<view class="salary">
 							{{item.jobInformationInfo.hopeSalary}}元/天
 							{{item.jobInformationInfo.hopeSalary}}元/天
 						</view>
 						</view>
-						<view class="btncheck" @click="ckInfo(item,0)">
-							查看
+						<view class="date">
+							{{getTime(item)}}
 						</view>
 						</view>
 					</view>
 					</view>
 					<view class="tags-date">
 					<view class="tags-date">
@@ -47,9 +54,7 @@
 								{{item.jobInformationInfo.workExperienceN}}
 								{{item.jobInformationInfo.workExperienceN}}
 							</view>
 							</view>
 						</view>
 						</view>
-						<view class="date">
-							{{getTime(item)}}
-						</view>
+						
 					</view>
 					</view>
 				</view>
 				</view>
 					
 					
@@ -58,7 +63,7 @@
 				<u-line color="#E6E6E6"></u-line>
 				<u-line color="#E6E6E6"></u-line>
 				<view class="buttons">
 				<view class="buttons">
 					<view class=" view">
 					<view class=" view">
-						{{item.recruitInformationInfo.positionName}}-{{item.recruitInformationInfo.salary}}元/天
+						{{item.recruitInformationInfo.positionName}}-<span class="salary">{{item.recruitInformationInfo.salary}}元/天</span>
 					</view>
 					</view>
 					<view class="btn check" @click="ckInfo(item,1)">
 					<view class="btn check" @click="ckInfo(item,1)">
 						岗位查看
 						岗位查看
@@ -201,21 +206,26 @@
 		.infos{
 		.infos{
 			flex: 1;
 			flex: 1;
 		}
 		}
+		.salary{
+			color: rgba(255, 61, 0, 1);
+			font-size: 32rpx;
+			font-family: 'PingFangSC-medium';
+		}
 		.positon-salary{
 		.positon-salary{
 			display: flex;
 			display: flex;
 			justify-content: space-between;
 			justify-content: space-between;
 			align-items: center;
 			align-items: center;
 			.positon{
 			.positon{
+				width: 400rpx;
+				
 				color: rgba(16, 16, 16, 1);
 				color: rgba(16, 16, 16, 1);
 				font-size: 36rpx;
 				font-size: 36rpx;
-				
-				font-family: 'PingFangSC-medium';
-			}
-			.salary{
-				color: rgba(255, 61, 0, 1);
-				font-size: 32rpx;
+				overflow: hidden;        /*内容会被修剪,并且其余内容是不可见的*/
+				    text-overflow:ellipsis;  /*显示省略符号来代表被修剪的文本。*/
+				    white-space: nowrap;     /*文本不换行*/
 				font-family: 'PingFangSC-medium';
 				font-family: 'PingFangSC-medium';
 			}
 			}
+			
 			.btncheck{
 			.btncheck{
 				width: 120rpx;
 				width: 120rpx;
 				height: 56rpx;
 				height: 56rpx;

+ 4 - 2
pages/packages/search/search.vue

@@ -824,7 +824,8 @@
 						display: flex;
 						display: flex;
 			
 			
 						.tag-item {
 						.tag-item {
-							padding: 0 16rpx;
+							
+							padding: 0 8rpx;
 							height: 36rpx;
 							height: 36rpx;
 							line-height: 36rpx;
 							line-height: 36rpx;
 							border-radius: 4px;
 							border-radius: 4px;
@@ -882,7 +883,8 @@
 						font-size: 24rpx;
 						font-size: 24rpx;
 						text-align: center;
 						text-align: center;
 						margin-right: 12rpx;
 						margin-right: 12rpx;
-						padding: 0 12rpx;
+						
+						padding: 0 8rpx;
 					}
 					}
 				}
 				}
 	
 	

+ 2 - 1
pages/tab/jobInformation/jobInformation.vue

@@ -459,7 +459,8 @@
 						font-size: 24rpx;
 						font-size: 24rpx;
 						text-align: center;
 						text-align: center;
 						margin-right: 12rpx;
 						margin-right: 12rpx;
-						padding: 0 12rpx;
+						
+						padding: 0 8rpx;
 					}
 					}
 				}
 				}