<template>
	<view class="topNavbar">
		<u-navbar
			:title="title"
			:autoBack="true"
			 :bgColor="bgColor"
			 :leftIconColor="leftIconColor"
			 :fixed="false"
			 :safeAreaInsetTop="true"
			 :titleStyle ="{color:'#fff'}"
		>
		</u-navbar>
	</view>
</template>

<script>
	export default {
		props: ['title'],
		data() {
			return {
				bgColor: 'transparent',
				leftIconColor: '#fff'
			}
		}
	}
</script>

<style lang="scss" scoped>
	.topNavbar {
		padding-bottom: 10rpx;
	}
</style>