Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
03247f5f
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
03247f5f
编写于
7月 07, 2022
作者:
C
chenzhuo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify
Signed-off-by:
N
chenzhuo
<
chenzhuo59@huawei.com
>
上级
e5cd7d76
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
14 addition
and
8 deletion
+14
-8
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/loadingProgress.ets
.../entry/src/main/ets/MainAbility/pages/loadingProgress.ets
+1
-0
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/search.ets
...onent_two/entry/src/main/ets/MainAbility/pages/search.ets
+9
-4
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/sourceType.ets
...t_two/entry/src/main/ets/MainAbility/pages/sourceType.ets
+3
-3
arkui/ace_ets_component_two/entry/src/main/ets/test/LoadingProgressJsunit.test.ets
...wo/entry/src/main/ets/test/LoadingProgressJsunit.test.ets
+1
-1
未找到文件。
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/loadingProgress.ets
浏览文件 @
03247f5f
...
...
@@ -48,6 +48,7 @@ struct LoadingProgressExample {
.width('90%')
.key('LP')
LoadingProgress()
.height(50)
.color(Color.Black)
}.width('100%').margin({ top: 6 })
}
...
...
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/search.ets
浏览文件 @
03247f5f
...
...
@@ -20,9 +20,14 @@ import events_emitter from '@ohos.events.emitter'
struct SearchExample {
@State changevalue: string= ''
@State submitvalue: string= ''
@State controller: SearchController= new SearchController()
@State textFont:Font=10
@State searchButton:number=10
@State textFont:Font = {
size: 10,
weight: 10,
family: 'serif',
style: FontStyle.Normal
}
@State searchButton:string = "10"
controller: SearchController= new SearchController()
private stateChangCallBack = (eventData) => {
console.info("search page state change called:" + JSON.stringify(eventData));
...
...
@@ -58,7 +63,7 @@ struct SearchExample {
.placeholderFont({
size: 10,
weight: 10,
family: 'serif',
family: 'serif',
style: FontStyle.Normal
})
.onSubmit((value: string) => {
...
...
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/sourceType.ets
浏览文件 @
03247f5f
...
...
@@ -33,13 +33,13 @@ struct ClickExample {
if (event.type === TouchType.Move) {
this.eventType = 'Move'
}
if (event.source === Unknown) {
if (event.source ===
SourceType.
Unknown) {
this.SourceType = 'Unknown'
}
if (event.source === Mouse) {
if (event.source ===
SourceType.
Mouse) {
this.SourceType = 'Mouse'
}
if (event.type === TouchScreen) {
if (event.type ===
SourceType.
TouchScreen) {
this.SourceType = 'TouchScreen'
}
console.info(this.text = 'source:' + event.source);
...
...
arkui/ace_ets_component_two/entry/src/main/ets/test/LoadingProgressJsunit.test.ets
浏览文件 @
03247f5f
...
...
@@ -72,7 +72,7 @@ export default function loadingProgressJsunit() {
let strJson = getInspectorByKey('LP');
let obj = JSON.parse(strJson);
console.info("testLoadingProgress_300 component obj is: " + JSON.stringify(obj));
expect(obj.$attrs.height).assertEqual("50.00
px
");
expect(obj.$attrs.height).assertEqual("50.00
vp
");
console.info('testLoadingProgress_300 END');
done();
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录