使用 palaceholder-class属性 在wxss中修改其格式的样式
wxml:
<input class="input" type="text" bindinput='getInputValue' name="find" placeholder="输入查询内容" placeholder-class="bgc" form-type="submit"/>
wxss
.bgc {
color:gray;
}
使用 palaceholder-class属性 在wxss中修改其格式的样式
wxml:
<input class="input" type="text" bindinput='getInputValue' name="find" placeholder="输入查询内容" placeholder-class="bgc" form-type="submit"/>
wxss
.bgc {
color:gray;
}
本文标题:微信小程序输入框字体颜色设定和输入框中输入字体的设定
本文链接:https://www.haomeiwen.com/subject/alpfxjtx.html
网友评论