<template>
	<view>
		 <view class="status_bar"></view>
		 <view class="navBarBox">
			<slot>
				<text class="navTitle">缴费</text>
			</slot>
		</view>
	</view>
</template>

<script>
	export default {
		name:"nav-bar",
	}
</script>

<style scoped lang="scss">
	.status_bar {
		height: var(--status-bar-height);
		width: 100%;
		background: #1479f7;
	}
	.navBarBox{
		height: 44px;
		line-height: 44px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background: #1479f7;
		color: #FFFFFF;
		font-size: 28rpx;
		position: relative;
	}
	.navTitle{
		width: 100%;
		display: block;
		text-align: center;
		font-size: 28rpx;
	}
	.backBox{
		position: absolute;
		top: 50%;
		margin-top: -22rpx;
		left: 0;
		width: 40rpx;
		padding: 0 30rpx;
		height: 44rpx;
	}
	.backBtn{
		display: block;
		width: 18rpx;
		height: 30rpx;
	}
</style>
