equip.scss 5.02 KB
.page{
	width: 100%;
	height: 100vh;
	background-color: #f9f9f9;
	overflow-y: scroll;
}
.top{
	width: 100%;
	height: 100rpx;
	border-bottom: 1px solid gray;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	position: fixed;
	top: 0;
	background-color: white;
	z-index: 2;
}
.supply{
	font-size: 35rpx;
}
.demand{
	font-size: 35rpx;
}
.act{
	font-weight: bold;
	color: #E60012;
}
.main{
	position: relative;
	.top {
		margin: 20rpx;
		padding-top: 30rpx;
		display: flex;
		justify-content: space-between;
		image {
			width: 350rpx;
			height: 200rpx;
		}
	}
	.star_box{
		width: 100%;
		// height: 300rpx;
		height: 408rpx;
		background-color: #FFFFFF;
		overflow: hidden;
		margin-bottom: 20rpx;
		>.title_box{
			// width: 90%;
			// margin: 0 auto;
			margin: 0 20rpx;
			margin-top: 26.29rpx;
			margin-bottom: 23rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			>.right{
				display: flex;
				align-items: center;
				>.redDian{
					width: 12rpx;
					height: 25rpx;
					background: #E60012;
					box-shadow: inset 0rpx 4rpx 9rpx 0rpx rgba(255,255,255,0.42), 5rpx 7rpx 9rpx 0rpx rgba(230,0,18,0.2784);
					border-radius: 191rpx 191rpx 191rpx 191rpx;
					margin-right: 21rpx;
				}
				>span{
					font-size: 28rpx;
					font-family: Source Han Sans, Source Han Sans;
					font-weight: 600;
					color: #3D3D3D;
					line-height: 37rpx;
				}
			}
			>p{
				font-size: 21rpx;
				font-family: Source Han Sans, Source Han Sans;
				font-weight: 400;
				color: #C1C1C1;
				line-height: 30rpx;
				display: flex;
				align-items: center;
				>image{
					display: block;
					width: 17rpx;
					height: 17rpx;
					margin-left: 7rpx;
				}
			}
		}
	}
	.all_box{
		width: 100%;
		background-color: #FFFFFF;
		overflow: hidden;
		>.title_box{
			// width: 90%;
			// margin: 0 auto;
			margin: 0 20rpx;
			margin-top: 26.29rpx;
			margin-bottom: 23rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			>.right{
				display: flex;
				align-items: center;
				>.redDian{
					width: 12rpx;
					height: 25rpx;
					background: #E60012;
					box-shadow: inset 0rpx 4rpx 9rpx 0rpx rgba(255,255,255,0.42), 5rpx 7rpx 9rpx 0rpx rgba(230,0,18,0.2784);
					border-radius: 191rpx 191rpx 191rpx 191rpx;
					margin-right: 21rpx;
				}
				>span{
					font-size: 28rpx;
					font-family: Source Han Sans, Source Han Sans;
					font-weight: 600;
					color: #3D3D3D;
					line-height: 37rpx;
				}
			}
			>p{
				font-size: 21rpx;
				font-family: Source Han Sans, Source Han Sans;
				font-weight: 400;
				color: #C1C1C1;
				line-height: 30rpx;
				display: flex;
				align-items: center;
				>image{
					display: block;
					width: 17rpx;
					height: 17rpx;
					margin-left: 7rpx;
				}
			}
		}
		>.item_box{
			margin: 0 20rpx;
			margin-top: 30rpx;
			display: flex;
			justify-content: flex-start;
			padding-bottom: 32rpx;
			border-bottom: 1rpx solid rgba(200, 210, 223, .5);
			
			>image{
				width: 127rpx;
				height: 127rpx;
				margin-right: 21rpx;
			}
			>.right{
				width: 516rpx;
				>p{
					width: 100%;
					white-space: wrap; /* 不换行 */
					overflow: hidden; /* 隐藏超出部分 */
					text-overflow: ellipsis; /* 添加省略号 */
					font-size: 28rpx;
					font-family: Source Han Sans, Source Han Sans;
					font-weight: 500;
					color: #3D3D3D;
					line-height: 40rpx;
				}
				>.detail_limit{
					display: -webkit-box; /* 必须 */
					overflow: hidden; /* 必须 */
					text-overflow: ellipsis; /* 必须 */
					white-space: normal !important; /* 非常重要 */
					word-wrap: break-word; /* 非常重要 */
					// line-height: 1.2em; /* 根据需求调整 */
					max-height: 3.6em; /* 根据需求调整 */
					-webkit-line-clamp: 2; /* 根据需求调整 */
					-webkit-box-orient: vertical; /* 必须 */
					-webkit-box-align: start; /* 必须 */
					-webkit-box-pack: center; /* 必须 */
					font-size: 25rpx;
					font-family: Source Han Sans, Source Han Sans;
					font-weight: 400;
					color: #808080;
					line-height: 35rpx;
					margin-top: 20rpx;
				}
			}
		}
	}
}
.search-head {
	// position: fixed;
	// left: 0;
	// top: 100rpx;
	// /* #ifdef H5 */
	// top: 178rpx;
	// /* #endif */
	// z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	/* #ifdef APP-PLUS */
	// height: calc(120rpx + var(--status-bar-height));
	/* #endif */
	padding: 20rpx;
	background-color: #F4F4F4;
	.search {
		display: flex;
		align-items: center;
		width: 100%;
		height: 80rpx;
		background: rgba(255, 255, 255, 1);
		border: 0;
		border-radius: 30rpx;
		padding:0 25rpx;
		image {
			width: 34rpx;
			height: 34rpx;
		}
		text{
			width: 2rpx;
			height: 24rpx;
			background-color:#D8D8D8;
			margin: 0 18rpx;
		}
		input {
			width: 58%;
			height: 100%;
			font-size: 28rpx;
			color: #646464;
		}
	}
	.btn {
		display: flex;
		align-items: center;
		justify-content: center;
		// position: absolute;
		// right: 30rpx;
		background-color: #D32D25;
		border-radius: 100rpx;
		padding: 12rpx 25rpx;
		text {
			font-size: 28rpx;
			color: #fff;
		}
	}
}