<template>
	<view class="mySelect">
		<view class="text hui" v-if="!value">{{ placeholder }}</view>
		<view class="text" v-else>{{ value }}</view>
	</view>
</template>

<script>
	export default {
		props: {
			value: {
				type: String,
				default: ''
			},
			placeholder: {
				type: String,
				default: '请选择'
			}
		},
		data() {
			return {}
		}
	}
</script>

<style lang="scss" scoped>
	.mySelect {
		color: #333;
		font-size: 26rpx;
		.hui {
			color: #ADADAD;
		}
	}
</style>