Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
eb9203dd
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看板
提交
eb9203dd
编写于
3月 08, 2022
作者:
D
dongwei
提交者:
wanggang
3月 10, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add test cases
Signed-off-by:
N
dongwei
<
dongwei@kaihongdigi.com
>
上级
e136a57b
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
202 addition
and
3 deletion
+202
-3
ace/ace_standard/src/main/js/default/pages/tab-bar/prop/index.css
...standard/src/main/js/default/pages/tab-bar/prop/index.css
+10
-1
ace/ace_standard/src/main/js/default/pages/tab-bar/prop/index.hml
...standard/src/main/js/default/pages/tab-bar/prop/index.hml
+62
-0
ace/ace_standard/src/main/js/default/pages/tab-bar/router/index.hml
...andard/src/main/js/default/pages/tab-bar/router/index.hml
+1
-0
ace/ace_standard/src/main/js/default/pages/tab-bar/router/index.js
...tandard/src/main/js/default/pages/tab-bar/router/index.js
+7
-0
ace/ace_standard/src/main/js/default/pages/tab-content/prop/index.css
...dard/src/main/js/default/pages/tab-content/prop/index.css
+10
-1
ace/ace_standard/src/main/js/default/pages/tab-content/prop/index.hml
...dard/src/main/js/default/pages/tab-content/prop/index.hml
+62
-0
ace/ace_standard/src/main/js/default/pages/tab-content/router/index.hml
...rd/src/main/js/default/pages/tab-content/router/index.hml
+1
-0
ace/ace_standard/src/main/js/default/pages/tab-content/router/index.js
...ard/src/main/js/default/pages/tab-content/router/index.js
+7
-0
ace/ace_standard/src/main/js/default/pages/tabs/prop/index.css
...ce_standard/src/main/js/default/pages/tabs/prop/index.css
+10
-1
ace/ace_standard/src/main/js/default/pages/tabs/prop/index.hml
...ce_standard/src/main/js/default/pages/tabs/prop/index.hml
+24
-0
ace/ace_standard/src/main/js/default/pages/tabs/router/index.hml
..._standard/src/main/js/default/pages/tabs/router/index.hml
+1
-0
ace/ace_standard/src/main/js/default/pages/tabs/router/index.js
...e_standard/src/main/js/default/pages/tabs/router/index.js
+7
-0
未找到文件。
ace/ace_standard/src/main/js/default/pages/tab-bar/prop/index.css
浏览文件 @
eb9203dd
...
...
@@ -390,6 +390,15 @@
margin-left
:
10px
;
margin-right
:
10px
;
}
.propNewAdd
{
height
:
15px
;
margin-bottom
:
3px
;
background-color
:
#c00000
;
width
:
100%
;
margin-left
:
10px
;
margin-right
:
10px
;
padding-start
:
10px
;
padding-end
:
10px
;
}
ace/ace_standard/src/main/js/default/pages/tab-bar/prop/index.hml
浏览文件 @
eb9203dd
...
...
@@ -145,6 +145,24 @@
</tab-bar>
</tabs>
<text class="sub-title">
通用属性 -- data
</text>
<tabs class = "tabs">
<tab-bar class="propNewAdd"
data="通用属性 -- data">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
<tabs class = "tabs">
<tab-bar class="propNewAdd"
data="">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
<text class="sub-title">
通用属性 -- click-effect
</text>
...
...
@@ -303,5 +321,49 @@
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
<text class="sub-title">
特有属性 -- tid
</text>
<tabs class = "mode">
<tab-bar class="propNewAdd"
tid="id">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
<tabs class = "mode">
<tab-bar class="propNewAdd"
tid="">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
<text class="sub-title">
特有属性 -- elif
</text>
<tabs class = "mode">
<tab-bar class="propNewAdd"
if="false">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
<tabs class = "mode">
<tab-bar class="propNewAdd"
elif="true">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
<tabs class = "mode">
<tab-bar class="propNewAdd"
elif="false">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-bar>
</tabs>
</div>
</div>
ace/ace_standard/src/main/js/default/pages/tab-bar/router/index.hml
浏览文件 @
eb9203dd
...
...
@@ -437,6 +437,7 @@
onchange="change">
<tab-bar class="tab-bar access1"
accessibilitygroup ="true"
onaccessibility="onAccessibility"
accessibilitytext="这是div"
accessibilitydescription="点击此按键会弹出一个对话框"
accessibilityimportance="no-hide-descendants"
...
...
ace/ace_standard/src/main/js/default/pages/tab-bar/router/index.js
浏览文件 @
eb9203dd
...
...
@@ -88,6 +88,13 @@ export default {
console
.
log
(
"
Tab index:
"
+
e
.
index
);
},
onAccessibility
(
event
)
{
if
(
event
.
eventType
==
1
)
{
// Do Something
}
console
.
log
(
"
onAccessibility
"
+
JSON
.
stringify
(
event
));
},
onShow
(){
// 通用属性
var
prop1
=
this
.
$element
(
'
prop1
'
);
...
...
ace/ace_standard/src/main/js/default/pages/tab-content/prop/index.css
浏览文件 @
eb9203dd
...
...
@@ -399,5 +399,14 @@ tab-text{
font-size
:
30px
;
}
.propNewAdd
{
height
:
15px
;
margin-bottom
:
3px
;
background-color
:
#c00000
;
width
:
100%
;
margin-left
:
10px
;
margin-right
:
10px
;
padding-start
:
10px
;
padding-end
:
10px
;
}
ace/ace_standard/src/main/js/default/pages/tab-content/prop/index.hml
浏览文件 @
eb9203dd
...
...
@@ -145,6 +145,24 @@
</tab-content>
</tabs>
<text class="sub-title">
通用属性 -- data
</text>
<tabs class = "tabs">
<tab-content class="propNewAdd"
data="通用属性 -- data">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-content>
</tabs>
<tabs class = "tabs">
<tab-content class="propNewAdd"
data="">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-content>
</tabs>
<text class="sub-title">
通用属性 -- click-effect
</text>
...
...
@@ -300,5 +318,49 @@
<text class="textFont">First</text>
</tab-content>
</tabs>
<text class="sub-title">
特有属性 -- tid
</text>
<tabs class = "mode">
<tab-content class="propNewAdd"
tid="id">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-content>
</tabs>
<tabs class = "mode">
<tab-content class="propNewAdd"
tid="">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-content>
</tabs>
<text class="sub-title">
特有属性 -- elif
</text>
<tabs class = "mode">
<tab-content class="propNewAdd"
if="false">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-content>
</tabs>
<tabs class = "mode">
<tab-content class="propNewAdd"
elif="true">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-content>
</tabs>
<tabs class = "mode">
<tab-content class="propNewAdd"
elif="false">
<text class="tab-text">Home</text>
<text class="tab-text">Index</text>
</tab-content>
</tabs>
</div>
</div>
ace/ace_standard/src/main/js/default/pages/tab-content/router/index.hml
浏览文件 @
eb9203dd
...
...
@@ -522,6 +522,7 @@
vertical="false"
onchange="change">
<tab-content class="tabcontent access1"
onaccessibility="onAccessibility"
accessibilitygroup ="true"
accessibilitytext="这是div"
accessibilitydescription="点击此按键会弹出一个对话框"
...
...
ace/ace_standard/src/main/js/default/pages/tab-content/router/index.js
浏览文件 @
eb9203dd
...
...
@@ -99,6 +99,13 @@ export default {
});
},
onAccessibility
(
event
)
{
if
(
event
.
eventType
==
1
)
{
// Do Something
}
console
.
log
(
"
onAccessibility
"
+
JSON
.
stringify
(
event
));
},
touchStart
(
event
){
var
globalX
=
event
.
touches
[
0
].
globalX
var
globalY
=
event
.
touches
[
0
].
globalY
...
...
ace/ace_standard/src/main/js/default/pages/tabs/prop/index.css
浏览文件 @
eb9203dd
...
...
@@ -387,7 +387,16 @@
margin-left
:
10px
;
margin-right
:
10px
;
}
.propNewAdd
{
height
:
15px
;
margin-bottom
:
3px
;
background-color
:
#c00000
;
width
:
100%
;
margin-left
:
10px
;
margin-right
:
10px
;
padding-start
:
10px
;
padding-end
:
10px
;
}
ace/ace_standard/src/main/js/default/pages/tabs/prop/index.hml
浏览文件 @
eb9203dd
...
...
@@ -181,5 +181,29 @@
<tabs id="verticalNone"
vertical="">
</tabs>
<text class="sub-title">
特有属性 -- tid
</text>
<tabs class="propNewAdd"
tid="id">
</tabs>
<tabs class="propNewAdd"
tid="">
</tabs>
<text class="sub-title">
特有属性 -- elif
</text>
<tabs class="propNewAdd"
if="false">
</tabs>
<tabs class="propNewAdd"
elif="true">
</tabs>
<tabs class="propNewAdd"
elif="false">
</tabs>
</div>
</div>
ace/ace_standard/src/main/js/default/pages/tabs/router/index.hml
浏览文件 @
eb9203dd
...
...
@@ -336,6 +336,7 @@
tabs无障碍1
</text>
<tabs class = "tabs access1 event3"
onaccessibility="onAccessibility"
accessibilitygroup ="true"
accessibilitytext="这是div"
accessibilitydescription="点击此按键会弹出一个对话框"
...
...
ace/ace_standard/src/main/js/default/pages/tabs/router/index.js
浏览文件 @
eb9203dd
...
...
@@ -88,6 +88,13 @@ export default {
console
.
log
(
"
Tab index:
"
+
e
.
index
);
},
onAccessibility
(
event
)
{
if
(
event
.
eventType
==
1
)
{
// Do Something
}
console
.
log
(
"
onAccessibility
"
+
JSON
.
stringify
(
event
));
},
onShow
(){
// 通用属性
var
prop1
=
this
.
$element
(
'
prop1
'
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录