From 07ce5546cfd67b25459637647111c79c07ceb0d7 Mon Sep 17 00:00:00 2001 From: dongwei Date: Tue, 8 Mar 2022 10:39:56 +0800 Subject: [PATCH] add test cases Signed-off-by: dongwei --- ace/ace_standard/src/main/config.json | 1 + .../js/default/pages/button/prop/index.css | 11 +- .../js/default/pages/button/prop/index.hml | 43 ++ .../js/default/pages/button/prop/index.js | 1 + .../js/default/pages/button/router/index.css | 2 +- .../js/default/pages/button/router/index.hml | 1 + .../js/default/pages/button/router/index.js | 8 + .../js/default/pages/button/style/index.css | 655 ++++++++++++++++++ .../js/default/pages/button/style/index.hml | 154 ++++ .../js/default/pages/button/style/index.js | 7 +- 10 files changed, 880 insertions(+), 3 deletions(-) diff --git a/ace/ace_standard/src/main/config.json b/ace/ace_standard/src/main/config.json index 7dd506667..1f3048286 100755 --- a/ace/ace_standard/src/main/config.json +++ b/ace/ace_standard/src/main/config.json @@ -156,6 +156,7 @@ "pages/div/style/index", "pages/divider/prop/index", "pages/button/prop/index", + "pages/button/style/index", "pages/chart/prop/index", "pages/image/prop/index", "pages/span/prop/index", diff --git a/ace/ace_standard/src/main/js/default/pages/button/prop/index.css b/ace/ace_standard/src/main/js/default/pages/button/prop/index.css index 43c222fb8..a99777f68 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/prop/index.css +++ b/ace/ace_standard/src/main/js/default/pages/button/prop/index.css @@ -512,7 +512,16 @@ padding-start: 10px; padding-end: 10px; } - +.propNewAdd{ + height: 15px; + margin-bottom: 3px; + background-color:#c00000; + width: 100%; + margin-left: 10px; + margin-right: 10px; + padding-start: 10px; + padding-end: 10px; +} diff --git a/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml b/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml index 48343c8de..6d77eeead 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/button/prop/index.hml @@ -88,6 +88,16 @@ data-button=""> + + 通用属性 -- data + + + + 通用属性 -- click-effect @@ -234,5 +244,38 @@ + + + 特有属性 -- shareid + + + + + + 特有属性 -- tid + + + + + + 特有属性 -- elif + + + + diff --git a/ace/ace_standard/src/main/js/default/pages/button/prop/index.js b/ace/ace_standard/src/main/js/default/pages/button/prop/index.js index a9f6c506f..75b2b26dd 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/button/prop/index.js @@ -68,6 +68,7 @@ export default { waitingFalse : null, waitingNone : null }, + onShow(){ this.getCommonPropValues(); this.getSpecificPropValues(); diff --git a/ace/ace_standard/src/main/js/default/pages/button/router/index.css b/ace/ace_standard/src/main/js/default/pages/button/router/index.css index 9ddb2a976..6cfbe7e00 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/router/index.css +++ b/ace/ace_standard/src/main/js/default/pages/button/router/index.css @@ -108,6 +108,7 @@ button{ max-height: 20px; padding-left: 10px; padding-top: 1px; + font-size:10px; padding-right: 15px; padding-bottom: 1px; margin-left: 10px; @@ -152,7 +153,6 @@ button{ border-color:#000000; border-radius:5px; background-color:#ffaa00; - mask-image: url('common/images/icon.png'); mask-size: cover; mask-position: center; } diff --git a/ace/ace_standard/src/main/js/default/pages/button/router/index.hml b/ace/ace_standard/src/main/js/default/pages/button/router/index.hml index 25e2ec463..f248c1069 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/button/router/index.hml @@ -277,6 +277,7 @@ button无障碍1 + + + + + + + + + + 通用样式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 + + + + + 通用样式33 filter:blur() backdrop-filter:blur() window-filter:blur() + + + +
+
+
+ + button特有样式 + + + + 特有样式 + +
+ + + + + + + + + + + + +
+
+ + diff --git a/ace/ace_standard/src/main/js/default/pages/button/style/index.js b/ace/ace_standard/src/main/js/default/pages/button/style/index.js index 4a45d3eb1..8179ff70c 100644 --- a/ace/ace_standard/src/main/js/default/pages/button/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/button/style/index.js @@ -11,4 +11,9 @@ * 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. - */ \ No newline at end of file + */ + +export default { + + +} -- GitLab