Skip to content

Commit c9bee5f

Browse files
author
bearyan
committed
优化picker的初始化样式
1 parent 7a3e14a commit c9bee5f

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

dist/style/weui.css

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/style/weui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/style/widget/weui-picker/weui-picker.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
bottom: 0;
88
z-index: 5000;
99
backface-visibility: hidden;
10+
transform: translate(0, 100%);
11+
//slide up animation
12+
transition: transform .3s;
1013
}
1114

1215
.weui-picker__hd {
@@ -60,6 +63,7 @@
6063
background-position: top, bottom;
6164
background-size: 100% 102px;
6265
background-repeat: no-repeat;
66+
transform: translateZ(0);
6367
}
6468

6569
.weui-picker__indicator {

0 commit comments

Comments
 (0)