更改uniapp中,input的placeholder样式不生效的问题

场景: 需要更改uniapp中input输入框的placeholder样式

使用了UNIapp的placeholder-class和placeholder-style未生效

解决:.input为input类名

.input::placeholder{
      font-size: 28rpx;
      color: #AAAAAA;
    }

 

posted @ 2021-04-13 15:40  sunRise113  阅读(4207)  评论(0编辑  收藏  举报