提交 1121ffbe 编写于 作者: H hekun

fix the change

Signed-off-by: Nhekun <hekun18@huawei.com>
上级 3d027e76
......@@ -636,6 +636,24 @@ struct Index {
}
})
}
TextInput({placeholder:"inputs your words"})
.key('textInput')
.type(InputType.Normal)
.placeholderColor(Color.Blue)
.placeholderFont({size:20,weight:FontWeight.Normal,family:"sans-serif",style:FontStyle.Normal})
.enterKeyType(EnterKeyType.Next)
.caretColor(Color.Green)
.height(60)
.fontSize(30)
.fontWeight(FontWeight.Bold)
.fontFamily("cursive")
.fontStyle(FontStyle.Italic)
.fontColor(Color.Red)
.maxLength(20)
.border({width:1,color:0x317AF7,radius:10,style:BorderStyle.Solid})
.onClick(()=>{
console.info("TextInput click")
})
Web({src:$rawfile('index.html'),controller:this.controller})
.javaScriptAccess(this.javaScriptAccess)
.fileAccess(this.fileAccess)
......@@ -753,24 +771,6 @@ struct Index {
console.info("onBlur==>")
this.controller.requestFocus()
})
TextInput({placeholder:"inputs your words"})
.key('textInput')
.type(InputType.Normal)
.placeholderColor(Color.Blue)
.placeholderFont({size:20,weight:FontWeight.Normal,family:"sans-serif",style:FontStyle.Normal})
.enterKeyType(EnterKeyType.Next)
.caretColor(Color.Green)
.height(60)
.fontSize(30)
.fontWeight(FontWeight.Bold)
.fontFamily("cursive")
.fontStyle(FontStyle.Italic)
.fontColor(Color.Red)
.maxLength(20)
.border({width:1,color:0x317AF7,radius:10,style:BorderStyle.Solid})
.onClick(()=>{
console.info("TextInput click")
})
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册