ConstructionDetailModal.sass 2.82 KB
/* components/SelectInvoiceModal/SelectInvoiceModal.wxss */
.modatcontent {
	box-sizing: border-box;
	// margin: var(--fontSize48) 0 0;
	// max-height: 600rpx;
	// overflow-y: scroll;
	margin: 20rpx 0;
	display: flex;
	flex-direction: column;

	.itemContent {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		border-bottom: 1rpx solid #f2f2f3;
		// margin-top: 24rpx;
		margin: 24rpx 2rpx 0;
	}

	.item {
		display: flex;
		align-items: center;
	}

	.itembox {
		box-sizing: border-box;
		padding: 24rpx 48rpx;
		// height: 120rpx;
		display: flex;
		// align-items: center;
		flex-direction: column;

		.subName {
			overflow: hidden; //一定要写
			text-overflow: ellipsis; //超出省略号
			display: -webkit-box; //一定要写
			-webkit-line-clamp: 1; //控制行数
			-webkit-box-orient: vertical; //一定要写
			width: 480rpx;
			height: 40rpx;
			margin-bottom: 18rpx;
		}

		.part {
			display: flex;
			align-items: center;

			.position {
				max-width: 200rpx;
				font-size: 24rpx;
				color: #999EA8;
				margin-right: 16rpx;
				overflow: hidden; //一定要写
				text-overflow: ellipsis; //超出省略号
				display: -webkit-box; //一定要写
				-webkit-line-clamp: 2; //控制行数
				-webkit-box-orient: vertical; //一定要写
			}

			.statusBox {
				font-weight: 500;
				font-size: 18rpx;
				width: 67rpx;
				height: 26rpx;
				color: #35C376;
				border: 1.6rpx solid #35C376;
				border-radius: 4rpx;
				line-height: 26rpx;
				text-align: center;
			}

			.wait {
				color: #FF9D0A;
				border: 1.6rpx solid #FF9D0A;


			}

			.inventory {
				max-width: 200rpx;
				margin-left: 20rpx;
				font-size: 24rpx;
				color: #347bff;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}
		}

	}

	.itembox+.itembox {
		border-top: 1rpx solid #EFF0F2;
	}

	.right {
		.arrow {
			display: inline-block;
			width: 32rpx;
			height: 32rpx;
		}
	}
}



.modal {
	.icon {
		width: 96rpx;
		height: 96rpx;
		margin-right: 30rpx;
	}

	.modalbox {
		display: flex;
		align-items: center;
		box-sizing: border-box;
		width: 522rpx;
		height: 136rpx;
		background: #F7F8FA;
		border-radius: 8rpx;
		font-family: PingFangSC-Medium;
		font-weight: 500;
		font-size: 28rpx;
		color: #292D33;
		padding-left: 24rpx;
		margin: 0 auto;

		&+.modalbox {
			margin-top: 16rpx;
		}

		.txt {
			font-size: 24rpx;
		}
	}

	.act {
		background: #347bff1a;
		border: 2rpx solid #347BFF;
		color: #3582EE;
	}
}

.btnbox {

	// margin-top: 32rpx;
	display: flex;
	justify-content: center;

	.btn {
		width: 250rpx;
		height: 100rpx;
		line-height: 100rpx;
		text-align: center;
		border-radius: 12rpx;
		font-size: 32rpx;
		// margin-bottom: 48rpx;
	}

	.cancel {
		background: #FFFFFF;
		// border: 2rpx solid #DEE0E3;
		color: #222222;
	}

	.confirm {
		color: #FFFFFF;
		background: #347BFF;
		margin-left: 24rpx;
	}
}