From b83ba3cc4687f21d744e9866e10e30e91229e8a4 Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Thu, 28 Jan 2021 16:23:30 +0800 Subject: [PATCH] gx --- hive-app/common/styles/index.css | 249 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 246 insertions(+), 3 deletions(-) diff --git a/hive-app/common/styles/index.css b/hive-app/common/styles/index.css index a38b561..d49df53 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; @@ -28,7 +32,13 @@ .ml-20{ margin-left: 20px; } +.ml-30{ + margin-left: 30px; +} +.mr-0{ + margin-right: 0; +} .mr-5{ margin-right: 5px; } @@ -42,6 +52,9 @@ margin-right: 20px; } +.mb-0{ + margin-bottom: 0!important; +} .mb-5{ margin-bottom: 5px; } @@ -56,8 +69,14 @@ } /* 字体 */ +.font-10{ + font-size: 10px; +} .font-12{ font-size: 12px; +} +.font-13{ + font-size: 13px; } .font-14{ font-size: 14px; @@ -77,6 +96,9 @@ .font-20{ font-size: 20px; } +.font-24{ + font-size: 24px; +} /* 颜色 */ .blue{ @@ -86,13 +108,37 @@ color: #FFFFFF; } .gray{ - color: #999999; + color: #a5abaf; +} +.light-gray{ + color: #d8d6d6; } .dark-gray{ - color: #666666; + color: #3a3f3f; +} +.red{ + color:#DE5A5A; +} +.green{ + color:#1FB713; +} +.purple{ + color: #5A73DE; +} +.blueness{ + color: #58C4C0; +} +.orange{ + color: #E89D44; +} +.yellow{ + color: #E6E15F; } .font-dark{ color: #111111; +} +.font-darkGray{ + color: #666666; } .font-bold{ font-weight: 700; @@ -108,15 +154,212 @@ .flex-v{ flex-direction: column; } +.flex-wrap{ + flex-wrap: wrap; +} +.align-left{ + align-items: baseline; +} .align-center{ align-items: center; } .justify-between{ justify-content: space-between; } +.justify-center{ + justify-content: center; +} +.justify-start{ + justify-content: flex-start; +} +.justify-end{ + justify-content: flex-end; +} .justify-around{ justify-content: space-around; } .block{ display: block; +} +.placeholder{ + color: #999999; +} +.left{ + text-align: left; +} +.center{ + text-align: center; +} +.right{ + text-align: right; +} + +/* 默认蓝色按钮 */ +.blue-btn{ + background: #518EFF; + border: 0; + color: #FFFFFF; + font-size: 16px; + line-height: 42px; +} +.red-btn{ + background: #DE5A5A; + border: 0; + color: #FFFFFF; + font-size: 16px; + line-height: 42px; +} +.green-btn{ + background: #1FB713; + border: 0; + color: #FFFFFF; + font-size: 16px; + line-height: 42px; +} +/* 蓝色边框白底按钮 */ +.white-btn{ + background: #FFFFFF; + border: 1px solid #518EFF; + color: #518EFF; + font-size: 16px; + line-height: 42px; +} +/* 蓝色圆形加减按钮 */ +.blue-btn-circle{ + 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; +} +/* 灰色加减按钮 */ +.gray-outline-btn-circle{ + display: inline-block; + height: 30px; + width: 30px; + line-height: 28px; + text-align: center; + box-sizing: border-box; + font-size: 16px!important; + border-radius: 50%; + border: 2px solid #a5abaf; + color: #a5abaf; +} +.small-btn{ + width: 90px; + line-height: 30px; + font-size: 14px; + border-radius: 20px; + text-align: center; +} +uni-button[disabled]:not([type]), uni-button[disabled][type=default]{ + color: #FFFFFF; + background-color: rgba(36, 131, 255, 0.4); +} + +/* 固定底部 */ +.sticky-footer{ + position: fixed; + bottom: 20px; + 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; + max-width: 220px; + overflow: hidden; + text-overflow:ellipsis; + white-space: nowrap; +} +.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-cloume .tag-wrap{ + display: flex; + flex-wrap: wrap; + border-bottom: 1px solid #EDEAF4; + padding: 10px 0; +} +.input-group-cloume .tag{ + background: #F2f2f2; + color: #333; + padding: 4px 8px; + margin-right: 8px; + margin-bottom: 5px; + border-radius: 2px; + font-size: 14px; +} +.input-group-cloume{ + font-size: 14px; +} +.input-group-cloume .label{ + display: block; + margin: 12px 0 10px; +} +.input-group-cloume textarea{ + display: block; + width: 100%; + height: 50px; + padding: 5px; + border: 1px solid #EDEAF4; + box-sizing: border-box; + border-radius: 2px; + font-size: 14px; +} +.uni-load-more__text{ + font-size: 14px!important; +} +uni-checkbox .uni-checkbox-input{ + /* background-color: #518EFF; */ + width: 16px; + height: 16px; + border: 1px solid #518EFF; +} +uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked{ + color: #518EFF!important; } \ No newline at end of file -- Gitblit v1.9.1