<template>
	<view class="bottom-wrap" :style="[{customStyle,'color': color || 'rgba(255, 255, 255, 0.5)'}]">
		<view v-if="!$slots.content" class="bottom" :style="[customStyle]">
			<view class="bottom-p">如您有任何问题，欢迎拨打服务热线</view>
			<view class="bottom-p">400-5555-8888</view>
		</view>
		<slot name="content" v-else />
	</view>
</template>

<script>
	export default {
		name:'u-bottom',
		props:{
			customStyle:{
				type: Object,
				default() {
					return {};
				}
			},
			color:{
				type: String,
				default: ''
			}
		},
	}
</script>

<style lang="scss" >
	.bottom-wrap{
		text-align: center;
		height: 200rpx;
		.bottom{
			position: fixed;
			left: 0;
			right: 0;
			bottom: 76rpx;
			font-size: 26rpx;
			line-height: 33rpx;
			.bottom-p + .bottom-p{
				margin-top: 10rpx;
			}
		}
	}
</style>
