<template>
	<view class="uninavbars">
		<image :src="leftImage" @click="left_return"></image>
	</view>
	<view class="uninavbar">
		<uni-nav-bar statusBar="false" :fixed="true" :border="false" :background-color=background_color :title="title" />
	</view>
</template>

<script setup>
	import {
		ref,
		toRefs,
		defineProps,
		defineEmits
	} from "vue";

	const props = defineProps({
		title: String,
		background_color:String
	})
	const {
		title,
		background_color
	} = toRefs(props)

	let leftImage = ref("../../../static/images/sign/return.png")
</script>

<style>
	.uninavbars {
		position: fixed;
		z-index: 9999;
		top: 110rpx;
		left: 32rpx;
	}

	.uninavbars>image {
		width: 31rpx;
		height: 44rpx;
		color: #000000;
	}
</style>