recordingReviewDetail.sass 3.21 KB
/* packageReception/pages/detail/detail.wxss */
page {
	background: #f3f6fa;
}

.layout {
	position: relative;
	height: 100vh;
	box-sizing: border-box;

	&::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 480rpx;
		background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/common/reception-bg.png');
		background-repeat: no-repeat;
		background-size: 100% 100%;
		z-index: -1;
	}

	.customer-list {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 0 16rpx;
		padding: 8rpx 0 24rpx;

		.customer-item {
			height: 60rpx;
			border-radius: 12rpx;
			background: #ffffff;
			padding: 0 24rpx;
			color: #383a3d;
			font-size: 28rpx;
			border: 2rpx solid #fff;
			flex-shrink: 0;

			&:first-of-type {
				margin-left: 32rpx;
			}

			&:last-of-type {
				margin-right: 32rpx;
			}

			.name {
				max-width: 224rpx;
			}

			.score {
				flex-shrink: 0;
				color: #9d9fa3;
				margin-left: 8rpx;
			}
		}

		.active {
			border-color: #3773f8;
			background: #3773f81a;
			color: #3773f8;
			font-weight: 500;

			.score {
				color: #3773f8;
			}
		}
	}

	.customer-info-box {
		border-radius: 28rpx;
		background: #ffffff;
		margin: 0 24rpx;
		// padding: 24rpx;
		box-sizing: border-box;
		position: relative;
	}

	.reception-nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 24rpx 32rpx 16rpx;

		.reception-types {
			display: flex;
			align-items: center;

			.type {
				width: 144rpx;
				line-height: 40rpx;
				padding: 10rpx 0;
				background: #FFFFFF;
				border-radius: 12rpx;
				margin-right: 16rpx;
				color: #5a5e66;
				font-size: 28rpx;
				font-weight: 400;
				text-align: center;
			}

			.active {
				font-weight: 600;
				color: #fff;
				background: #2c66f7;
			}
		}

		.reception-operate {
			display: flex;
			align-items: center;

			.img {
				width: 52rpx;
				height: 52rpx;
			}

			.share {
				margin-right: 12rpx;
			}

			.audio-wrap {
				min-width: 140rpx;
				height: 60rpx;
				display: flex;
				align-items: center;
				background: #FFFFFF;
				padding: 4rpx;
				border-radius: 28rpx;
				box-sizing: border-box;
				transition: all .1s;

				.time {
					font-weight: 400;
					font-size: 26rpx;
					color: #757980;
					margin-left: 4rpx;
				}
			}
		}
	}
}

.type-wrap {
	position: relative;

	.component-item {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		transition: all 0.15s;
	}

	.hide {
		opacity: 0;
		z-index: -1;
	}
}

.footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	box-sizing: border-box;
	justify-content: space-between;
	gap: 24rpx;
	padding: 16rpx 32rpx calc(16rpx + var(--constantSafeAreaInsetBottom));
	padding: 16rpx 32rpx calc(16rpx + var(--envSafeAreaInsetBottom));
	background: #fff;

	.btn {
		justify-content: center;
		height: 80rpx;
		border-radius: 16rpx;
		color: #2c66f7;
		font-size: 32rpx;
		font-weight: 500;
		flex: 1;
		background: #2c66f71a;
	}
	.full{
		background: #2c66f7;
		color: #fff;
	}
	.disabled{
		background: #F4F5F7;
		color: #ccc;
	}
}