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.
 
 
 
 
 
 

55 lines
932 B

<template>
<view class="textarea-wrapper">
<view class="ft32 title">{{title}}</view>
<textarea class="content" :auto-height="true" :value="value" :placeholder="holder" @blur="handleBlur" @input="handleInput"></textarea>
</view>
</template>
<script>
export default {
name:"doctorInfoTextarea",
data() {
return {
};
},
props: {
title: {
type: String,
default: '一句话介绍'
},
value: {
type: String,
default: ''
},
holder: {
type: String,
default: '14个字介绍自己亮点'
}
},
methods: {
handleBlur() {},
handleInput() {}
}
}
</script>
<style>
.textarea-wrapper {
.title{
font-weight: 500;
color: #222222;
line-height: 44px;
letter-spacing: 2px;
}
.content {
width:100%;
height: 100rpx;
background: #FFFFFF;
border-radius: 12rpx;
border: 2rpx solid #E6E6E6;
padding: 28rpx 26rpx;
box-sizing: border-box;
}
}
</style>