<template>
	<view>
		<view class="status_bar" :style="bcolor?'background-color:'+bcolor+';':''"></view>
		<view class="top_view" :style="bcolor?'background-color:'+bcolor+';':''"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		props: ['bcolor'],
		watch:{
			'bcolor':function(n,o){
				if(n!=o){
					console.log(n)
				}
			}
		}	
	}
</script>

<style>
	.s{
		flex-shrink: 0;
	}
</style>
