2025-01-24 03:18:26 +00:00
|
|
|
<template>
|
|
|
|
<tm-navbar
|
|
|
|
:hideBack="props.hideBack"
|
2025-04-24 01:48:52 +00:00
|
|
|
:hideHome="props.hideHome"
|
2025-01-24 03:18:26 +00:00
|
|
|
:title="props.title"
|
2025-01-24 09:01:50 +00:00
|
|
|
:shadow="props.shadowNum"
|
2025-01-24 03:18:26 +00:00
|
|
|
:fontSize="34"
|
2025-03-06 10:50:11 +00:00
|
|
|
:showStatusBar="false"
|
2025-01-24 09:01:50 +00:00
|
|
|
>
|
|
|
|
<template #left>
|
|
|
|
<slot name="left"></slot>
|
|
|
|
</template>
|
2025-02-11 03:45:19 +00:00
|
|
|
<template #subTitle>
|
|
|
|
<slot name="subTitle"></slot>
|
|
|
|
</template>
|
2025-01-24 09:01:50 +00:00
|
|
|
<template #right>
|
|
|
|
<slot name="right"></slot>
|
|
|
|
</template>
|
|
|
|
</tm-navbar>
|
2025-01-24 03:18:26 +00:00
|
|
|
</template>
|
|
|
|
<script setup>
|
|
|
|
import tmNavbar from '@/uni_modules/tmui/components/tm-navbar/tm-navbar.vue'
|
|
|
|
import { defineProps } from 'vue'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
|
|
title: {
|
|
|
|
//页面标题
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
hideBack: {
|
|
|
|
//是否隐藏返回按钮
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
2025-01-24 09:01:50 +00:00
|
|
|
shadowNum: {
|
|
|
|
//投影
|
|
|
|
type: Number,
|
|
|
|
default: 1,
|
|
|
|
},
|
2025-04-24 01:48:52 +00:00
|
|
|
hideHome: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
2025-01-24 03:18:26 +00:00
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
::v-deep .text-view {
|
|
|
|
text {
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: 48rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|