InventoryInfo.scss 1.42 KB
/* components/InventoryInfo/InventoryInfo.wxss */
.inventory-info-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999999;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.popup {
	padding: 48rpx 0 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	max-width: 622rpx;
	background-color: white;
	border-radius: 16rpx;
	overflow: hidden;
	box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1);
}

.popup-header {
	font-size: 32rpx;
	font-style: normal;
	font-weight: 500;
	text-align: center;
	margin-bottom: 48rpx;
}

.popup-title {
	font-size: 32rpx;
	font-weight: 500;
	color: #333;

}

.popup-content {
	padding: 0 48rpx;
}

.info-item {
	padding: 24rpx 0;
	color: #292d33;
	font-size: 28rpx;

	position: relative;

	.item {
		display: flex;
		align-items: flex-start;
		width: calc(100% - 48rpx);

		.key {
			max-width: 130rpx;
			white-space: nowrap;
		}

		.value {
			white-space: wrap;
			word-break: break-word;
			word-wrap: break-word;
		}
	}
}



.copy-btn {
	margin-left: 16rpx;
	padding: 8rpx;
	width: 32rpx;
	height: 32rpx;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);

	image {
		width: 100%;
	}
}



.popup-footer {
	padding: 30rpx;
	text-align: center;
	border-top: 1rpx solid #EBEDF0;
}

.close-btn {
	width: 100%;
	font-size: 32rpx;
	color: #333;
}