personalPerformance.scss 5.7 KB
.personal-performance {
  background: #ffffff;
  padding: 24rpx;
  box-sizing: border-box;
}

.merchant-change {
	display: flex;
	align-items: center;
	gap: 8rpx;
	padding: 24rpx 0;
	.name {
		max-width: calc(100% - 80rpx);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	image {
		width: 32rpx;
		height: 32rpx;
		flex-shrink: 0;
	}
}
.merchant-data {
	.title {
		display: flex;
		align-items: center;
		gap: 8rpx;
		padding: 24rpx 0;
		image {
			width: 32rpx;
			height: 32rpx;
			flex-shrink: 0;
		}
	}
	.content-box {
		display: flex;
		align-items: center;
		gap: 6rpx;
		.merchant-static-item {
			margin: 24rpx 0;
			padding-left: 16rpx;
			display: flex;
			align-items: center;
			border-left: 2rpx solid #F0F0F0;
			&:first-child {
				border: none;
			}
			.label {
				font-size: 26rpx;
				color: #666666;
				margin-bottom: 8rpx;
			}
			.value {
				color: #222222;
				font-size: 36rpx;
				font-family: 'numberBold';
			}
		}
	}
}

.data-base {
	.top-title {
		display: flex;
		align-items: center;
		gap: 8rpx;
		padding: 24rpx 0;
		image {
			width: 32rpx;
			height: 32rpx;
			flex-shrink: 0;
		}
	}
	.statistics-box {
		display: flex;
		padding: 16rpx 0;
		gap: 6rpx;
	}
	.statistics {
		flex: 0 0 auto;
		border-radius: 16rpx;
		background: #f7f8fa;
		box-shadow: 0 2rpx 12rpx 0 rgba(0, 0, 0, 0.05);
		padding: 24rpx 0 24rpx 16rpx;
		box-sizing: border-box;
		margin-right: 6rpx;
		color: #FFFFFF;
		&:last-child {
			margin-right: 0;
		}
	
		.title {
			font-size: 26rpx;
			margin-bottom: 8rpx;
			display: flex;
			align-items: center;
			gap: 8rpx;
			image {
				width: 32rpx;
				height: 32rpx;
				flex-shrink: 0;
			}
		}
		.value {
			font-size: 40rpx;
			font-family: 'numberBold';
			margin-bottom: 8rpx;
		}
		.ratio {
			display: flex;
			align-items: center;
			font-size: 22rpx;
			gap: 4rpx;
			.ratio-arrow {
				width: 26rpx;
				height: 26rpx;
				flex-shrink: 0;
			}
		}
	}
}

.divider {
  height: 16rpx;
  background: #f7f8fa;
  margin: 24rpx -24rpx;
}

.analyse-data {
  background: #ffffff;
  border-radius: 16rpx;
  position: relative;
  height: 502rpx;
  background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/anayle_staff_bg.png') no-repeat;
  background-size: 100% 100%;
  background-position: 0 0;
}

.chunk {
  width: 206rpx;
  text-align: center;
  box-sizing: border-box;
  position: absolute;

  .name {
    color: #666666;
    font-size: 24rpx;
    line-height: 34rpx;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rate {
    margin-left: 8rpx;
    color: #222222;
    font-size: 24rpx;
    font-weight: 500;
  }

  .value {
    margin-top: 8rpx;
    color: #222222;
    font-size: 30rpx;
    font-weight: 600;
		line-height: 42rpx;
		font-family: 'numberBold';
  }

  .chunkLabel {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20rpx;
    line-height: 28rpx;
    color: #999ea8;

    .mom-value {
      margin-left: 6rpx;
    }

    .mom-arrow {
			width: 24rpx;
			height: 24rpx;
			flex-shrink: 0;
    }
  }
}

.arrival {
  left: 28rpx;
  top: 84rpx;
}

.after {
  left: 248rpx;
  top: 84rpx;
}

.total_to_store {
  right: 17rpx;
  top: 84rpx;
}

.sqzhuanhualv {
  left: 28rpx;
  top: 240rpx;
}

.shzhuanhualv {
  left: 248rpx;
  top: 240rpx;
}

.percent {
  right: 17rpx;
  top: 240rpx;
}

.sqordernum {
  left: 28rpx;
  top: 350rpx;
}

.shordernum {
  left: 248rpx;
  top: 350rpx;
}

.make {
  right: 17rpx;
  top: 350rpx;
}

.helps {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 8rpx;
  background: #f7f8fa;
  padding: 4rpx 12rpx;
  color: #5a5e66;
  font-size: 24rpx;
	line-height: 34rpx;
	display: flex;
	align-items: center;
	image {
		width: 32rpx;
		height: 32rpx;
		flex-shrink: 0;
		margin-left: 4rpx;
	}
}

.business-stats {
  background: #ffffff;
  border-radius: 16rpx;
}

.stat-row {
  margin-bottom: 32rpx;

  &:last-child {
    margin-bottom: 0;
  }

  .row-title {
    font-size: 28rpx;
    font-weight: 600;
    color: #222222;
    margin-bottom: 24rpx;
		text-align: center;
		display: flex;
		align-items: center;
		justify-content: center;
		&::before,
		&::after {
			content: "";
			display: block;
			width: 120rpx;
			height: 2rpx;
			background-color: #f2f3f5;
			margin: 0 20rpx;
		}
	}
	.row-content {
		display: flex;
		justify-content: space-between;
		.col {
			flex: 1;
			padding-left: 16rpx;
			border-left: 2rpx solid #f0f0f0;
			&.width-col {
				flex: 1.4,
			}
			&:first-child {
				border-left: none;
			}
			.label {
				color: #666666;
				font-size: 28rpx;
				margin-bottom: 8rpx;
			}
		
			.value {
				color: #222222;
				font-size: 36rpx;
				font-family: "numberBold";
			}
		
			.sub-label {
				color: #35C376;
				font-size: 20rpx;
				margin-top: 8rpx;
			}
		}
	}
}

.product-value {
  background: #ffffff;
  border-radius: 16rpx;
}

.header {
  padding-bottom: 16rpx;
	display: flex;
	align-items: center;
	gap: 8rpx;
	image {
		width: 32rpx;
		height: 32rpx;
		flex-shrink: 0;
	}
}

.product-value .title {
  color: #292d33;
  font-size: 32rpx;
  line-height: 46rpx;
	font-weight: 500;
	padding-top: 14rpx;
}

.trend-empty {
  padding: 24rpx 0;
  text-align: center;
  color: #999ea8;
  font-size: 24rpx;
}

.trend-item {
  display: flex;
  justify-content: space-between;
  padding: 16rpx 0;
  border-bottom: 2rpx solid #f2f3f5;

  &:last-child {
    border-bottom: 0;
  }

  .trend-date {
    color: #666666;
    font-size: 24rpx;
  }

  .trend-value {
    color: #222222;
    font-size: 24rpx;
    font-weight: 500;
  }
}

.help-message {
  padding: 24rpx 32rpx 32rpx;
  color: #5a5e66;
  font-size: 28rpx;
  line-height: 40rpx;
  max-height: 60vh;
  overflow: scroll;

  .help-item {
    margin-bottom: 16rpx;
  }

  .help-label {
    color: #347bff;
  }
}