小程序
道不同不相为谋而
这个作者很懒,什么都没留下…
展开
-
微信小程序,修改input placeholder的样式
1.给input一个作用于placeholder的类名<input placeholder="请输入内容" placeholder-class="input-placeholder"/>2.再去定义样式.input-placeholder { color:rgba(226,226,226,1); font-size:28rpx; }原创 2020-08-13 15:42:59 · 4066 阅读 · 0 评论 -
微信小程序 switch组件修改样式(大小,颜色)
1. 如何修改switch样式大小/* swtich整体大小 */.wx-switch-input{ width: 100rpx !important; height: 57rpx !important;}/* false的样式 */.wx-switch-input::before{ width: 100rpx !important; height: 53rpx !important;}/* true的样式 */.wx-switch-input::after{ wid原创 2020-08-13 11:02:38 · 5586 阅读 · 0 评论