怎么在微信小程序中使用textarea 多行输入框
wxml
<view class="content"> placeholder: <textarea placeholder="占位bai符duzhi" /> <textarea placeholder="占位符 改变dao样式zhuanstyle" placeholder-style= "color:blue"/> <textarea placeholder="占位符 改变样式class" placeholder-class="placeholdText"/> </view>
wxss
.content{
border:1px black solid;
margin: 10px;
font-size: 10pt;
padding: 10px;
}
textarea{
border: 1px red solid;
margin: auto;
width:100%;
height: 3em;
margin-top:5px;
padding: 3px;
}
/*占位符样式*/
.placeholdText{
font-size: 2em;
}