From a9e3a3641abb61cb01537e25745087bb162e89a0 Mon Sep 17 00:00:00 2001 From: dongwei Date: Tue, 8 Mar 2022 18:15:54 +0800 Subject: [PATCH] add test cases Signed-off-by: dongwei --- .../js/default/pages/panel/router/index.hml | 13 ++ .../js/default/pages/panel/router/index.js | 7 + .../js/default/pages/panel/style/index.css | 14 +- .../js/default/pages/panel/style/index.hml | 137 ++++++++---------- 4 files changed, 83 insertions(+), 88 deletions(-) diff --git a/ace/ace_standard/src/main/js/default/pages/panel/router/index.hml b/ace/ace_standard/src/main/js/default/pages/panel/router/index.hml index acc614982..b43488c66 100644 --- a/ace/ace_standard/src/main/js/default/pages/panel/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/panel/router/index.hml @@ -294,6 +294,19 @@ + +
+ +
+
diff --git a/ace/ace_standard/src/main/js/default/pages/panel/router/index.js b/ace/ace_standard/src/main/js/default/pages/panel/router/index.js index b9ab4f9f9..c193ebff7 100644 --- a/ace/ace_standard/src/main/js/default/pages/panel/router/index.js +++ b/ace/ace_standard/src/main/js/default/pages/panel/router/index.js @@ -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 diff --git a/ace/ace_standard/src/main/js/default/pages/panel/style/index.css b/ace/ace_standard/src/main/js/default/pages/panel/style/index.css index 5c4c1d87f..c98c8f211 100644 --- a/ace/ace_standard/src/main/js/default/pages/panel/style/index.css +++ b/ace/ace_standard/src/main/js/default/pages/panel/style/index.css @@ -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; } diff --git a/ace/ace_standard/src/main/js/default/pages/panel/style/index.hml b/ace/ace_standard/src/main/js/default/pages/panel/style/index.hml index 8184c24ef..64e98e1be 100644 --- a/ace/ace_standard/src/main/js/default/pages/panel/style/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/panel/style/index.hml @@ -1,111 +1,96 @@ - -
- div通用样式 + panel通用样式 通用样式 1-8 \n width height padding margin border opacity align-self -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ + + + + + + + + + + + + + + + 通用样式9-20 \n display flex z-index position
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ + + + + + + + + + + + + + + + + + + + + +
通用样式21-23 box-shadow
-
-
-
-
-
-
+ + + + + +
通用样式23-25 visibility clip-path -
-
-
-
+ + + + 通用样式26-31 background -
-
-
-
-
-
-
-
-
-
+ + + + + + + + + + 通用样式32 clip-path image-fill mask-image -
-
+ +
-- GitLab