src/style/widget/weui-tips/weui-actionsheet.less
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@import "../../base/fn";
@weuiActionSheetAndroidBorderRadius: 2px;
.weui-actionsheet {
position: fixed;
left: 0;
bottom: 0;
transform: translate(0, 100%);
backface-visibility: hidden;
z-index: 5000;
width: 100%;
background-color: @weuiBgColorDefault;
//slide up animation
transition: transform .3s;
}
.weui-actionsheet__menu{
background-color: #FFFFFF;
}
.weui-actionsheet__action {
margin-top: 6px;
background-color: #FFFFFF;
}
.weui-actionsheet__cell {
position: relative;
padding: 10px 0;
text-align: center;
font-size: 18px;
&:before {
.setTopLine(@weuiCellBorderColor);
}
&:active{
background-color: @weuiBgColorActive;
}
&:first-child{
&:before{
display: none;
}
}
}
//android actionSheet
.weui-skin_android{
.weui-actionsheet {
position: fixed;
left: 50%;
top: 50%;
bottom: auto;
transform: translate(-50%, -50%);
//padding: 0 40px;
width: 274px;
box-sizing: border-box;
backface-visibility: hidden;
background: transparent;
//slide up animation
transition: transform .3s;
}
.weui-actionsheet__action{
display: none;
}
后面还有 24 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。