<template>
	<view class="u-cell-text">
		<view>{{text}}</view>
		<view class="dot-round"></view>
	</view>
</template>

<script>
	export default {
		name: 'RedDot',
		props:{
			text: {
				type: String,
				default: ""
			},
			required: {
				type: Boolean,
				default: false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.u-cell-text {
		font-size: 32rpx;  
	}
	
	.u-cell-text {
		display: flex;
		align-items: center;
		.dot-round{
			margin-left: 15rpx;
			width: 10rpx;
			height: 10rpx;
			border-radius: 1000px;
			background-color: #fa541C;
		}
	}
</style>