mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-10 17:42:50 +08:00
19 lines
491 B
Vue
19 lines
491 B
Vue
<script setup lang="ts">
|
|
defineProps({
|
|
// 标题
|
|
title: String,
|
|
})
|
|
</script>
|
|
<template>
|
|
<div v-if="title" class="my-3 mx-3 md:flex md:items-center md:justify-between">
|
|
<div class="min-w-0 flex-1 mx-0">
|
|
<h2
|
|
class="ms-1 truncate text-2xl font-bold leading-7 text-gray-100 sm:overflow-visible sm:text-3xl sm:leading-9 md:mb-0"
|
|
data-testid="page-header"
|
|
>
|
|
<span class="text-moviepilot">{{ title }}</span>
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
</template>
|