添加输入组件测试

This commit is contained in:
2024-05-16 14:04:49 +08:00
parent 9c169a0cf3
commit bd9c6441bb
15 changed files with 161 additions and 2 deletions

View File

@@ -24,6 +24,12 @@ struct Index {
{ name: "TcpSocket", page: 'pages/net/TcpSocketPage'}
]
},
{
name: 'Component',
items: [
{name: 'InputPage', page: 'pages/component/InputPage'}
]
},
// 布局
{
name: 'Layout',
@@ -126,7 +132,7 @@ struct Index {
Column() {
Row() {
Text(item.name);
Image(CommonRes.getImageRes(CommonRes.IC_CHEVRON_RIGHT)).width(32).height(32);
Image(CommonRes.getImage(CommonRes.IC_CHEVRON_RIGHT)).width(32).height(32);
}.width('100%').height(48).justifyContent(FlexAlign.SpaceBetween).alignItems(VerticalAlign.Center)
.padding({left: 16, right: 16})
Divider().margin({ top: 2 });