This commit is contained in:
zhangkai
2024-06-25 14:55:48 +08:00
parent 68c9acc85b
commit 8b8f4111e2
42 changed files with 159 additions and 103 deletions

View File

@@ -42,7 +42,7 @@ const Cell = forwardRef((props, ref) => {
remarkPlugins={[remarkGfm, remarkMath]}
rehypePlugins={[rehypeMathjax]}
linkTarget="_blank"
className="bs-mkdown inline-block break-all max-w-full text-sm text-[#111]"
className="bs-mkdown inline-block break-all max-w-full text-sm text-[#fff]"
components={{
code: ({ node, inline, className, children, ...props }) => {
if (children.length) {

View File

@@ -39,7 +39,7 @@ export default function Component({ compId, options, disables, version, classNam
<SelectItem key={vs.id} value={vs.id} textValue={'vs.name'} disabled={disables.includes(vs.id)}>
<div className="flex justify-between w-64">
<span className="w-36 overflow-hidden text-ellipsis whitespace-nowrap">{vs.name}</span>
<span className="text-xs text-muted-foreground">{vs.update_time.replace('T', ' ').substring(0, 16)}</span>
<span className="text-xs text-[#999999]">{vs.update_time.replace('T', ' ').substring(0, 16)}</span>
</div>
</SelectItem>
))
@@ -68,7 +68,7 @@ export default function Component({ compId, options, disables, version, classNam
<SelectItem key={vs.id} value={vs.id} textValue={'vs.name'} disabled={disables.includes(vs.id)}>
<div className="flex justify-between w-64">
<span className="w-36 overflow-hidden text-ellipsis whitespace-nowrap text-left">{vs.name}</span>
<span className="text-xs text-muted-foreground">{vs.update_time.replace('T', ' ').substring(0, 16)}</span>
<span className="text-xs text-[#999999]">{vs.update_time.replace('T', ' ').substring(0, 16)}</span>
</div>
</SelectItem>
))

View File

@@ -20,9 +20,9 @@ export default function RunForm({ show, flow, onChangeShow, onSubmit }) {
}
<DialogFooter>
<DialogClose>
<Button variant="outline" className="px-11" type="button" onClick={onChangeShow}></Button>
<Button variant="outline" className="px-11 baogao-btn baogao-btn1" type="button" onClick={onChangeShow}></Button>
</DialogClose>
<Button type="submit" className="px-11" onClick={handleSubmit}></Button>
<Button type="submit" className="px-11 baogao-btn baogao-btn2" onClick={handleSubmit}></Button>
</DialogFooter>
</DialogContent>
};

View File

@@ -186,7 +186,7 @@ export default function RunTest({ nodeId }) {
<TableCell>
<div className="flex items-center gap-2 font-medium">
<Input
className="npcInput1"
className="npcInput4"
disabled={['all', 'row'].includes(runningType)}
placeholder={t('test.testCases')}
value={question.q}
@@ -226,7 +226,7 @@ export default function RunTest({ nodeId }) {
{questions.length < 20 && <TableCell>
<div className="flex items-center gap-2 font-medium min-w-52">
<Input
className="npcInput1"
className="npcInput4"
placeholder={t('test.testCases')}
onKeyDown={(e) => {
if (e.key === 'Enter') {