1
0
cvsa/packages/temp_frontend/app/routes/labelling/LabelInstructions.tsx

68 lines
2.8 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog";
import { Button } from "@/components/ui/button";
import { HelpCircle } from "lucide-react";
import { Label } from "@/components/ui/label";
interface LabelInstructionsProps {
open: boolean;
onOpenChange: (open: boolean) => void;
}
export function LabelInstructions({ open, onOpenChange }: LabelInstructionsProps) {
return (
<div className="mt-4 mb-3">
<div className="flex items-center">
<b>V歌曲</b>
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogTrigger asChild>
<Button variant="link" className="p-0 h-auto text-secondary-foreground ml-2">
</Button>
</DialogTrigger>
<DialogContent className="max-w-2xl">
<DialogHeader>
<DialogTitle></DialogTitle>
</DialogHeader>
<div className="space-y-4">
<p>
<b>V歌曲</b>
</p>
<p>
V歌曲
<br />
<b></b>
<br />
</p>
<p>
<b>
<br />
</b>
<ul className="list-disc list-inside text-sm">
<li>AI孙燕姿使RVC等技术生成的人声</li>
<li><b></b></li>
<li><b></b></li>
<li>/UTAU/DiffSinger声库</li>
</ul>
</p>
<p><b></b></p>
<div className="bg-muted p-4 rounded-md">
<h4 className="font-medium mb-2"></h4>
<ul className="list-disc list-inside text-sm text-secondary-foreground">
<li>GF31QZ </li>
<li>HJP80L </li>
</ul>
</div>
</div>
</DialogContent>
</Dialog>
</div>
<Label className="text-secondary-foreground mt-1 leading-5 block">
V歌曲意味着它是由中文虚拟歌姬演唱
</Label>
</div>
);
}