提交 19c45081 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: input示例 placeholder-class设置placeholder字体大小

上级 ca2c06da
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<input id="uni-input-placeholder1" class="uni-input" :placeholder-style="inputPlaceHolderStyle" placeholder="占位符文字颜色为红色" /> <input id="uni-input-placeholder1" class="uni-input" :placeholder-style="inputPlaceHolderStyle" placeholder="占位符文字颜色为红色" />
</view> </view>
<view class="input-wrapper"> <view class="input-wrapper">
<input id="uni-input-placeholder2" class="uni-input" :placeholder-class="inputPlaceHolderClass" placeholder="占位符背景色为绿色" /> <input id="uni-input-placeholder2" class="uni-input" :placeholder-class="inputPlaceHolderClass" placeholder="占位符字体大小为10px" />
</view> </view>
</view> </view>
...@@ -336,9 +336,6 @@ ...@@ -336,9 +336,6 @@
} }
.uni-input-placeholder-class { .uni-input-placeholder-class {
background-color: green; font-size: 10px;
}
.uni-input-placeholder-class-ts {
background-color: orange;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册