Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
bb6e8ced
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看板
提交
bb6e8ced
编写于
3月 08, 2022
作者:
D
dongwei
提交者:
wanggang
3月 10, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add test cases
Signed-off-by:
N
dongwei
<
dongwei@kaihongdigi.com
>
上级
19d1d7bd
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
83 addition
and
88 deletion
+83
-88
ace/ace_standard/src/main/js/default/pages/panel/router/index.hml
...standard/src/main/js/default/pages/panel/router/index.hml
+13
-0
ace/ace_standard/src/main/js/default/pages/panel/router/index.js
..._standard/src/main/js/default/pages/panel/router/index.js
+7
-0
ace/ace_standard/src/main/js/default/pages/panel/style/index.css
..._standard/src/main/js/default/pages/panel/style/index.css
+2
-12
ace/ace_standard/src/main/js/default/pages/panel/style/index.hml
..._standard/src/main/js/default/pages/panel/style/index.hml
+61
-76
未找到文件。
ace/ace_standard/src/main/js/default/pages/panel/router/index.hml
浏览文件 @
bb6e8ced
...
...
@@ -294,6 +294,19 @@
</button>
</div>
</panel>
<panel onaccessibility="onAccessibility"
type="foldable"
class="access1" accessibilitygroup ="true"
accessibilitytext="这是panel"
accessibilitydescription="点击此按键会弹出一个对话框"
accessibilityimportance="no-hide-descendants">
<div class="inner-btn">
<button type="capsule"
value="Close"
onclick="closePanelNo">
</button>
</div>
</panel>
</div>
<div style="background-color: #000000; width: 100%; height: 2px;">
</div>
...
...
ace/ace_standard/src/main/js/default/pages/panel/router/index.js
浏览文件 @
bb6e8ced
...
...
@@ -690,5 +690,12 @@ export default {
prompt
.
showToast
({
message
:
'
reachBottom
'
});
},
onAccessibility
(
event
)
{
if
(
event
.
eventType
==
1
)
{
console
.
log
(
"
onAccessibility
"
+
event
.
eventType
);
}
console
.
log
(
"
onAccessibility
"
+
JSON
.
stringify
(
event
));
}
}
\ No newline at end of file
ace/ace_standard/src/main/js/default/pages/panel/style/index.css
浏览文件 @
bb6e8ced
...
...
@@ -131,6 +131,7 @@
margin-top
:
2%
;
margin-right
:
1.5%
;
margin-bottom
:
0.5%
;
border-image
:
url('common/images/icon.png')
1px
2px
3px
4px
2px
3px
4px
5px
3px
4px
5px
6px
round
;
}
#styleSeven
{
...
...
@@ -157,17 +158,6 @@
display
:
flex
;
}
#styleFive
{
width
:
100%
;
height
:
40px
;
border
:
5px
;
border-image-source
:
url('/common/images/image.png')
;
border-image-slice
:
5px
10px
10px
5px
;
border-image-width
:
10px
5px
5px
10px
;
border-image-outset
:
10px
5px
10px
5px
;
border-image-repeat
:
repeat
;
}
#styleTen
{
width
:
100%
;
height
:
400%
;
...
...
@@ -328,7 +318,7 @@
width
:
150px
;
height
:
20px
;
background-image
:
url('common/images/image.png')
;
background-size
:
50px
10px
;
background-size
:
auto
;
background-repeat
:
no-repeat
;
background-position
:
10px
10px
;
}
...
...
ace/ace_standard/src/main/js/default/pages/panel/style/index.hml
浏览文件 @
bb6e8ced
<!--/**
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/-->
<div class="container">
<div class="style-container">
<text class="title">
div
通用样式
panel
通用样式
</text>
<text class="sub-title">
通用样式 1-8 \n width height padding margin border opacity align-self
</text>
<
div id="styleOn
e">
</
div
>
<
div id="styleTwo
">
</
div
>
<
div id="styleThre
e">
</
div
>
<
div id="styleFour
">
</
div
>
<
div id="styleFiv
e">
</
div
>
<
div id="styleSix
">
</
div
>
<
div id="styleSeven
">
</
div
>
<
div id="styleEight
">
</
div
>
<
panel id="styleOne" type="foldabl
e">
</
panel
>
<
panel id="styleTwo" type="foldable
">
</
panel
>
<
panel id="styleThree" type="foldabl
e">
</
panel
>
<
panel id="styleFour" type="foldable
">
</
panel
>
<
panel id="styleFive" type="foldabl
e">
</
panel
>
<
panel id="styleSix" type="foldable
">
</
panel
>
<
panel id="styleSeven" type="foldable
">
</
panel
>
<
panel id="styleEight" type="foldable
">
</
panel
>
<text class="sub-title">
通用样式9-20 \n display flex z-index position
</text>
<div id="styleNine">
<
div id="styleTen
">
</
div
>
<
div id="styleEleven
">
</
div
>
<
div id="styleTwelv
e">
</
div
>
<
div id="styleThirteen
">
</
div
>
<
div id="styleFourteen
">
</
div
>
<
div id="styleFifteen
">
</
div
>
<
div id="styleSixteen
">
</
div
>
<
div id="styleSeventeen
">
</
div
>
<
div id="styleEighteen
">
</
div
>
<
div id="styleNineteen
">
</
div
>
<
div id="styleTwenty
">
</
div
>
<
panel id="styleTen" type="foldable
">
</
panel
>
<
panel id="styleEleven" type="foldable
">
</
panel
>
<
panel id="styleTwelve" type="foldabl
e">
</
panel
>
<
panel id="styleThirteen" type="foldable
">
</
panel
>
<
panel id="styleFourteen" type="foldable
">
</
panel
>
<
panel id="styleFifteen" type="foldable
">
</
panel
>
<
panel id="styleSixteen" type="foldable
">
</
panel
>
<
panel id="styleSeventeen" type="foldable
">
</
panel
>
<
panel id="styleEighteen" type="foldable
">
</
panel
>
<
panel id="styleNineteen" type="foldable
">
</
panel
>
<
panel id="styleTwenty" type="foldable
">
</
panel
>
</div>
<text class="sub-title">
通用样式21-23 box-shadow
</text>
<div style="width: 100%;flex-direction: row;">
<
div id="styleTwentyOn
e">
</
div
>
<
div id="styleTwentyTwo
">
</
div
>
<
div id="styleTwentyThre
e">
</
div
>
<
panel id="styleTwentyOne" type="foldabl
e">
</
panel
>
<
panel id="styleTwentyTwo" type="foldable
">
</
panel
>
<
panel id="styleTwentyThree" type="foldabl
e">
</
panel
>
</div>
<text class="sub-title">
通用样式23-25 visibility clip-path
</text>
<
div id="styleTwentyFour
">
</
div
>
<
div id="styleTwentyFiv
e">
</
div
>
<
panel id="styleTwentyFour" type="foldable
">
</
panel
>
<
panel id="styleTwentyFive" type="foldabl
e">
</
panel
>
<text class="sub-title">
通用样式26-31 background
</text>
<
div id="styleTwentySix
">
</
div
>
<
div id="styleTwentySeven
">
</
div
>
<
div id="styleTwentyNin
e">
</
div
>
<
div id="styleThirty
">
</
div
>
<
div id="styleThirtyOn
e">
</
div
>
<
panel id="styleTwentySix" type="foldable
">
</
panel
>
<
panel id="styleTwentySeven" type="foldable
">
</
panel
>
<
panel id="styleTwentyNine" type="foldabl
e">
</
panel
>
<
panel id="styleThirty" type="foldable
">
</
panel
>
<
panel id="styleThirtyOne" type="foldabl
e">
</
panel
>
<text class="sub-title">
通用样式32 clip-path image-fill mask-image
</text>
<
div id="styleThirtyTwo
">
</
div
>
<
panel id="styleThirtyTwo" type="foldable
">
</
panel
>
</div>
</div>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录