refactor(front): replace div elements with BaseCard component for consistent styling across various views

This commit is contained in:
keven1024
2026-02-26 18:11:35 +08:00
parent b98853ebe1
commit 2ea2d89f44
14 changed files with 72 additions and 60 deletions

View File

@@ -21,8 +21,7 @@ const handleTextShare = ({ type, config }: { type: string; config: any }) => {
}
</script>
<template>
<div class="gap-5 flex flex-col">
<div class="text-xl font-normal">{{ t('page.upload.text.uploadText') }}</div>
<BaseCard class="gap-5 flex flex-col" :title="t('page.upload.text.uploadText')">
<div class="relative">
<MarkdownInputField
name="text"
@@ -68,5 +67,5 @@ const handleTextShare = ({ type, config }: { type: string; config: any }) => {
</FormButton>
<PickupShareBtn />
</div>
</div>
</BaseCard>
</template>