<template>
  <div class="bio-bga-container">
    <h1 class="page-title">{{ pageTitle }}</h1>
    <el-card class="content-card" shadow="hover">
      <template #header>
        <div class="card-header">
          <span>BGA 模拟数据</span>
        </div>
      </template>
      <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="id" label="ID" width="80" />
        <el-table-column prop="sample" label="样本" />
        <el-table-column prop="value" label="测量值" />
        <el-table-column prop="status" label="状态" />
      </el-table>
    </el-card>
  </div>
</template>

<script setup lang="ts" name="BioTestBga">
import { ref } from 'vue'
import { bgaDataList, BgaDataItem } from './mock'

const pageTitle = 'BGA 测试界面'
const tableData = ref<BgaDataItem[]>(bgaDataList)
</script>

<style scoped lang="scss">
.bio-bga-container {
  padding: 20px;
  background-color: #f0f2f5;
  min-height: calc(100vh - 50px);
}

.page-title {
  font-size: 24px;
  font-weight: bold;
  color: #303133;
  margin-bottom: 20px;
}

.content-card {
  .card-header {
    font-size: 18px;
    font-weight: 500;
  }
  .el-table {
    margin-top: 10px;
  }
}
</style> 