refactor: 整理项目配置与代码,更新文档
1. 将turbo.json中的pipeline重命名为tasks 2. 修复Vue模板中小于号转义问题,清理冗余代码与样式 3. 更新README文档,补充后端启动步骤,移除旧贡献指南 4. 更新前端包的rollup依赖版本与包名
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<ul style="margin: 8px 0; padding-left: 16px;">
|
||||
<li>≥0.8:高置信度(绿色)- 模型非常确定</li>
|
||||
<li>0.6-0.8:中等置信度(黄色)- 模型比较确定</li>
|
||||
<li><0.6:低置信度(红色)- 模型不太确定</li>
|
||||
<li><0.6:低置信度(红色)- 模型不太确定</li>
|
||||
</ul>
|
||||
<p><strong>阈值作用:</strong></p>
|
||||
<p>低于此值的检测结果会被过滤掉</p>
|
||||
@@ -95,7 +95,6 @@
|
||||
/>
|
||||
<div class="slider-value">{{ config.iou.toFixed(2) }}</div>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
</el-card>
|
||||
</div>
|
||||
@@ -264,11 +263,9 @@ import { ref, computed, onUnmounted } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import {
|
||||
VideoCamera,
|
||||
Document,
|
||||
Setting,
|
||||
VideoPlay,
|
||||
VideoPause,
|
||||
CircleCheck,
|
||||
View,
|
||||
DataLine,
|
||||
List,
|
||||
@@ -636,20 +633,6 @@ onUnmounted(() => {
|
||||
color: #409eff;
|
||||
}
|
||||
|
||||
/* 摄像头状态 */
|
||||
.camera-status {
|
||||
text-align: center;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.camera-status :deep(.el-tag) {
|
||||
padding: 8px 16px;
|
||||
font-size: 14px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
/* 视频展示区域 */
|
||||
.video-card {
|
||||
margin-bottom: 20px;
|
||||
@@ -795,19 +778,6 @@ onUnmounted(() => {
|
||||
color: #606266;
|
||||
}
|
||||
|
||||
/* 帮助图标样式 */
|
||||
.help-icon {
|
||||
margin-left: 6px;
|
||||
font-size: 14px;
|
||||
color: #909399;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.help-icon:hover {
|
||||
color: #409eff;
|
||||
}
|
||||
|
||||
/* 日志卡片 */
|
||||
.logs-card {
|
||||
margin-bottom: 20px;
|
||||
@@ -823,12 +793,6 @@ onUnmounted(() => {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.log-count {
|
||||
margin-left: 8px;
|
||||
}
|
||||
@@ -911,16 +875,6 @@ onUnmounted(() => {
|
||||
aspect-ratio: 4 / 3;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.stats-descriptions :deep(.el-descriptions__body) {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.stats-descriptions :deep(.el-descriptions__cell) {
|
||||
padding: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
||||
Reference in New Issue
Block a user