修改部分scss类名,新增部分注释以及登录颜色化配置:)

This commit is contained in:
lemon橪
2021-08-19 16:20:21 +08:00
parent 775bf3055d
commit 224eb05703
27 changed files with 96 additions and 111 deletions

View File

@@ -26,11 +26,12 @@ $uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;
/*主题颜色 具体参考 https://ant.design/docs/spec/colors-cn */
/**微信登录按钮颜色 */
$weChat-color:#00a327;
/**主颜色*/
$main-color: #ff3c2a;
/*用于金钱等颜色 */
$jd-color: #ff3c2a;
$price-color: #ff3c2a;
/*主题高亮颜色*/
$light-color: #ff6b35;
/*辅助高亮颜色*/
@@ -38,8 +39,8 @@ $aider-light-color: #ff9f28;
/*主题高亮背景颜色*/
$main-light-color: #edfcf7;
/*京东红高亮背景颜色*/
$jd-light-color: #fcedeb;
/*价格红高亮背景颜色*/
$price-light-color: #fcedeb;
/*辅助色*/
$aider-color-red: #ff6262;
@@ -64,40 +65,23 @@ $font-weight: 400;
}
.bg-light-color {
background-color: $light-color !important;
/deep/ *{
/deep/ * {
background-color: $light-color !important;
}
}
.bg-main-color {
background-color: $main-color !important;
}
// 渐变主题颜色
.bg-linear-gradient {
background-image: linear-gradient(25deg, #fa123b, #ff6b35, #ff9f28, #ffcc03);
}
.uni-tabbar .uni-tabbar__icon {
width: 20px;
height: 18px;
}
// 大标题
.h1 {
font-weight: $font-weight-b;
font-style: normal;
font-size: 24px;
}
// 大标题
.h2 {
font-weight: $font-weight-b;
font-style: normal;
font-size: 20px;
}
// 一级标题
.h3 {
font-weight: $font-weight-b;
font-style: normal;
font-size: 18px;
}
.h4 {
font-weight: $font-weight-b;
font-style: normal;
font-size: 16px;
}
.flex {
display: flex;
}
@@ -181,4 +165,4 @@ $font-weight: 400;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
}