/* 筛选栏 */
/* 筛选栏 end */
/* 平台公告 */
/* 系统通知 */
.page-message-platform {
  background: #f2f3f7;
	min-height: 100vh;
	box-sizing: border-box;
	overflow: hidden;
	padding-bottom: env(safe-area-inset-bottom);
	.tab {
		display: flex;
		align-items: center;
		padding: 26rpx 30rpx 30rpx;
		background: #fff;
		box-shadow: 0 6rpx 6rpx rgba(0,0,0,.01);
		border-radius: 0 0 10rpx 10rpx;
		.tab-item {
			position: relative;
			line-height: 44rpx;
			padding: 0 10rpx;
			flex: 1;
			text-align: center;
			font-size: 28rpx;
			color: #999;
			&::after {
				position: absolute;
				bottom: -10rpx;
				left: 40%;
				right: 40%;
				display: block;
				width: auto;
				height: 4rpx;
				border-radius: 4rpx;
				content: " ";
				font-size: 0;
				background: #fff;
			}
		}
		.tab-item.active {
			font-weight: 600;
			color: #000;
			&::after {
				background: linear-gradient(to right, #fc1b35, #fff);
			}
		}
	}
	.notices-box {
		margin-top: 30rpx;
		margin-bottom: 30rpx;
		padding: 0 30rpx;
		margin-top: 30rpx;
		padding: 0 30rpx;
	}
	.platform {
		.item {
			padding: 30rpx;
			border-radius: 10rpx;
			background: #fff;
			margin-top: 30rpx;
		}
	}
	.item {
		&:first-child {
			margin-top: 0;
			margin-top: 0;
		}
		.tit-box {
			display: flex;
			align-items: center;
			.tit {
				margin-right: 20rpx;
				flex: 1;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 1;
				overflow: hidden;
				text-overflow: ellipsis;
				font-size: 28rpx;
				font-weight: 600;
				position: relative;
			}
			.time {
				color: #999;
			}
		}
		.text-box {
			margin: 20rpx 0;
			color: #999;
			max-height: 72rpx;
			line-height: 36rpx;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 2;
			overflow: hidden;
			text-overflow: ellipsis;
			.name {
				flex: 1;
				text-overflow: ellipsis;
				-o-text-overflow: ellipsis;
				-webkit-text-overflow: ellipsis;
				-moz-text-overflow: ellipsis;
				word-break: break-word;
				display: -webkit-box;
				-webkit-line-clamp: 1;
				-webkit-box-orient: vertical;
				overflow: hidden;
			}
			&::v-deep(img) {
				display: block;
				width: 100%;
			}
		}
		.text-arrow {
			padding-top: 20rpx;
			border-top: 2rpx solid #f9f9f9;
			&::after {
				width: 10rpx;
				height: 10rpx;
				top: 72%;
				right: 10rpx;
			}
		}
		.time {
			color: #999;
			text-align: center;
		}
		.item-box {
			background: #fff;
			border-radius: 10rpx;
			padding: 30rpx;
			margin: 20rpx 0 30rpx 0;
			.tit {
				font-size: 28rpx;
				font-weight: 600;
				white-space: nowrap;
				text-overflow: ellipsis;
				overflow: hidden;
				position: relative;
			}
			.text-box {
				margin: 20rpx 0;
				color: #999;
				max-height: 120rpx;
				line-height: 36rpx;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 3;
				overflow: hidden;
				text-overflow: ellipsis;
				padding-right: 30rpx;
			}
			.text-box.text-arrow {
				&::after {
					width: 12rpx;
					height: 12rpx;
					border-color: #999;
					right: 8rpx;
				}
			}
		}
	}
	.item.unread {
		.tit-box {
			.tit {
				padding-left: 20rpx;
				&::before {
					position: absolute;
					left: 0;
					top: 8rpx;
					display: block;
					width: 12rpx;
					height: 12rpx;
					border-radius: 50%;
					content: " ";
					background: #fc1b35;
				}
			}
		}
		.item-box {
			.tit {
				padding-left: 20rpx;
				&::before {
					position: absolute;
					left: 0;
					top: 8rpx;
					display: block;
					width: 12rpx;
					height: 12rpx;
					border-radius: 50%;
					content: " ";
					background: #fc1b35;
				}
			}
		}
	}
	.system {
		.item {
			margin-top: 30rpx;
		}
	}
}

.service-message {
	padding: 0 30rpx;
	margin-top: 20rpx;
	border-radius: 10rpx;
	background: #fff;
	.item {
		display: flex;
		align-items: center;
		padding: 30rpx 0;
		position: relative;
		&::after {
			position: absolute;
			left: 114rpx;
			right: 0;
			bottom: 0;
			display: block;
			height: 2rpx;
			content: " ";
			font-size: 0;
			background: #f9f9f9;
		}
		&:last-child {
			&::after {
				height: 0;
			}
		}
		.logo {
			width: 90rpx;
			height: 90rpx;
			border: 2rpx solid #f5f5f5;
			border-radius: 50%;
			overflow: hidden;
		}
		.text-box {
			flex: 1;
			margin: 0 20rpx;
			max-height: unset;
			.name {
				font-size: 28rpx;
				font-weight: 600;
				height: 40rpx;
				line-height: 40rpx;
				color: #000;
			}
			.des {
				height: 32rpx;
				line-height: 32rpx;
				color: #999;
				margin-top: 10rpx;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 1;
				overflow: hidden;
				text-overflow: ellipsis;
			}
		}
		.time-box {
			.time {
				color: #999;
				height: 40rpx;
				line-height: 40rpx;
			}
			.unread-box {
				height: 32rpx;
				margin-top: 10rpx;
				display: flex;
				justify-content: flex-end;
				.number {
					background: #fff;
					font-size: 0;
				}
			}
		}
	}
	.item.unread {
		.time-box {
			.unread-box {
				.number {
					min-width: 32rpx;
					height: 32rpx;
					line-height: 32rpx;
					border-radius: 32rpx;
					padding: 0 10rpx;
					box-sizing: border-box;
					color: #fff;
					font-size: 20rpx;
					content: " ";
					background: #fc1b35;
				}
			}
		}
	}
}
