PotentialSection.scss 4.13 KB
/* pages/tab/customer/components/PotentialSection/PotentialSection.wxss */
.potential-page {
	.data-board {
		margin: 0 20rpx;
		background: #fff;
		border-radius: 16rpx;
		padding: 32rpx;

		.board-header {
			display: flex;
			align-items: center;
			justify-content: space-between;
			margin-bottom: 16rpx;

			.board-title {
				font-size: 32rpx;
				font-weight: 600;
				color: #181A1F;
			}

			.board-actions {
				display: flex;
				gap: 16rpx;

				.board-action {
					display: flex;
					align-items: center;
					height: 48rpx;
					padding: 0 16rpx;
					font-size: 28rpx;
					border-radius: 4rpx;
					opacity: 1;
					border: 1rpx solid #e0e0e0;
					color: #999EA8;
					position: relative;

					image {
						width: 28rpx;
						height: 28rpx;
						margin-left: 8rpx;
						transform: rotate(90deg);
					}

					&.active {
						color: #292D33;
					}
				}
			}
		}

		.board-grid {
			display: flex;
			flex-wrap: wrap;

			.grid-item {
				margin: 16rpx 0;

				&.wid-128 {
					width: 256rpx;
				}

				&.wid-67 {
					width: 134rpx;
				}

				.label {
					font-size: 24rpx;
					color: #757B85;
				}

				.value {
					font-family: "numberBold";
					margin-top: 8rpx;
					font-size: 40rpx;
					font-weight: 700;
					color: #292D33;
				}
			}
		}
	}

	.search-wrap {
		padding: 16rpx 24rpx 0;
		background: #fff;
		margin-top:24rpx;
		search-input {
			display: block;
			width: 100%;
			
			.search-box {
				margin: 0 !important;
				padding: 0 !important;
				border: none !important;
				height: auto !important;
			}
			
			.search-input {
				width: 100% !important;
				background: #F7F8FA !important;
				
				.input {
					text-align: left !important;
					padding-left: 72rpx !important;
					box-sizing: border-box !important;
				}
				
				.placeholder {
					text-align: left !important;
				}
				
				.icon {
					left: 28rpx !important;
					transform: translateY(-50%) !important;
				}
			}
		}
	}

	.tabbar-anchor {
		width: 100%;
		min-height: 88rpx;
		margin-top: 24rpx;
		position: sticky;
		top: 0;
		z-index: 99;
	}

	/* 列表卡片 */
	.list-section {
		padding: 24rpx 20rpx 0;
		background: #F7F8FA;

		.list-card {
			background: #fff;
			border-radius: 16rpx;
			padding: 24rpx;
			margin-bottom: 20rpx;
			box-shadow: 0 8rpx 16rpx 0 rgba(0, 0, 0, 0.04);

			.card-header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 8rpx;

				.title {
					font-size: 32rpx;
					font-weight: 600;
					color: #292D33;
				}

				.status-tag {
					flex-shrink: 0;
					font-size: 26rpx;
					margin-left: 28rpx;
				}
			}

			.card-row {
				display: flex;
				margin-top: 10rpx;
				font-size: 28rpx;

				.label {
					margin-right: 24rpx;
					color: #999EA8;
				}

				.value {
					flex: 1;
					color: #292D33;
				}
			}

			.card-actions {
				display: flex;
				gap: 16rpx;
				margin-top: 16rpx;
				justify-content: flex-end;

				.btn {
					padding: 8rpx 16rpx;
					border-radius: 12rpx;
					background: #347BFF;
					color: #fff;
					font-size: 28rpx;
				}

				.ghost {
					background: #347bff1a;
					color: #347BFF;
				}
			}
		}

		.list-footer {
			color: #999EA8;
			padding-bottom: 20rpx;
			font-size: 24rpx;
			display: flex;
			justify-content: center;
		}
	}

	.loading {
		pointer-events: none;
	}

	.fixed-btns {
		position: fixed;
		right: 20rpx;
		bottom: 66rpx;
		display: flex;
		justify-content: center;
		background: #FFFFFF;
		box-shadow: 0 4rpx 20rpx 0 #0000001a;
		border-radius: 16rpx;

		.btn {
			box-sizing: border-box;
			padding: 20rpx 18rpx;
			display: flex;
			flex-flow: column;
			align-items: center;
			font-family: PingFangSC-Medium;
			font-weight: 500;
			font-size: 24rpx;
			color: #347BFF;
			width: 136rpx;
			height: 136rpx;

			image {
				width: 60rpx;
				height: 60rpx;
				flex-shrink: 0;
			}
		}
	}

	.arrowIcon {
		position: fixed;
		right: 0;
		bottom: 66rpx;
		width: 36rpx;
		height: 136rpx;
		background: #FFFFFF;
		border: 2rpx solid #EFF0F2;
		box-shadow: 0 4rpx 20rpx 0 #0000001a;
		border-radius: 16rpx 0 0 16rpx;
		display: flex;
		align-items: center;
		justify-content: center;

		.image {
			width: 32rpx;
			height: 32rpx;
		}
	}
}