
.page-logistics-detail {
  background: #f2f3f7;
	padding-bottom: env(safe-area-inset-bottom);
	min-height: 100vh;
	box-sizing: border-box;
	.tab {
		padding: 30rpx 0;
		background: #fff;
		border-radius: 0 0 10rpx 10rpx;
		.tab-box {
			white-space: nowrap;
			text-align: center;
			.item {
				position: relative;
				line-height: 28rpx;
				padding-bottom: 10rpx;
				display: inline-block;
				width: 20%;
				&::after {
					position: absolute;
					bottom: 0;
					left: 33%;
					right: 33%;
					display: block;
					width: auto;
					height: 4rpx;
					border-radius: 4rpx;
					content: " ";
					font-size: 0;
					background: #fff;
				}
			}
			.item.active {
				font-weight: 600;
				&::after {
					background: linear-gradient(to right, #fc1b35, #fff);
				}
			}
		}
	}
	.prods-box {
		background: #fff;
		padding: 34rpx 30rpx 30rpx;
		border-radius: 10rpx;
		margin-top: 30rpx;
		.logistics-info {
			.item {
				display: flex;
				align-items: center;
				padding-bottom: 20rpx;
				line-height: 32rpx;
				.text {
					font-weight: 600;
				}
				.copy {
					padding: 0 14rpx;
					font-size: 20rpx;
					background: #f3f3f3;
					margin-left: 30rpx;
					border-radius: 40rpx;
				}
			}
		}
		.img-item {
			margin-top: 10rpx;
			white-space: nowrap;
			.img {
				display: inline-block;
				width: 130rpx;
				height: 130rpx;
				font-size: 0;
				margin-left: 10rpx;
				position: relative;
				border-radius: 10rpx;
				overflow: hidden;
				&:first-child {
					margin-left: 0;
				}
				.count {
					position: absolute;
					right: 0;
					bottom: 0;
					padding: 2rpx 14rpx;
					background: rgba(0,0,0,.3);
					font-size: 20rpx;
					line-height: 24rpx;
					border-radius: 10rpx 0 10rpx 0;
					color: #fff;
					font-family: PingFangSC-Medium, tahoma;
				}
			}
		}
	}
	.logistics-box {
		background: #fff;
		padding: 34rpx 30rpx;
		border-radius: 10rpx;
		margin-top: 30rpx;
		.item {
			padding: 0 50rpx 30rpx 56rpx;
			position: relative;
			line-height: 36rpx;
			&::before {
				position: absolute;
				top: 10rpx;
				bottom: 0;
				left: 14rpx;
				display: block;
				width: 2rpx;
				border-left: 2rpx dashed #ddd;
				content: " ";
				font-size: 0;
			}
			&::after {
				position: absolute;
				top: 4rpx;
				left: 0;
				display: block;
				width: 14rpx;
				height: 14rpx;
				background: #ddd;
				border: 8rpx solid #fff;
				border-radius: 50%;
				content: " ";
				font-size: 0;
			}
			.time {
				margin-top: 6rpx;
				color: #999;
			}
			&:first-child {
				.text {
					color: #fc1b35;
					font-weight: 600;
					&::before {
						position: absolute;
						border: 2rpx solid #fff;
						display: block;
						width: 16rpx;
						height: 8rpx;
						top: 10rpx;
						left: 4rpx;
						z-index: 2;
						content: "";
						border-radius: 2rpx;
						border-top: none;
						border-right: none;
						transform: rotate(-45deg);
					}
				}
				&::before {
					top: 40rpx;
				}
				&::after {
					background: #fc1b35;
					border: 0;
					width: 28rpx;
					height: 28rpx;
				}
			}
			&:last-child {
				padding-bottom: 0;
			}

			&.first-item{
				&::before {
					display: none;
				}
			}
		}
	}
}
