<template >
	<view>
		<u-navbar v-if="mytitle" :title="mytitle" :is-back="noback" :border-bottom="!noback">
				<view class="slot-wrap"></view>	
		</u-navbar>
	</view>
</template>

<script>
	//import * as API from '@/apis/common.js'
	
	
 	export default {
		name:"Common",
		props:{
			login: {
				require: false,
				default: true,
			},
			noback:{
				require: false,
				default: true,
			},
			mytitle: {
				require: false,
				default: false,
			},
		},
		data() {
			return {
				 
			};
			
		},methods:{
			 
			  
		},mounted(){
				console.log("common-mounted")
				
				
		},destroyed(){
			
		}
		
	}
</script>

<style>
	.navbar-right {
				display: flex;
				margin-right: 20rpx;
				span{
					color:rgb(96, 98, 102);
					margin-left: 3px;
				}
			}
			.slot-wrap {
					display: flex;
					align-items: center;
					flex: 1;
				}
</style>
