CMVR-IOT-UI/src/views/evaluate/il/speech/index.vue
2025-11-27 16:14:04 +08:00

65 lines
1.2 KiB
Vue

<template>
<div class="evaluation-metrics">
<div class="left">
<Indicator />
</div>
<div class="right">
<div class="title">
<h2>指标配置</h2>
<el-button type="primary">
<el-icon><Plus /></el-icon>
添加二级指标
</el-button>
</div>
<div class="secondaryIndicator-container">
<SecondaryIndicator v-for="value in 3" />
</div>
</div>
</div>
</template>
<script setup>
import Indicator from './indicator.vue';
import SecondaryIndicator from './secondaryIndicator.vue';
</script>
<style lang="scss" scoped>
.evaluation-metrics {
width: 100%;
display: flex;
gap: 12px;
.left {
background-color: #fff;
padding: 20px;
width: 320px;
border: 1px solid #dbdbdb;
border-radius: 5px;
}
.right {
flex: 1;
height: 100%;
background-color: #fff;
border: 1px solid #dbdbdb;
border-radius: 5px;
overflow: hidden;
.title {
display: flex;
padding: 0 20px;
align-items: center;
justify-content: space-between;
}
.secondaryIndicator-container {
height: calc(100% - 72px);
overflow: auto;
padding: 0 20px;
}
}
}
</style>