<template>
	<ChartCard margin="30rpx 0 0 0" title="焊接数">
		<view class="weld">
			<view class="weld-row u-padding-20">
				<view class="weld-row-col u-flex">
					<view class="weld-row-col_lab">在岗焊工总人数</view>
					<view class="weld-row-col_num u-padding-left-18">945281</view>
				</view>
			</view>
			<view class="weld-row1 u-margin-top-20">
				<view class="weld-row1-col1 u-flex-col">
					<view class="weld-row1-col1_lab">总达因数</view>
					<view class="weld-row1-col1_num">945281</view>
				</view>
				<view class="weld-row1-col1 u-flex-col">
					<view class="weld-row1-col1_lab">完成达因数</view>
					<view class="weld-row1-col1_num">945281</view>
				</view>
				<view class="weld-row1-col1 u-flex-col">
					<view class="weld-row1-col1_lab">总拍片数</view>
					<view class="weld-row1-col1_num">945281</view>
				</view>
			</view>
			<!-- <view class="weld-row2 u-margin-top-20">
				<view class="weld-row1-col1 u-flex-col">
					<view class="weld-row1-col1_lab">
						合格片数
					</view>
					<view class="weld-row1-col1_num">
						945281
					</view>
				</view>
				<view class="weld-row1-col1 u-flex-col">
					<view class="weld-row1-col1_lab">
						一次合格率
					</view>
					<view class="weld-row1-col1_num">
						33.00%
					</view>
				</view>
			</view> -->
		</view>
	</ChartCard>
</template>

<script setup>
import ChartCard from '@/components/chartCard.vue';
</script>

<style lang="scss">
.weld {
	&-row {
		&-col {
			&_lab {
				font-size: 28rpx;
				color: #999999;
			}
			&_num {
				font-size: 32rpx;
				color: #333333;
			}
		}
		background-color: #f7fbfe;
	}
	&-row1 {
		display: grid;
		grid-template-columns: repeat(3, calc((100% - 60rpx) / 3));
		grid-column-gap: 30rpx;
		&-col1 {
			padding: 20rpx;
			background-color: #f7fbfe;
			&_lab {
				text-align: center;
				font-size: 28rpx;
				color: #999999;
			}
			&_num {
				text-align: center;
				font-size: 32rpx;
				color: #333333;
			}
		}
	}
	&-row2 {
		display: grid;
		grid-template-columns: repeat(2, calc((100% - 30rpx) / 2));
		grid-column-gap: 30rpx;
	}
}
</style>
