<template>
	<view class="navbar">
		<u-navbar
			leftIconSize="40rpx"
			leftIconColor="#333333"
			:title="title"
		  :autoBack="true"
			:border="border"
			:titleStyle="titleStyle"
			:placeholder="true"
		>
		</u-navbar>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: ''
			},
			border: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {
				titleStyle: {
					color: '#252525',
					fontSize: '39rpx',
					fontWeight: 'bold'
				}
			}
		}
	}
</script>

<style>
</style>