36 lines
592 B
Vue
36 lines
592 B
Vue
<template>
|
|
<tm-navbar
|
|
:hideBack="props.hideBack"
|
|
hideHome
|
|
:title="props.title"
|
|
:shadow="0"
|
|
:fontSize="34"
|
|
/>
|
|
</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,
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
::v-deep .text-view {
|
|
text {
|
|
font-weight: 500;
|
|
line-height: 48rpx;
|
|
}
|
|
}
|
|
</style>
|