102 lines
1.7 KiB
SCSS
102 lines
1.7 KiB
SCSS
$color_bg_one: #f8f8f8;
|
|
$color_font_one: rgba($color: #000000, $alpha: 0.8);
|
|
$color_font_two: #ababab;
|
|
$color_font_three: #707070;
|
|
|
|
$color_main: #4581ff;
|
|
$color_danger: #e64340;
|
|
$color_warning: #e6a23c;
|
|
$color_money: #F64861;
|
|
$color_info: #909090;
|
|
|
|
$color_bulk: #0D7CFF; // 大货
|
|
$color_plate: #F79B31; // 剪板
|
|
$color_bulkCut: #0AC76F; // 散剪
|
|
|
|
$opacity-disabled: 0.3;
|
|
$borderStyle: solid;
|
|
$borderColor: #ebebeb;
|
|
|
|
$font_size_big: 32px;
|
|
$font_size: 28px;
|
|
$font_size_medium: 24px;
|
|
$font_size_min: 22px;
|
|
|
|
$font_family: PingFangSC-Regular, PingFang SC;
|
|
|
|
$customTabBarHeight: 100px;
|
|
|
|
|
|
//安全底部距离
|
|
.common_safe_area_y {
|
|
width: 100%;
|
|
height: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */
|
|
height: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
|
|
}
|
|
|
|
//省略号
|
|
@mixin common_ellipsis($params: 1) {
|
|
overflow: hidden;
|
|
display: -webkit-box;
|
|
white-space: normal;
|
|
text-overflow: ellipsis;
|
|
word-break: break-all;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: $params;
|
|
}
|
|
|
|
.flex-col {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
.flex-row {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
.justify-between {
|
|
justify-content: space-between
|
|
}
|
|
.justify-center {
|
|
justify-content: center
|
|
}
|
|
.items-center{
|
|
align-items: center;
|
|
}
|
|
|
|
.flex-item {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.full-100 {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.color-blue{
|
|
color: #3287EC;
|
|
}
|
|
.color-yellow{
|
|
color: #FF9100;
|
|
}
|
|
.color-green{
|
|
color: #00B837;
|
|
}
|
|
.color-grey{
|
|
color: #707070;
|
|
}
|
|
.color-white{
|
|
color: white;
|
|
}
|
|
|
|
.s-w::after {
|
|
content: 'W';
|
|
font-size: $font_size;
|
|
}
|
|
.s-e::after {
|
|
content: 'E';
|
|
font-size: $font_size;
|
|
}
|
|
.filter{
|
|
filter: blur(1);
|
|
}
|