feat(工具箱): 实现“下载用时计算”工具

This commit is contained in:
2024-09-08 16:06:31 +08:00
parent 10ab2fb670
commit a31ad98a9e
3 changed files with 224 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ const routeTitle = computed(() => {
return route.meta.title;
});
/**
/**
* @description 打开工具
* @param {ToolboxItem} data
*/
@@ -149,8 +149,25 @@ function handleOpenTool(data) {
position: absolute;
left: 0;
top: 0;
padding: 20px;
width: 100%;
height: 100%;
background-color: #FFF;
:deep(.tool-detail-page) {
width: 100%;
height: 100%;
overflow-y: auto;
> .n-card {
&:not(:first-child) {
margin-top: 20px;
}
.n-card__content {
padding-top: var(--n-padding-top);
}
}
}
}
</style>