From 21f0649fe94760122c8150e8640bcef7c8cd3627 Mon Sep 17 00:00:00 2001 From: dongwei Date: Tue, 8 Mar 2022 17:58:40 +0800 Subject: [PATCH] add test cases Signed-off-by: dongwei --- .../main/js/default/pages/div/prop/index.css | 40 +++++++++++++++++++ .../main/js/default/pages/div/prop/index.hml | 35 +++++++++++----- .../js/default/pages/div/router/index.hml | 2 +- .../main/js/default/pages/div/style/index.css | 3 -- .../main/js/default/pages/div/style/index.hml | 1 - 5 files changed, 65 insertions(+), 16 deletions(-) diff --git a/ace/ace_standard/src/main/js/default/pages/div/prop/index.css b/ace/ace_standard/src/main/js/default/pages/div/prop/index.css index e815b3669..4c3c46496 100644 --- a/ace/ace_standard/src/main/js/default/pages/div/prop/index.css +++ b/ace/ace_standard/src/main/js/default/pages/div/prop/index.css @@ -341,6 +341,46 @@ padding-end: 10px; } +#tidProp { + flex-weight: 1; + background-color:#0e0000; + width: 100%; + margin-left: 10px; + margin-right: 10px; + padding-start: 10px; + padding-end: 10px; +} + +#tidPropNone { + flex-weight: 1; + background-color:#c00000; + width: 100%; + margin-left: 10px; + margin-right: 10px; + padding-start: 10px; + padding-end: 10px; +} + +#elifPropTrue { + flex-weight: 1; + background-color:#0e0000; + width: 100%; + margin-left: 10px; + margin-right: 10px; + padding-start: 10px; + padding-end: 10px; +} + +#elifPropFalse { + flex-weight: 1; + background-color:#c00000; + width: 100%; + margin-left: 10px; + margin-right: 10px; + padding-start: 10px; + padding-end: 10px; +} + .specific-container{ flex-direction: column; flex-weight: 1; diff --git a/ace/ace_standard/src/main/js/default/pages/div/prop/index.hml b/ace/ace_standard/src/main/js/default/pages/div/prop/index.hml index e88d27e35..c2de87f83 100644 --- a/ace/ace_standard/src/main/js/default/pages/div/prop/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/div/prop/index.hml @@ -89,16 +89,6 @@ data-div=""> - - 通用属性 -- data - -
-
-
-
- 通用属性 -- click-effect @@ -161,7 +151,30 @@ show="false">
+ show="false"> +
+ + + 属性 -- tid + +
+
+
+
+ + + 属性 -- elif + +
+
+
+
+
diff --git a/ace/ace_standard/src/main/js/default/pages/div/router/index.hml b/ace/ace_standard/src/main/js/default/pages/div/router/index.hml index f6051f0b3..1aa88432e 100644 --- a/ace/ace_standard/src/main/js/default/pages/div/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/div/router/index.hml @@ -158,7 +158,7 @@
+ onswipe="swipe" onattached="attached" ondetached="detached" onaccessibility="attached">
div通用事件3 diff --git a/ace/ace_standard/src/main/js/default/pages/div/style/index.css b/ace/ace_standard/src/main/js/default/pages/div/style/index.css index 55beb4d4f..d52ce8827 100644 --- a/ace/ace_standard/src/main/js/default/pages/div/style/index.css +++ b/ace/ace_standard/src/main/js/default/pages/div/style/index.css @@ -394,7 +394,6 @@ flex-direction: row; justify-content:center; align-items: center; - align-items: center; margin: 1%; } @@ -511,7 +510,6 @@ background-color: #fff000; } - #addOne{ width: 10%; height: 20px; @@ -620,4 +618,3 @@ background-color: #fa8072; } } - diff --git a/ace/ace_standard/src/main/js/default/pages/div/style/index.hml b/ace/ace_standard/src/main/js/default/pages/div/style/index.hml index 97ccf5c9f..4e9c6a7a6 100644 --- a/ace/ace_standard/src/main/js/default/pages/div/style/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/div/style/index.hml @@ -229,7 +229,6 @@ - -- GitLab