style: 学时对照角标改为橙色感叹号

This commit is contained in:
Nixevol
2026-11-19 02:59:32 +08:00
parent 66163af7be
commit 3fe6d4c111
2 changed files with 12 additions and 6 deletions
+5 -2
View File
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { NTooltip } from "naive-ui";
import { NIcon, NTooltip } from "naive-ui";
import { AlertCircleOutline } from "@vicons/ionicons5";
defineProps<{
system: string;
@@ -15,7 +16,9 @@ function minutes(value: string) {
<template>
<n-tooltip placement="top">
<template #trigger>
<sup class="hours-mark" tabindex="0">对比</sup>
<button type="button" class="hours-mark" aria-label="学时对照">
<n-icon :size="15"><AlertCircleOutline /></n-icon>
</button>
</template>
<div class="hours-compare">
<div>系统统计: {{ minutes(system) }}</div>
+7 -4
View File
@@ -1027,13 +1027,16 @@ select {
}
.hours-mark {
display: inline-flex;
align-items: center;
margin-left: 4px;
padding: 0;
border: 0;
background: transparent;
color: #f5a524;
font-size: 11px;
font-weight: 650;
letter-spacing: 0;
line-height: 0;
cursor: help;
vertical-align: super;
vertical-align: -2px;
}
.hours-compare {