<template>
	<view class="top">
		<image class="top_banner" :src="background"></image>
		
		
	</view>
</template>

<script>
	export default {
		name:"MyNavbar",
		props:{
			///标题哈
			title : {
				type : String,
				default : ""
			},
			///背景哈
			background : {
				type : String,
				default : "../../static/images/kehu/bg_2.png"
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
			onTouchBack(){
				console.log("back !!!")
				uni.navigateBack({
					
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.top{
		width: 750rpx;
		height: 424rpx;
		position: fixed;
	}
	.top_banner{
		position: fixed;
		left: 0;
		top: 0;
		width: 750rpx;
		height: 424rpx;
	}
</style>
