1.想要给出的placeholder的字体颜色跟默认小程序的不一样,需自定义,给其自定义一个placeholder-class 2. wxml 示例 <input type="text" value="" placeholder="请输入信息" placeholder-class="b-palceholder"/> 3. wxss 示例 .b-palceholder{ color: rgb(218, 212, 212); }