This commit is contained in:
@fawn-nine
2024-05-29 15:34:50 +08:00
parent bb53af8bde
commit 4386f615f2
79 changed files with 6942 additions and 4121 deletions

View File

@@ -1,18 +1,38 @@
@charset "utf-8";
//主题色
$themeColor: #54a966;
$themeColor: #258feb;
// 页面背景色
$containerColor: #f4f7ff;
@mixin theme($type,$path:''){
@if $type == "btn_bg" {
background-image: linear-gradient(90deg, #54a966 0%, #117e4c 100%);
background-image: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
} @else if $type == "unselected_img" {
background-image: url($path + "static/icon/ic_gender_unselected.png");
} @else if $type == "check_img" {
background-image: url($path + "static/icon/ic_agreed.png");
} @else if $type == "radio_img" {
background-image: url($path + "static/icon/ic_gender_selected.png");
} @else if $type == "fourIcon" {
background-image: linear-gradient(180deg, #e4edff 0%, #fff 100%);
}
}
// 左右paddingpx
@mixin pleft_right($p) {
padding-left:$p ;
padding-right: $p;
// background-image: url($url);
}
// 上下paddingpx
@mixin ptop_bottm($p) {
padding-bottom:$p ;
padding-top: $p;
}
// 外围阴影
@mixin mshadow($size,$opacity) {
box-shadow: 0px 0px $size 0px rgba(167, 187, 228, $opacity);
}
// 背景图片地址和大小
@mixin bis($url, $size: cover) {