Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b9f860dc
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看板
提交
b9f860dc
编写于
2月 16, 2022
作者:
B
bayanxing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
UI组件 路由测试用例
Signed-off-by:
N
bayanxing
<
bayanxing@kaihongdigi.com
>
上级
bef0b571
变更
14
展开全部
隐藏空白更改
内联
并排
Showing
14 changed file
with
665 addition
and
955 deletion
+665
-955
ace/ace_standard/Test.json
ace/ace_standard/Test.json
+2
-2
ace/ace_standard/src/main/js/default/pages/panel/index.css
ace/ace_standard/src/main/js/default/pages/panel/index.css
+3
-45
ace/ace_standard/src/main/js/default/pages/panel/index.hml
ace/ace_standard/src/main/js/default/pages/panel/index.hml
+4
-4
ace/ace_standard/src/main/js/default/pages/panel/index.js
ace/ace_standard/src/main/js/default/pages/panel/index.js
+4
-4
ace/ace_standard/src/main/js/default/pages/popup/index.css
ace/ace_standard/src/main/js/default/pages/popup/index.css
+3
-45
ace/ace_standard/src/main/js/default/pages/popup/index.hml
ace/ace_standard/src/main/js/default/pages/popup/index.hml
+1
-1
ace/ace_standard/src/main/js/default/pages/refresh/index.css
ace/ace_standard/src/main/js/default/pages/refresh/index.css
+3
-45
ace/ace_standard/src/main/js/default/pages/stack/index.css
ace/ace_standard/src/main/js/default/pages/stack/index.css
+3
-45
ace/ace_standard/src/main/js/default/pages/stepper/index.css
ace/ace_standard/src/main/js/default/pages/stepper/index.css
+3
-45
ace/ace_standard/src/main/js/default/pages/stepper/index.hml
ace/ace_standard/src/main/js/default/pages/stepper/index.hml
+9
-10
ace/ace_standard/src/main/js/default/pages/stepper/index.js
ace/ace_standard/src/main/js/default/pages/stepper/index.js
+6
-2
ace/ace_standard/src/main/js/default/pages/swiper/index.css
ace/ace_standard/src/main/js/default/pages/swiper/index.css
+3
-45
ace/ace_standard/src/main/js/default/pages/tabs/index.css
ace/ace_standard/src/main/js/default/pages/tabs/index.css
+3
-45
ace/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js
...ard/src/main/js/default/test/commonComponentJsApi.test.js
+618
-617
未找到文件。
ace/ace_standard/Test.json
浏览文件 @
b9f860dc
...
...
@@ -2,9 +2,9 @@
"description"
:
"Configuration for aceceshi Tests"
,
"driver"
:
{
"type"
:
"JSUnitTest"
,
"test-timeout"
:
"
1
00000"
,
"test-timeout"
:
"
2
00000"
,
"package"
:
"com.example.aceceshi"
,
"shell-timeout"
:
"
1
00000"
"shell-timeout"
:
"
2
00000"
},
"kits"
:
[
{
...
...
ace/ace_standard/src/main/js/default/pages/panel/index.css
浏览文件 @
b9f860dc
...
...
@@ -335,55 +335,13 @@
}
}
.ani2
{
color
:
#ad4e2a
;
stroke-
width
:
55px
;
line-cap
:
square
;
background-
color
:
#ad4e2a
;
width
:
55px
;
height
:
55px
;
margin
:
5px
;
transform-origin
:
2%
3%
;
animation-name
:
ani2Go
;
animation-delay
:
5s
;
animation-duration
:
10s
;
animation-iteration-count
:
4
;
animation-timing-function
:
ease-out
;
animation-direction
:
reverse
;
animation-fill-mode
:
forwards
;
animation-play-state
:
running
;
transition
:
all
0
ease
0
;
}
@keyframes
ani2Go
{
from
{
background-color
:
#f76160
;
opacity
:
0.3
;
width
:
50px
;
height
:
50px
;
background-position
:
10%
10%
}
30
%
{
background-color
:
#60f761
;
opacity
:
0.5
;
width
:
70px
;
height
:
70px
;
background-position
:
12%
12%
;
transform
:
translateX
(
10px
)
translateY
(
5px
)
translateZ
(
15px
)
rotateX
(
20deg
)
rotateY
(
25deg
)
rotateZ
(
15deg
)
scaleX
(
0.6
)
scaleY
(
0.5
)
scaleZ
(
1.5
)
perspective
(
10
);
}
to
{
background-color
:
#6160f7
;
opacity
:
1
;
width
:
90px
;
height
:
90px
;
background-position
:
22%
22%
;
transform
:
translateX
(
30px
)
translateY
(
45px
)
translateZ
(
55px
)
rotateX
(
180deg
)
rotateY
(
185deg
)
rotateZ
(
150deg
)
scaleX
(
2
)
scaleY
(
2.5
)
scaleZ
(
3.5
);
}
}
.gradient1
{
stroke-width
:
30px
;
line-cap
:
square
;
...
...
ace/ace_standard/src/main/js/default/pages/panel/index.hml
浏览文件 @
b9f860dc
...
...
@@ -216,7 +216,7 @@
动画样式
</text>
<text class="sub-title">
div
动画样式1
panel
动画样式1
</text>
<div class="btn-div">
<button type="capsule"
...
...
@@ -243,7 +243,7 @@
</div>
</panel>
<text class="sub-title">
div
动画样式2
panel
动画样式2
</text>
<div class="btn-div">
<button type="capsule"
...
...
@@ -291,7 +291,7 @@
onclick="showPanelPro1">
</button>
</div>
<panel id
="simplepanelPro
1"
<panel id
= "prop
1"
class="prop1"
type="foldable"
disabled = "true"
...
...
@@ -320,7 +320,7 @@
onclick="showPanelPro2">
</button>
</div>
<panel id="
simplepanelPro
2" class="prop2" ref ="prop2"
<panel id="
prop
2" class="prop2" ref ="prop2"
disabled = "false" focusable ="false"
data-name ="prop2" click-effect="spring-large"
dir ="ltr"
...
...
ace/ace_standard/src/main/js/default/pages/panel/index.js
浏览文件 @
b9f860dc
...
...
@@ -57,16 +57,16 @@ export default {
},
// 属性
showPanelPro1
()
{
this
.
$element
(
'
simplepanelPro
1
'
).
show
()
this
.
$element
(
'
prop
1
'
).
show
()
},
closePanelPro1
()
{
this
.
$element
(
'
simplepanelPro
1
'
).
close
()
this
.
$element
(
'
prop
1
'
).
close
()
},
showPanelPro2
()
{
this
.
$element
(
'
simplepanelPro
2
'
).
show
()
this
.
$element
(
'
prop
2
'
).
show
()
},
closePanelPro2
()
{
this
.
$element
(
'
simplepanelPro
2
'
).
close
()
this
.
$element
(
'
prop
2
'
).
close
()
},
showPanelPro3
()
{
this
.
$element
(
'
simplepanelPro3
'
).
show
()
...
...
ace/ace_standard/src/main/js/default/pages/popup/index.css
浏览文件 @
b9f860dc
...
...
@@ -296,55 +296,13 @@
}
}
.ani2
{
color
:
#ad4e2a
;
stroke-
width
:
55px
;
line-cap
:
square
;
background-
color
:
#ad4e2a
;
width
:
55px
;
height
:
55px
;
margin
:
5px
;
transform-origin
:
2%
3%
;
animation-name
:
ani2Go
;
animation-delay
:
5s
;
animation-duration
:
10s
;
animation-iteration-count
:
4
;
animation-timing-function
:
ease-out
;
animation-direction
:
reverse
;
animation-fill-mode
:
forwards
;
animation-play-state
:
running
;
transition
:
all
0
ease
0
;
}
@keyframes
ani2Go
{
from
{
background-color
:
#f76160
;
opacity
:
0.3
;
width
:
50px
;
height
:
50px
;
background-position
:
10%
10%
}
30
%
{
background-color
:
#60f761
;
opacity
:
0.5
;
width
:
70px
;
height
:
70px
;
background-position
:
12%
12%
;
transform
:
translateX
(
10px
)
translateY
(
5px
)
translateZ
(
15px
)
rotateX
(
20deg
)
rotateY
(
25deg
)
rotateZ
(
15deg
)
scaleX
(
0.6
)
scaleY
(
0.5
)
scaleZ
(
1.5
)
perspective
(
10
);
}
to
{
background-color
:
#6160f7
;
opacity
:
1
;
width
:
90px
;
height
:
90px
;
background-position
:
22%
22%
;
transform
:
translateX
(
30px
)
translateY
(
45px
)
translateZ
(
55px
)
rotateX
(
180deg
)
rotateY
(
185deg
)
rotateZ
(
150deg
)
scaleX
(
2
)
scaleY
(
2.5
)
scaleZ
(
3.5
);
}
}
.gradient1
{
stroke-width
:
30px
;
line-cap
:
square
;
...
...
ace/ace_standard/src/main/js/default/pages/popup/index.hml
浏览文件 @
b9f860dc
...
...
@@ -469,7 +469,7 @@
popup动画样式1
</text>
<text id="textani
1
" class="sub-title">
<text id="textani
2
" class="sub-title">
popup动画样式2
</text>
</div>
...
...
ace/ace_standard/src/main/js/default/pages/refresh/index.css
浏览文件 @
b9f860dc
...
...
@@ -362,55 +362,13 @@ refresh{
}
}
.ani2
{
color
:
#ad4e2a
;
stroke-
width
:
55px
;
line-cap
:
square
;
background-
color
:
#ad4e2a
;
width
:
55px
;
height
:
55px
;
margin
:
5px
;
transform-origin
:
2%
3%
;
animation-name
:
ani2Go
;
animation-delay
:
5s
;
animation-duration
:
10s
;
animation-iteration-count
:
4
;
animation-timing-function
:
ease-out
;
animation-direction
:
reverse
;
animation-fill-mode
:
forwards
;
animation-play-state
:
running
;
transition
:
all
0
ease
0
;
}
@keyframes
ani2Go
{
from
{
background-color
:
#f76160
;
opacity
:
0.3
;
width
:
50px
;
height
:
50px
;
background-position
:
10%
10%
}
30
%
{
background-color
:
#60f761
;
opacity
:
0.5
;
width
:
70px
;
height
:
70px
;
background-position
:
12%
12%
;
transform
:
translateX
(
10px
)
translateY
(
5px
)
translateZ
(
15px
)
rotateX
(
20deg
)
rotateY
(
25deg
)
rotateZ
(
15deg
)
scaleX
(
0.6
)
scaleY
(
0.5
)
scaleZ
(
1.5
)
perspective
(
10
);
}
to
{
background-color
:
#6160f7
;
opacity
:
1
;
width
:
90px
;
height
:
90px
;
background-position
:
22%
22%
;
transform
:
translateX
(
30px
)
translateY
(
45px
)
translateZ
(
55px
)
rotateX
(
180deg
)
rotateY
(
185deg
)
rotateZ
(
150deg
)
scaleX
(
2
)
scaleY
(
2.5
)
scaleZ
(
3.5
);
}
}
.gradient1
{
stroke-width
:
30px
;
line-cap
:
square
;
...
...
ace/ace_standard/src/main/js/default/pages/stack/index.css
浏览文件 @
b9f860dc
...
...
@@ -330,55 +330,13 @@
}
}
.ani2
{
color
:
#ad4e2a
;
stroke-width
:
55px
;
line-cap
:
square
;
background-
color
:
#ad4e2a
;
width
:
100%
;
height
:
55px
;
margin
:
5px
;
transform-origin
:
2%
3%
;
animation-name
:
ani2Go
;
animation-delay
:
5s
;
animation-duration
:
10s
;
animation-iteration-count
:
4
;
animation-timing-function
:
ease-out
;
animation-direction
:
reverse
;
animation-fill-mode
:
forwards
;
animation-play-state
:
running
;
transition
:
all
0
ease
0
;
}
@keyframes
ani2Go
{
from
{
background-color
:
#f76160
;
opacity
:
0.3
;
width
:
50px
;
height
:
50px
;
background-position
:
10%
10%
}
30
%
{
background-color
:
#60f761
;
opacity
:
0.5
;
width
:
70px
;
height
:
70px
;
background-position
:
12%
12%
;
transform
:
translateX
(
10px
)
translateY
(
5px
)
translateZ
(
15px
)
rotateX
(
20deg
)
rotateY
(
25deg
)
rotateZ
(
15deg
)
scaleX
(
0.6
)
scaleY
(
0.5
)
scaleZ
(
1.5
)
perspective
(
10
);
}
to
{
background-color
:
#6160f7
;
opacity
:
1
;
width
:
90px
;
height
:
90px
;
background-position
:
22%
22%
;
transform
:
translateX
(
30px
)
translateY
(
45px
)
translateZ
(
55px
)
rotateX
(
180deg
)
rotateY
(
185deg
)
rotateZ
(
150deg
)
scaleX
(
2
)
scaleY
(
2.5
)
scaleZ
(
3.5
);
}
}
.gradient1
{
stroke-width
:
30px
;
line-cap
:
square
;
...
...
ace/ace_standard/src/main/js/default/pages/stepper/index.css
浏览文件 @
b9f860dc
...
...
@@ -418,55 +418,13 @@
}
}
.ani2
{
color
:
#ad4e2a
;
stroke-width
:
55px
;
line-cap
:
square
;
background-
color
:
#ad4e2a
;
width
:
100%
;
height
:
75px
;
margin
:
5px
;
transform-origin
:
2%
3%
;
animation-name
:
ani2Go
;
animation-delay
:
5s
;
animation-duration
:
10s
;
animation-iteration-count
:
4
;
animation-timing-function
:
ease-out
;
animation-direction
:
reverse
;
animation-fill-mode
:
forwards
;
animation-play-state
:
running
;
transition
:
all
0
ease
0
;
}
@keyframes
ani2Go
{
from
{
background-color
:
#f76160
;
opacity
:
0.3
;
width
:
50px
;
height
:
50px
;
background-position
:
10%
10%
}
30
%
{
background-color
:
#60f761
;
opacity
:
0.5
;
width
:
70px
;
height
:
70px
;
background-position
:
12%
12%
;
transform
:
translateX
(
10px
)
translateY
(
5px
)
translateZ
(
15px
)
rotateX
(
20deg
)
rotateY
(
25deg
)
rotateZ
(
15deg
)
scaleX
(
0.6
)
scaleY
(
0.5
)
scaleZ
(
1.5
)
perspective
(
10
);
}
to
{
background-color
:
#6160f7
;
opacity
:
1
;
width
:
90px
;
height
:
90px
;
background-position
:
22%
22%
;
transform
:
translateX
(
30px
)
translateY
(
45px
)
translateZ
(
55px
)
rotateX
(
180deg
)
rotateY
(
185deg
)
rotateZ
(
150deg
)
scaleX
(
2
)
scaleY
(
2.5
)
scaleZ
(
3.5
);
}
}
.gradient1
{
stroke-width
:
30px
;
line-cap
:
square
;
...
...
ace/ace_standard/src/main/js/default/pages/stepper/index.hml
浏览文件 @
b9f860dc
...
...
@@ -261,10 +261,9 @@
stepper通用属性1
</text>
<stepper class="stylePro"
disabled = "true" focusable ="true"
data-name ="prop1" click-effect="spring-medium"
data-name ="prop1"
dir ="rtl"
id="
mystepper
"
id="
prop1
"
index="0"
onnext="next"
onback="back">
...
...
@@ -291,10 +290,9 @@
<text class="sub-title">
stepper通用属性2
</text>
<stepper class="stylePro" id="prop1"
focusable ="true"
data-name ="prop1" click-effect="spring-medium"
dir ="rtl" id="mystepper" index="0" onnext="next" onback="back">
<stepper class="stylePro" id="prop2"
data-name ="prop2"
dir ="rtl" index="0" onnext="next" onback="back">
<stepper-item class ="stepperItem gradient4" label="{{label_1}}">
<div class = "stepperItemContent" >
<text class = "text">First</text>
...
...
@@ -319,7 +317,7 @@
stepper通用属性3
</text>
<stepper style="color: #679855; stroke-width: 15px; line-cap: round; margin: 5px;"
class="stylePro" id="
mystepper
" index="0" onnext="next" onback="back">
class="stylePro" id="
prop3
" index="0" onnext="next" onback="back">
<stepper-item class ="stepperItem" label="{{label_1}}">
<div class = "stepperItemContent" >
<text class = "text">First</text>
...
...
@@ -488,7 +486,7 @@
stepper通用方法1
</text>
<stepper class="stylePro function1"
id="mystepper" index="1"
id="mystepper
1
" index="1"
onnext="next"
onback="back"
ontouchstart="functionTest1">
...
...
@@ -507,6 +505,7 @@
<button type="capsule" class ="button" value="stepper1" onclick="setRightButton"></button>
</stepper-item>
<stepper-item class ="stepperItem"
id="function3"
ontouchstart="functionTest3"
label="{{label_3}}">
<div class = "stepperItemContent" >
...
...
@@ -521,7 +520,7 @@
</text>
<stepper class="stylePro function2"
ontouchstart="functionTest2"
id="mystepper"
id="mystepper
2
"
index="1"
onnext="next"
onback="back"
...
...
ace/ace_standard/src/main/js/default/pages/stepper/index.js
浏览文件 @
b9f860dc
...
...
@@ -23,6 +23,10 @@ export default {
},
setRightButton
(
e
)
{
this
.
$element
(
'
mystepper
'
).
setNextButtonStatus
({
status
:
'
skip
'
,
label
:
'
SKIP
'
});
this
.
$element
(
'
prop1
'
).
setNextButtonStatus
({
status
:
'
skip
'
,
label
:
'
SKIP
'
});
this
.
$element
(
'
prop2
'
).
setNextButtonStatus
({
status
:
'
skip
'
,
label
:
'
SKIP
'
});
this
.
$element
(
'
mystepper1
'
).
setNextButtonStatus
({
status
:
'
skip
'
,
label
:
'
SKIP
'
});
this
.
$element
(
'
mystepper2
'
).
setNextButtonStatus
({
status
:
'
skip
'
,
label
:
'
SKIP
'
});
},
next
(
e
)
{
var
index
=
{
...
...
@@ -360,7 +364,7 @@ export default {
},
functionTest1
(
event
){
var
function1
=
this
.
$element
(
'
function
1
'
);
var
function1
=
this
.
$element
(
'
mystepper
1
'
);
function1
.
focus
(
true
)
var
rect
=
function1
.
getBoundingClientRect
();
var
width
=
rect
.
width
;
...
...
@@ -375,7 +379,7 @@ export default {
},
functionTest2
(
event
){
var
function2
=
this
.
$element
(
'
function
2
'
);
var
function2
=
this
.
$element
(
'
mystepper
2
'
);
let
observer
=
function2
.
createIntersectionObserver
({
ratios
:
[
0.2
,
0
],
// number
});
...
...
ace/ace_standard/src/main/js/default/pages/swiper/index.css
浏览文件 @
b9f860dc
...
...
@@ -363,55 +363,13 @@
}
}
.ani2
{
color
:
#ad4e2a
;
stroke-width
:
55px
;
line-cap
:
square
;
background-
color
:
#ad4e2a
;
width
:
100%
;
height
:
55px
;
margin
:
5px
;
transform-origin
:
2%
3%
;
animation-name
:
ani2Go
;
animation-delay
:
5s
;
animation-duration
:
10s
;
animation-iteration-count
:
4
;
animation-timing-function
:
ease-out
;
animation-direction
:
reverse
;
animation-fill-mode
:
forwards
;
animation-play-state
:
running
;
transition
:
all
0
ease
0
;
}
@keyframes
ani2Go
{
from
{
background-color
:
#f76160
;
opacity
:
0.3
;
width
:
50px
;
height
:
50px
;
background-position
:
10%
10%
}
30
%
{
background-color
:
#60f761
;
opacity
:
0.5
;
width
:
70px
;
height
:
70px
;
background-position
:
12%
12%
;
transform
:
translateX
(
10px
)
translateY
(
5px
)
translateZ
(
15px
)
rotateX
(
20deg
)
rotateY
(
25deg
)
rotateZ
(
15deg
)
scaleX
(
0.6
)
scaleY
(
0.5
)
scaleZ
(
1.5
)
perspective
(
10
);
}
to
{
background-color
:
#6160f7
;
opacity
:
1
;
width
:
90px
;
height
:
90px
;
background-position
:
22%
22%
;
transform
:
translateX
(
30px
)
translateY
(
45px
)
translateZ
(
55px
)
rotateX
(
180deg
)
rotateY
(
185deg
)
rotateZ
(
150deg
)
scaleX
(
2
)
scaleY
(
2.5
)
scaleZ
(
3.5
);
}
}
.gradient1
{
stroke-width
:
30px
;
line-cap
:
square
;
...
...
ace/ace_standard/src/main/js/default/pages/tabs/index.css
浏览文件 @
b9f860dc
...
...
@@ -370,55 +370,13 @@
}
}
.ani2
{
color
:
#ad4e2a
;
stroke-width
:
55px
;
line-cap
:
square
;
background-
color
:
#ad4e2a
;
width
:
100%
;
height
:
55px
;
margin
:
5px
;
transform-origin
:
2%
3%
;
animation-name
:
ani2Go
;
animation-delay
:
5s
;
animation-duration
:
10s
;
animation-iteration-count
:
4
;
animation-timing-function
:
ease-out
;
animation-direction
:
reverse
;
animation-fill-mode
:
forwards
;
animation-play-state
:
running
;
transition
:
all
0
ease
0
;
}
@keyframes
ani2Go
{
from
{
background-color
:
#f76160
;
opacity
:
0.3
;
width
:
50px
;
height
:
50px
;
background-position
:
10%
10%
}
30
%
{
background-color
:
#60f761
;
opacity
:
0.5
;
width
:
70px
;
height
:
70px
;
background-position
:
12%
12%
;
transform
:
translateX
(
10px
)
translateY
(
5px
)
translateZ
(
15px
)
rotateX
(
20deg
)
rotateY
(
25deg
)
rotateZ
(
15deg
)
scaleX
(
0.6
)
scaleY
(
0.5
)
scaleZ
(
1.5
)
perspective
(
10
);
}
to
{
background-color
:
#6160f7
;
opacity
:
1
;
width
:
90px
;
height
:
90px
;
background-position
:
22%
22%
;
transform
:
translateX
(
30px
)
translateY
(
45px
)
translateZ
(
55px
)
rotateX
(
180deg
)
rotateY
(
185deg
)
rotateZ
(
150deg
)
scaleX
(
2
)
scaleY
(
2.5
)
scaleZ
(
3.5
);
}
}
.gradient1
{
stroke-width
:
30px
;
line-cap
:
square
;
...
...
ace/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js
浏览文件 @
b9f860dc
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录