From 1f3406acbac28b5b98c8d9dde2557374b97c0ef9 Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Mon, 21 Dec 2020 17:40:58 +0800 Subject: [PATCH] gx --- hive-app/common/styles/index.css | 125 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 112 insertions(+), 13 deletions(-) diff --git a/hive-app/common/styles/index.css b/hive-app/common/styles/index.css index 0182d3d..8a61148 100644 --- a/hive-app/common/styles/index.css +++ b/hive-app/common/styles/index.css @@ -1,4 +1,8 @@ - +/* 状态栏 */ +.status_bar { + height: var(--status-bar-height); + width: 100%; +} /* 间距 */ .mt-5{ margin-top: 5px; @@ -45,6 +49,9 @@ margin-right: 20px; } +.mb-0{ + margin-bottom: 0!important; +} .mb-5{ margin-bottom: 5px; } @@ -65,6 +72,9 @@ .font-12{ font-size: 12px; } +.font-13{ + font-size: 13px; +} .font-14{ font-size: 14px; } @@ -83,6 +93,9 @@ .font-20{ font-size: 20px; } +.font-24{ + font-size: 24px; +} /* 颜色 */ .blue{ @@ -92,7 +105,7 @@ color: #FFFFFF; } .gray{ - color: #8c9fad; + color: #a5abaf; } .light-gray{ color: #a7a7a7; @@ -135,8 +148,11 @@ .flex-v{ flex-direction: column; } +.flex-wrap{ + flex-wrap: wrap; +} .align-left{ - align-items: flex-start; + align-items: baseline; } .align-center{ align-items: center; @@ -162,11 +178,14 @@ .placeholder{ color: #999999; } +.left{ + text-align: left; +} .center{ text-align: center; } .right{ - text-align: end; + text-align: right; } /* 默认蓝色按钮 */ @@ -174,24 +193,104 @@ background: #518EFF; border: 0; color: #FFFFFF; - font-size: 14px; + font-size: 16px; + line-height: 42px; } - +.red-btn{ + background: #DE5A5A; + border: 0; + color: #FFFFFF; + font-size: 16px; + line-height: 42px; +} /* 蓝色边框白底按钮 */ .white-btn{ background: #FFFFFF; border: 1px solid #518EFF; color: #518EFF; - font-size: 14px; + font-size: 16px; + line-height: 42px; } /* 蓝色圆形加减按钮 */ .blue-btn-circle{ - width: 30px; - height: 30px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 50%; + display: inline-block; + height: 24px; + width: 24px; + line-height: 24px; + text-align: center; + box-sizing: border-box; + font-size: 14px!important; + border-radius: 50%!important; background: #518EFF; color: #FFFFFF; } +.blue-outline-btn-circle{ + display: inline-block; + height: 24px; + width: 24px; + line-height: 22px; + text-align: center; + box-sizing: border-box; + font-size: 12px!important; + border-radius: 50%; + border: 2px solid #518EFF; + color: #518EFF; +} +.small-btn{ + width: 90px; + line-height: 30px; + font-size: 14px; + border-radius: 20px; + text-align: center; +} + +/* 固定底部 */ +.sticky-footer{ + position: fixed; + bottom: 15px; + left: 10px; + right: 10px; +} + +/* 输入框 */ +.input-group-row{ + display: flex; + justify-content: space-between; + align-items: center; + height: 48px; + border-bottom: 1px solid #EDEAF4; + font-size: 14px; +} +.input-group-row .label{ + padding-right: 10px; +} +.input-group-row .label .require{ + color: #d20808; + padding-left: 4px; +} +.input-group-row input{ + flex: 1; + font-size: 14px; + text-align: right; +} +.input-group-row .right-text{ + flex: 1; + text-align: right; +} +.input-group-row .right-text .radio{ + transform: scale(0.65); + margin-left: 10px; +} +.input-group-row .right-text .iconfont{ + vertical-align: middle; + margin-left: 4px; +} +.input-group-row .right-text .tag{ + background: #F2f2f2; + color: #333; + padding: 4px 8px; + margin-left: 8px; + border-radius: 2px; + font-size: 14px; +} + -- Gitblit v1.9.1