<template>
|
|
<uv-textarea
|
|
:value="value"
|
|
@input="$emit('input', $event)"
|
|
:placeholder="placeholder"
|
|
:count="count"
|
|
:maxlength="maxlength"
|
|
height="187rpx"
|
|
border="none"
|
|
:customStyle="{
|
|
backgroundColor: '#F4F6F8',
|
|
borderRadius: '12rpx',
|
|
}"
|
|
:placeholderStyle="{
|
|
color: '#999999',
|
|
fontSize: '28rpx',
|
|
}"
|
|
:countStyle="{
|
|
backgroundColor: 'transparent',
|
|
color: '#999999',
|
|
fontSize: '28rpx',
|
|
}"
|
|
></uv-textarea>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
value: {
|
|
default: null
|
|
},
|
|
placeholder: {
|
|
type: String,
|
|
default: '请输入'
|
|
},
|
|
count: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
maxlength: {
|
|
type: Number,
|
|
default: 200,
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
methods: {
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
</style>
|