<template>
	<view>  
					<u-navbar :bgImg="bgImg" :bgColor="bgColor" :title="title" :titleStyle="titleStyle "  :placeholder="true" :safeAreaInsetTop="true" autoBack @click-left="back" style="cursor: pointer;" >
					<!-- 	<view class="u-nav-slot" slot="left" @click.native="back">
							<u-icon name="arrow-left" size="19"></u-icon>
							<u-line direction="column" :hairline="false" length="16" margin="0 8px"></u-line>
							<u-icon name="arrow-left" size="20"  @click.native="back"></u-icon>
						</view> -->
					</u-navbar> 
					
		</view> 
</template>
<script> 
	export default { 
		props:{
			  title: {type:String,default:"testTitle"},
			   titleStyle: { type: Object, default: () => ({ fontSize: "17px" }) }
		},
		data() {
			return { 
				bgColor: 'transparent !important',
				bgImg:true
			}
		},
		created() { 
		},
		mounted() {			 
				} ,
		methods: {
			//获取屏幕导航栏高度 
			//返回
			back() {
				uni.navigateBack({
					delta: 1
				})
			},
		}
	}
</script>
<style lang="scss" scoped>
// 
</style>
