FEATURE: 网站的基本前端服务 #2

Merged
remilia merged 41 commits from dev into master 2025-09-06 16:11:23 +08:00
47 changed files with 357 additions and 2171 deletions
Showing only changes of commit 631146eeb8 - Show all commits

View File

@ -13,7 +13,6 @@ const props = defineProps<Props>()
// 将 Markdown 转换成 HTML
const safeHtml = computed(() => renderMarkdown(props.content))
console.log('Markdown content:', safeHtml.value)
</script>
<style>

View File

@ -3,9 +3,9 @@
<div v-if="production">
<!-- 面包屑导航 -->
<el-breadcrumb class="breadcrumb" separator="/">
<el-breadcrumb-item class="text-sm opacity-50" :to="{ path: '/' }">{{ $t('navigation.home')
<el-breadcrumb-item class="text-sm opacity-50" :to="{ path: $localePath('/') }">{{ $t('navigation.home')
}}</el-breadcrumb-item>
<el-breadcrumb-item class="text-sm opacity-50" :to="{ path: '/productions' }">{{ $t('productions')
<el-breadcrumb-item class="text-sm opacity-50" :to="{ path: $localePath('/productions') }">{{ $t('productions')
}}</el-breadcrumb-item>
<el-breadcrumb-item class="text-sm opactiy-50">{{ production.title }}</el-breadcrumb-item>
</el-breadcrumb>
@ -109,8 +109,6 @@ onMounted(async () => {
production_image: item.production_image,
documentId: item.documentId,
}
console.log('Fetched production:', production.value)
}
} catch (error) {
console.error('Failed to fetch production:', error)