jsy-app/static/scss/app.css

388 lines
6.2 KiB
CSS
Raw Normal View History

2025-01-13 12:18:59 +08:00
/* 表单 */
2025-01-16 17:22:27 +08:00
.uni-forms {
background-color: #fff !important;
padding: 10px !important;
}
2025-01-13 12:18:59 +08:00
.uni-forms-item {
2025-01-16 17:22:27 +08:00
margin-bottom: 10px !important;
}
.uni-forms-item__label {
min-width: 80px !important;
}
.uni-forms-item__content {
align-content: center !important;
}
2025-01-13 18:30:46 +08:00
/* 搜索框 */
2025-01-16 17:22:27 +08:00
.u-search {
background-color: #fff;
}
.u-search__content__icon .u-icon__icon {
color: #39ac4f !important;
}
2025-01-13 18:30:46 +08:00
2024-09-18 10:30:10 +08:00
/* 徽标数 */
2024-09-18 18:52:48 +08:00
.u-badge {
border-radius: 5px !important;
}
.u-badge--not-dot {
padding: 4px !important;
}
.u-badge--success {
background-color: #39ac4f !important;
}
2024-09-18 10:30:10 +08:00
/* tabs标签 */
2024-09-18 18:52:48 +08:00
.u-tabs__wrapper__nav__line {
background-color: #39ac4f !important;
}
2025-01-09 18:29:36 +08:00
.uni-tag {
font-weight: normal !important;
font-size: 0.6rem !important;
border: none !important;
}
2024-09-18 10:30:10 +08:00
/* 按钮 */
2025-01-09 18:29:36 +08:00
.u-button--large {
width: 100% !important;
2024-09-20 18:13:41 +08:00
height: 38px !important;
}
2025-01-09 18:29:36 +08:00
2024-09-19 15:26:06 +08:00
.u-button--normal {
height: 28px !important;
}
2025-01-09 18:29:36 +08:00
2024-09-18 18:52:48 +08:00
.u-button--small {
height: 25px !important;
}
2025-01-16 17:22:27 +08:00
.u-button--mini {
min-width: 38px !important;
2025-01-13 12:18:59 +08:00
width: fit-content !important;
}
2025-01-13 18:30:46 +08:00
2024-09-19 15:26:06 +08:00
.u-button--success {
2024-09-18 18:52:48 +08:00
background-color: #39ac4f !important;
border-color: #39ac4f !important;
2024-09-18 10:30:10 +08:00
}
2025-01-16 17:22:27 +08:00
2025-01-13 12:18:59 +08:00
.u-button--square {
border-radius: 5px !important;
}
2025-01-16 17:22:27 +08:00
2024-09-19 17:44:14 +08:00
.u-button--plain {
background-color: transparent !important;
2024-09-19 15:26:06 +08:00
}
2024-09-19 17:44:14 +08:00
2024-09-18 10:30:10 +08:00
/* fixed */
2024-09-18 18:52:48 +08:00
.fixed {
display: flex;
align-items: center;
flex-direction: row;
}
2024-09-19 17:44:14 +08:00
2024-09-19 15:26:06 +08:00
/* 按钮 */
2024-09-19 17:44:14 +08:00
.btn {
color: #39ac4f;
padding: 0 5px;
border: 1px solid #39ac4f;
width: fit-content;
height: 28px;
border-radius: 5px;
}
.btn text {
margin-right: 2px;
}
.btn.active {
background-color: #39ac4f;
color: #fff;
}
2025-01-09 18:29:36 +08:00
2024-09-30 15:34:20 +08:00
.btn.activeing {
background-color: #39ac4f;
color: #fff;
}
2025-01-16 17:22:27 +08:00
.bottom-btn {
position: fixed;
bottom: 0;
width: 100%;
}
2024-09-18 18:52:48 +08:00
/* 字体颜色 */
.font-red {
color: #e60012;
}
.font-orange {
color: #ffa200;
}
.font-green {
color: #39ac4f;
}
2025-01-09 18:29:36 +08:00
/* 背景颜色 */
.bg-red {
border-color: #d43030 !important;
background-color: #d43030 !important;
}
.bg-orange {
background-color: #e58626 !important;
}
.bg-green {
background-color: #39ac4f !important;
}
2025-01-17 14:24:40 +08:00
/* 彩色图标 */
.svg-icon {
width:24px;
height: 24px;
vertical-align: top;
fill: currentColor;
overflow: hidden;margin-right: 5px;
}
2024-09-18 18:52:48 +08:00
/* 卡片 */
2025-01-09 18:29:36 +08:00
.card .uni-collapse,
.card .uni-list,
.card .uni-list-item {
background-color: transparent !important;
}
::v-deep .card .uni-collapse-item__wrap {
border-radius: 0 0 10px 10px;
}
2024-09-18 18:52:48 +08:00
.card,
.card-grey {
margin-bottom: 10px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 1px 9px rgb(209, 209, 209, 0.5);
}
2025-01-16 17:22:27 +08:00
.card {
margin: 10px 10px 5px;
}
2024-09-19 17:44:14 +08:00
.card-grey {
background-color: #f3f3f3;
2024-09-19 15:26:06 +08:00
box-shadow: none;
2024-09-18 18:52:48 +08:00
}
2024-09-19 15:26:06 +08:00
.card-grey .card-title {
padding: 10px;
border-bottom: 1px solid #dedede;
}
2024-09-19 11:32:03 +08:00
2024-09-19 15:26:06 +08:00
.card-grey .card-title .icon {
color: #39ac4f;
}
2024-09-19 11:32:03 +08:00
2024-09-19 15:26:06 +08:00
.card-grey .card-title .u-row {
margin-bottom: 0 !important;
}
2024-09-19 17:44:14 +08:00
2025-01-09 18:29:36 +08:00
.cards-title {
padding: 10px;
border-bottom: 1px solid #dedede;
display: flex;
justify-content: space-between;
}
.cards-title view {
display: flex;
align-items: center;
}
2025-01-16 17:22:27 +08:00
.cards-title view view {
font-size: 0.8rem;
}
.cards-title view .text {
font-size: 0.875rem;
2025-01-09 18:29:36 +08:00
margin-right: 10px;
color: #39ac4f;
font-weight: bold;
}
2025-01-16 17:22:27 +08:00
.cards-title .title-r .uni-tag,
.cards-title .title-r .u-button {
2025-01-09 18:29:36 +08:00
margin-left: 5px;
}
2025-01-13 18:30:46 +08:00
2025-01-16 17:22:27 +08:00
.cards-title .icon {
color: #39ac4f;
font-size: 1.3rem;
margin-right: 10px;
}
2025-01-09 18:29:36 +08:00
.cards-content {
padding: 10px;
}
2025-01-16 17:22:27 +08:00
2025-01-13 12:18:59 +08:00
/* 文字列表 */
2025-01-16 17:22:27 +08:00
.txt-list {display: flex;}
.txt-list .list2,.txt-list .list1 {
color: #666;line-height: 24px;
flex: 1 1 0%;display: flex;
flex-wrap: wrap;}
.txt-list .list1>view {width: 100%;}
.txt-list .list2>view {width: calc(100% / 2);}
2025-01-17 14:24:40 +08:00
.txt-list .list2 .icon{font-size: 24px; font-weight: normal; vertical-align: bottom;margin-right: 5px; color: #00baad;}
2025-01-16 17:22:27 +08:00
.txt-list .right {align-content: center;}
2025-01-17 14:24:40 +08:00
.txt-list .right .iconfont {color: #bbb;}
2025-01-16 17:22:27 +08:00
/* 灰色条 */
.greybar {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto;
background-color: #f3f3f3;
padding: 10px;
border-radius: 4px;
margin-bottom: 10px;
2025-01-09 18:29:36 +08:00
}
2025-01-16 17:22:27 +08:00
.greybar:last-child,
.greybar-box:last-child {
margin-bottom: 0;
2025-01-09 18:29:36 +08:00
}
2025-01-16 17:22:27 +08:00
.greybar view>span,
.greybar-box .title span {
color: #39ac4f;
margin-left: 6px;
font-weight: bold;
font-size: 0.9rem;
2025-01-09 18:29:36 +08:00
}
2025-01-16 17:22:27 +08:00
.greybar-box {
background-color: #f3f3f3;
margin-bottom: 10px;
2025-01-09 18:29:36 +08:00
}
2025-01-16 17:22:27 +08:00
.greybar-box .title {
padding: 10px;
border-bottom: 1px solid #c7c7c7;
display: flex;justify-content: space-between;
2025-01-09 18:29:36 +08:00
}
2025-01-16 17:22:27 +08:00
.greybar>view:first-child,
.greybar-box .title>view:first-child span {
color: #00baad;
}
.greybar-box .no-data {
display: flex;
align-items: center;
justify-content: center;
padding: 20px 10px;
color: #a6a6a6;
font-size: 16px;
}
.greybar-box .no-data .iconfont {
font-size: 24px;
margin-right: 10px;
}
2025-01-09 18:29:36 +08:00
.card-font {
height: auto;
overflow: hidden;
margin: 10px 0 0 0;
}
.card-font uni-button {
display: inline-flex;
float: right;
margin-left: 10px;
2025-01-13 12:18:59 +08:00
}
2025-01-16 17:22:27 +08:00
.card-view {
display: flex;
gap: 5px;
}
.card-view>view {
flex: 1;
color: #39ac4f;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
}
.card-view>view .iconfont {
margin-right: 5px;
}
2025-01-13 12:18:59 +08:00
/* 展示信息 */
2025-01-16 17:22:27 +08:00
.text-intel {
width: 100%;
background-color: #fff;
padding: 10px;
display: flex;
font-size: 14px;
}
.text-intel .iconfont {
color: #39ac4f;
font-size: 22px;
margin-right: 5px;
}
.text-intel>view {
display: flex;
align-items: center;
margin-right: 20px;
}
.text-intel>view .text {
font-size: 0.875rem;
color: #39ac4f;
font-weight: bold;
}
.tip-intel {
margin: 5px auto;
}
/* 表单按钮 */
.form-btn {
display: flex;
gap: 10px;
margin-top: 50px;
}
/* 表单下拉框 */
.select {
display: flex;
box-sizing: border-box;
flex-direction: row;
align-items: center;
border: 1px solid #dcdfe6;
border-radius: 4px;
padding-left: 10px;
2025-01-13 18:30:46 +08:00
line-height: 1;
2025-01-16 17:22:27 +08:00
font-size: 14px;
height: 35px;
color: #999;
2025-01-17 14:24:40 +08:00
}
/* grid */
.grid{margin: 10px; display: grid;grid-template-columns: repeat(3,1fr);gap: 10px;}
.grid >view{background-color: #fff;border-radius: 10px;text-align: center;padding: 10px 0;}
.grid >view .text{font-weight: bold; color: #39ac4f;font-size: 16px;position: relative;}
.grid >view .text:before{content: "";
width: 100%;height: 4px;position: absolute;bottom: 2px;background-color:rgb(243, 235, 19, 0.5);z-index: 1;border-radius: 10px;}
.grid >view .u-button{width: 60%; margin-top: 20px;}