style: 优化样式
This commit is contained in:
parent
9adb1c37f9
commit
f1a6a27487
11135
pnpm-lock.yaml
11135
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -19,8 +19,8 @@ interface FormModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const model: FormModel = reactive({
|
const model: FormModel = reactive({
|
||||||
userName: 'admin',
|
userName: 'developer',
|
||||||
password: 'admin'
|
password: '123456'
|
||||||
});
|
});
|
||||||
|
|
||||||
type RuleKey = Extract<keyof FormModel, 'userName' | 'password'>;
|
type RuleKey = Extract<keyof FormModel, 'userName' | 'password'>;
|
||||||
|
@ -34,6 +34,10 @@ const timeFix = () => {
|
|||||||
}
|
}
|
||||||
return text;
|
return text;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const href = (url: string) => {
|
||||||
|
window.open(url, '_blank');
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -51,6 +55,7 @@ const timeFix = () => {
|
|||||||
</NGi>
|
</NGi>
|
||||||
<NGi span="24 s:24 m:6">
|
<NGi span="24 s:24 m:6">
|
||||||
<NSpace :size="4" justify="end">
|
<NSpace :size="4" justify="end">
|
||||||
|
<NButton quaternary class="h-full" @click="href('https://doc.flowlong.com/?from=snail-job')">
|
||||||
<NThing class="max-w-full w-full">
|
<NThing class="max-w-full w-full">
|
||||||
<template #avatar>
|
<template #avatar>
|
||||||
<img class="h-14 w-14 flex-none object-contain" src="@/assets/imgs/flowlong.png" />
|
<img class="h-14 w-14 flex-none object-contain" src="@/assets/imgs/flowlong.png" />
|
||||||
@ -58,6 +63,7 @@ const timeFix = () => {
|
|||||||
<template #header><div class="text-base font-semibold">FlowLong</div></template>
|
<template #header><div class="text-base font-semibold">FlowLong</div></template>
|
||||||
<template #description><div class="text-slate-700">为中国特色审批流打造的国产JSON流程引擎</div></template>
|
<template #description><div class="text-slate-700">为中国特色审批流打造的国产JSON流程引擎</div></template>
|
||||||
</NThing>
|
</NThing>
|
||||||
|
</NButton>
|
||||||
</NSpace>
|
</NSpace>
|
||||||
</NGi>
|
</NGi>
|
||||||
</NGrid>
|
</NGrid>
|
||||||
|
Loading…
Reference in New Issue
Block a user