app-xiangsonghua/app-saas-src/css/inspection/inspectionPrDetail.css
2024-12-26 17:00:06 +08:00

353 lines
5.3 KiB
CSS

body{
background: #ffffff;
}
.empty-div {
height: 4rem;
}
.top{
background:#ffffff;
}
.tabs{
display: flex;
font-size:1.125rem;
position:fixed;
top:6rem;
width: 100%;
z-index:999;
}
.tab{
flex-grow:1;
height:2.5rem;
display:flex;
align-items:center;
justify-content:center;
background:#f2f2f2;
}
.tab.active{
background:#ffffff;
}
.content-container{
overflow-y: scroll;
}
#problem-panel {
display: none;
}
.task-item {
display: flex;
justify-content: space-between;
}
.task-item img {
width: 2rem;
margin-left: 0.8rem;
vertical-align: middle;
}
.task-item-img {
height: 3rem;
line-height: 3rem;
}
.success-light {
display: none;
}
.error-light {
display: none;
}
.task-item-img .light .success-dark {
display: none;
}
.task-item-img .light .success-light {
display: inline-block;
}
.task-item-img .light .error-dark {
display: none;
}
.task-item-img .light .error-light {
display: inline-block;
}
.category-name {
height: 3rem;
line-height: 3rem;
}
.task-item-desc {
max-width: 70%;
min-height: 3rem;
line-height: 3rem;
}
/* 底部功能按钮 */
#bottom-btn {
width: 100%;
position: fixed;
bottom: 0;
display: flex;
justify-content: space-between;
padding: 0.3rem 0.6rem;
box-sizing: border-box;
text-align: center;
background-color: #ffffff;
}
/* 巡检完成按钮 */
#inspection-finished {
width: 8rem;
height: 3rem;
line-height: 3rem;
font-size: 1.3rem;
background-color: #e9be2b;
border-radius: 1.5rem;
}
/* 自动勾选剩余项 */
#auto-checked-all {
width: 8rem;
height: 3rem;
line-height: 3rem;
font-size: 0.8rem;
}
#auto-checked-all img {
width: 1.4rem;
margin: 0 0.4rem;
vertical-align: middle;
}
/* 日常检查项 */
.category-name {
border-bottom: 1px solid #e5e5e5;
padding: 0 0.5rem;
font-size: 1.25rem;
}
.category-name img {
width: 1rem;
margin: 0 0.5rem;
}
.task-panel {
padding-top: 1rem;
padding-bottom: 3.8rem;
}
.category-item li {
padding: 0 1rem;
font-size: 1rem;
}
.category-item li:nth-child(even) {
background-color: #eee;
}
#guide-panel .hide {
display: none;
}
#guide-panel .transform {
transform: rotate(-90deg);
}
#inspectionitem-empty-tips {
position: absolute;
top: 15rem;
width: 100%;
}
#new-add-btn {
font-size:1.5rem;
text-align: center;
padding: 0.5rem 0;
}
#new-add-btn>div {
display: inline-block;
width: 100%;
height: 3.5rem;
line-height: 3.5rem;
border: 1px solid #e5e5e5;
border-radius: 0.5rem;
box-sizing: border-box;
background-color: #f5f5f5;
}
#new-add-btn span {
margin-right: 1rem;
}
#inspect-finish-btn {
position: fixed;
bottom: 0;
width: 100%;
height: 3rem;
line-height: 3rem;
font-size: 1.3rem;
text-align: center;
background-color: #e9be2b;
/* display: none; */
}
.problem-list-container {
/* overflow-y: scroll; */
padding: 0 1rem;
}
.problem-item {
padding: 0.8rem 0;
border-top: 1px solid #e9be2b;
border-bottom: 1px solid #e9be2b;
}
.problem-index, .problem-desc, .problem-pic {
margin-top: 0.3rem;
}
.problem-index {
display: flex;
align-items: center;
justify-content: space-between;
height: 2.6rem;
line-height: 2.6rem;
/* background-color: #e5e5e5; */
}
.btns {
display: flex;
justify-content: space-between;
}
.delete-btn {
width: 3.6rem;
height: 2rem;
line-height: 2rem;
text-align: center;
box-sizing: border-box;
border: 1px solid #e5e5e5;
border-radius: 1rem;
margin-right: 0.4rem;
}
.submit-btn {
width: 3.6rem;
height: 2rem;
line-height: 2rem;
background-color: #e9be2b;
text-align: center;
border-radius: 1rem;
}
.finished {
display: none;
color: #03b679;
}
.problem-item-title {
height: 3rem;
line-height: 3rem;
font-size: 1.25rem;
}
.problem-desc textarea, .remark textarea {
width: 100%;
height: 100%;
padding: 0.3rem;
border: 1px solid #e5e5e5;
box-sizing: border-box;
}
.problem-pic img, .problem-audio img {
width: 4rem;
height: 4rem;
}
.problem-item-content {
padding: 0 1rem;
width: 100%;
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
}
.pic-item, .audio-item {
display: inline-block;
width: 4rem;
height: 4rem;
border: 1px solid #e5e5e5;
box-sizing: border-box;
margin: 0 1rem 1rem 0;
position: relative;
}
.pic-item i, .audio-item i {
position: absolute;
right: -0.8rem;
top: -0.8rem;
display: inline-block;
width: 1.6rem;
height: 1.6rem;
border-radius: 50%;
background-image: url('../../image/close.png');
background-size: contain;
background-color: #fff;
}
.pic-item img {
width: 100%;
}
#pic-review {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
background-color: black;
display: none;
}
#pic-review img {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
width: 100%;
}
.weather-selector, .remark, .guide {
padding: 0 1rem 1rem 1rem;
border-bottom: 1px solid #e5e5e5;
}
.weather-selector-title, .remark-title, .guide-title {
font-size: 1.2rem;
margin: 0.6rem 0;
}
.weather-type-radio, .remark-box {
padding-top: 0.6rem;
}
.weather-type-radio input, .weather-type-radio label {
vertical-align: middle;
}
.weather-type-radio label {
margin-right: 0.6rem;
}
b {
color: red;
}