洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
490 B

<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>