提交 b16de6dd 编写于 作者: DCloud_iOS_WZT's avatar DCloud_iOS_WZT

update input.uvue

上级 9036f443
......@@ -64,6 +64,10 @@
<view class="input-wrapper">
<input class="uni-input" :placeholder-style="inputPlaceHolderStyle"
value="不设置placeholder只设置placeholder-style" />
</view>
<view class="input-wrapper">
<input id="uni-input-placeholder2" style="font-family: AlimamaDaoLiTiOTF;font-weight: bold;text-align: right;" class="uni-input" :placeholder-style="placeholderStyle"
placeholder="占位符以及内容右对齐" />
</view>
</view>
......@@ -311,7 +315,8 @@
focus: true,
inputPassword: true,
inputTypeTel: "tel",
inputPlaceHolderStyle: "color:red",
inputPlaceHolderStyle: "color:red",
placeholderStyle: "font-family: AlimamaDaoLiTiOTF;font-weight: bold;text-align: right",
inputPlaceHolderClass: "uni-input-placeholder-class" as string.ClassString,
inputMaxLengthValue: "",
onMaxLengthInputValue: "",
......@@ -442,5 +447,10 @@
.uni-input-placeholder-class {
font-size: 10px;
}
@font-face {
font-family: AlimamaDaoLiTiOTF;
src: url('/static/font/AlimamaDaoLiTi.otf');
}
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册