// 首页样式
|
.home-container {
|
background-color: #f5f5f5;
|
display: flex;
|
flex-direction: column;
|
position: relative;
|
overflow: hidden;
|
}
|
|
// 轮播图样式
|
.home-carousel {
|
width: calc(100% - 16px);
|
height: 120px;
|
margin: 8px 8px 8px 8px;
|
border-radius: 8px;
|
overflow: hidden;
|
|
.home-carousel-item {
|
width: 100%;
|
height: 120px;
|
|
img {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
border-radius: 8px;
|
}
|
}
|
}
|
|
// 功能按钮样式
|
.home-function-buttons {
|
display: flex;
|
justify-content: space-between;
|
padding: 0 16px;
|
margin-bottom: 16px;
|
|
.home-function-button-wrapper {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
position: relative;
|
|
&:nth-child(1) .home-function-button {
|
background: linear-gradient(180deg, #57a9fb, #206ccf 100%);
|
}
|
|
&:nth-child(2) .home-function-button {
|
background: linear-gradient(180deg, #36cfc9, #08979c 100%);
|
}
|
|
&:nth-child(3) .home-function-button {
|
background: linear-gradient(180deg, #f76560, #c2252b 100%);
|
}
|
|
&:nth-child(4) .home-function-button {
|
background: linear-gradient(180deg, #ffa940, #d46b08 100%);
|
}
|
}
|
|
.home-function-button {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
width: 64px;
|
height: 64px;
|
border-radius: 12px;
|
|
.home-function-button-icon {
|
width: 40px;
|
height: 40px;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
|
img {
|
width: 100%;
|
height: 100%;
|
object-fit: contain;
|
}
|
}
|
}
|
|
.home-function-button-text {
|
font-size: 12px;
|
color: #333;
|
font-weight: 500;
|
margin-top: 4px;
|
}
|
}
|
|
// Tab栏样式
|
.home-tabs {
|
display: flex;
|
flex-wrap: nowrap;
|
overflow-x: auto;
|
padding: 0 8px;
|
// border-bottom: 1px solid #e8e8e8;
|
height: 40px;
|
align-items: center;
|
width: auto;
|
|
&::-webkit-scrollbar {
|
display: none;
|
}
|
|
.home-tab {
|
padding: 0 8px;
|
height: 23px;
|
display: flex;
|
flex-direction: row;
|
align-items: center;
|
justify-content: center;
|
position: relative;
|
flex-shrink: 0;
|
transition: all 0.3s;
|
|
.home-tab-text {
|
font-size: 15px;
|
color: rgba(23, 26, 29, 0.6);
|
white-space: nowrap;
|
}
|
|
.home-tab-count {
|
font-size: 15px;
|
color: rgba(23, 26, 29, 0.6);
|
margin-left: 4px;
|
}
|
|
&.home-tab-active {
|
height: 38px;
|
width: auto;
|
|
.home-tab-text {
|
font-size: 20px;
|
font-weight: bold;
|
color: #171a1d;
|
}
|
|
.home-tab-count {
|
font-size: 20px;
|
font-weight: bold;
|
color: #171a1d;
|
margin-left: 4px;
|
}
|
|
&::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 50%;
|
transform: translateX(-50%);
|
width: 42px;
|
height: 6px;
|
background: linear-gradient(90deg, #e8f8ff, #1a6fb8 100%);
|
border-radius: 2px;
|
}
|
}
|
}
|
}
|
|
// 列表样式
|
.home-list {
|
padding: 8px 8px;
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
|
.home-list-processing {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
width: 100%;
|
height: 100%;
|
&-filter {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-bottom: 16px;
|
&-item {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 4px;
|
color: #1a6fb8;
|
font-size: 14px
|
}
|
}
|
}
|
|
.home-list-buttons {
|
display: flex;
|
margin-bottom: 16px;
|
position: relative;
|
z-index: 1;
|
flex-wrap: wrap;
|
|
.home-list-button {
|
font-size: 14px;
|
color: rgba(23, 26, 29, 0.6);
|
background: rgba(23, 26, 29, 0.06);
|
padding: 0px 4px;
|
cursor: pointer;
|
margin-right: 10px;
|
transition: all 0.3s;
|
|
&.active {
|
color: #1a6fb8;
|
background: rgba(26, 111, 184, 0.1);
|
}
|
}
|
}
|
|
.home-list-item {
|
background-color: #fff;
|
padding: 6px 12px 6px 12px;
|
margin-bottom: 8px;
|
position: relative;
|
|
.home-list-item-parties {
|
display: flex;
|
font-size: 16px;
|
font-weight: bold;
|
color: #333;
|
max-width: 167px;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
|
.home-list-item-plaintiffs,
|
.home-list-item-defendants {
|
max-width: 45%;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.home-list-item-parties-separator {
|
margin: 0 4px;
|
}
|
}
|
|
.home-list-item-time {
|
position: absolute;
|
top: 12px;
|
right: 12px;
|
font-size: 12px;
|
color: rgba(23, 26, 29, 0.6);
|
}
|
|
.home-list-item-tags {
|
display: flex;
|
flex-wrap: wrap;
|
margin-bottom: 8px;
|
|
.home-list-item-tag-type {
|
height: 20px;
|
padding: 0 6px;
|
border-radius: 4px;
|
color: #f53f3f;
|
font-size: 12px;
|
margin-right: 8px;
|
display: flex;
|
align-items: center;
|
border: 1px solid #f53f3f;
|
margin-top: 8px;
|
}
|
|
.home-list-item-tag {
|
height: 20px;
|
padding: 0 6px;
|
border-radius: 4px;
|
color: #1a6fb8;
|
font-size: 12px;
|
margin-right: 8px;
|
display: flex;
|
align-items: center;
|
border: 1px solid #1a6fb8;
|
background: none;
|
margin-top: 8px;
|
}
|
|
.home-list-item-tag-timeout {
|
height: 20px;
|
padding: 0 6px;
|
border-radius: 4px;
|
background-color: #f53f3f;
|
color: #ffffff;
|
font-size: 12px;
|
margin-right: 8px;
|
display: flex;
|
align-items: center;
|
margin-top: 8px;
|
}
|
|
.home-list-item-tag-soon {
|
height: 20px;
|
padding: 0 6px;
|
border-radius: 4px;
|
background-color: #f53f3f;
|
color: #ffffff;
|
font-size: 12px;
|
margin-right: 8px;
|
display: flex;
|
align-items: center;
|
}
|
|
.home-list-item-tag-supervise {
|
height: 20px;
|
padding: 0 6px;
|
border-radius: 4px;
|
background-color: #ff7d00;
|
color: #ffffff;
|
font-size: 12px;
|
margin-right: 8px;
|
display: flex;
|
align-items: center;
|
margin-top: 8px;
|
}
|
}
|
|
.home-list-item-info {
|
display: flex;
|
justify-content: space-between;
|
font-size: 12px;
|
color: rgba(23, 26, 29, 0.6);
|
align-items: center;
|
|
.home-list-item-address {
|
flex: 1;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.home-list-item-grade {
|
margin-left: 8px;
|
}
|
|
.home-list-item-action {
|
margin-left: 8px;
|
|
.home-list-item-action-btn {
|
width: 64px;
|
height: 28px;
|
background-color: #1a6fb8;
|
color: #ffffff;
|
font-size: 14px;
|
border-radius: 100px;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
}
|
}
|
}
|
}
|
|
.home-loading-more,
|
.home-no-more {
|
text-align: center;
|
color: #999;
|
font-size: 12px;
|
padding: 8px 0;
|
}
|
}
|
|
// 加载状态样式
|
.home-loading,
|
.home-empty {
|
display: flex;
|
flex-direction: column;
|
justify-content: center;
|
align-items: center;
|
position: relative;
|
z-index: 0;
|
|
.home-empty-icon {
|
width: 260px;
|
height: 260px;
|
padding-top: 120px;
|
border: 1px dashed rgba(23, 26, 29, 0.1);
|
border-radius: 8px;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
|
img {
|
width: 120px;
|
height: 120px;
|
object-fit: contain;
|
}
|
}
|
|
.home-loading-text,
|
.home-empty-text {
|
color: rgba(23, 26, 29, 0.4);
|
font-size: 16px;
|
}
|
.home-empty-image {
|
width: 200px;
|
height: 200px;
|
}
|
}
|
|
// 底部导航样式
|
.home-bottom-nav {
|
position: fixed;
|
bottom: 0;
|
left: 0;
|
width: 100%;
|
height: 60px;
|
background-color: #fff;
|
display: flex;
|
justify-content: space-around;
|
align-items: center;
|
border-top: 1px solid #e8e8e8;
|
|
.home-bottom-nav-item {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
flex: 1;
|
height: 100%;
|
|
.home-bottom-nav-item-icon {
|
width: 18px;
|
height: 18px;
|
margin-bottom: 2px;
|
|
img {
|
width: 100%;
|
height: 100%;
|
object-fit: contain;
|
}
|
}
|
|
.home-bottom-nav-item-text {
|
font-size: 14px;
|
color: #666;
|
}
|
|
&.home-bottom-nav-item-active {
|
.home-bottom-nav-item-text {
|
color: #1a6fb8;
|
}
|
}
|
}
|
}
|
|
// 确保在PullToRefresh组件中居中
|
.dtm-pull-to-refresh-content {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
min-height: 100%;
|
}
|
|
// 内容区域样式
|
.home-content {
|
height: calc(100vh - 280px);
|
overflow: hidden;
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
}
|
|
// MyList样式调整
|
.myList {
|
flex: 1;
|
overflow-y: auto;
|
overflow-x: hidden;
|
-webkit-overflow-scrolling: touch;
|
|
&::-webkit-scrollbar {
|
display: none;
|
}
|
}
|
|
// 督办回复样式
|
.dbcb-reply-home {
|
&-wrapper {
|
background-color: #fff;
|
border-top-left-radius: 12px;
|
border-top-right-radius: 12px;
|
overflow: hidden;
|
display: flex;
|
flex-direction: column;
|
height: 100%;
|
}
|
|
&-header {
|
display: flex;
|
justify-content: space-between;
|
padding: 12px 16px;
|
margin-bottom: 10px;
|
position: relative;
|
|
&::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 16px;
|
right: 16px;
|
height: 1px;
|
background: none;
|
border-bottom: 1px dashed rgba(126, 134, 142, 0.24);
|
}
|
}
|
|
&-content {
|
flex: 1;
|
overflow-y: auto;
|
padding: 0 16px;
|
}
|
|
&-divider {
|
height: 8px;
|
margin: 0 -16px 12px;
|
width: calc(100% + 32px);
|
}
|
|
&-detail {
|
border-radius: 8px;
|
margin-bottom: 16px;
|
}
|
|
&-section {
|
margin-bottom: 16px;
|
|
&:last-child {
|
margin-bottom: 0;
|
}
|
}
|
|
&-label {
|
font-size: 14px;
|
color: #999;
|
margin-bottom: 8px;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
|
&-text {
|
font-size: 16px;
|
font-weight: 500;
|
color: #333;
|
}
|
}
|
|
&-value {
|
font-size: 15px;
|
color: #333;
|
line-height: 1.5;
|
}
|
|
&-btn-group {
|
display: flex;
|
gap: 16px;
|
}
|
|
&-ocr-btn,
|
&-template-btn {
|
display: flex;
|
align-items: center;
|
gap: 4px;
|
font-size: 14px;
|
color: #1a6fb8;
|
cursor: pointer;
|
}
|
|
&-textarea {
|
width: 100%;
|
height: 120px;
|
border-radius: 4px;
|
resize: none;
|
font-size: 14px;
|
line-height: 1.5;
|
border: 1px solid #e5e6eb;
|
padding: 12px;
|
|
&:focus {
|
outline: none;
|
border-color: #1a6fb8;
|
}
|
}
|
|
&-footer {
|
padding: 16px;
|
background-color: #fff;
|
margin-top: auto;
|
}
|
|
&-submit-btn {
|
width: 100%;
|
height: 44px;
|
border-radius: 8px;
|
font-size: 16px;
|
font-weight: 500;
|
}
|
}
|
|
// 风险标签气泡样式
|
.risk-label-content {
|
color: #ffffff;
|
padding: 10px 0;
|
|
.risk-label-item {
|
margin-bottom: 8px;
|
|
&:last-child {
|
margin-bottom: 0;
|
}
|
|
.risk-label-title {
|
font-size: 14px;
|
font-weight: bold;
|
}
|
|
.risk-label-value {
|
font-size: 14px;
|
}
|
}
|
}
|
|
.home-search-box {
|
margin: 12px 12px 12px 12px;
|
.home-search-box-input {
|
display: flex;
|
align-items: center;
|
border: 1.5px solid #b5d3f3;
|
border-radius: 24px;
|
background: #fff;
|
padding: 0 6px 0 16px;
|
height: 44px;
|
box-sizing: border-box;
|
.custom-search-input {
|
flex: 1;
|
border: none;
|
background: transparent;
|
font-size: 16px;
|
color: #bdbdbd;
|
&::placeholder {
|
color: #bdbdbd;
|
}
|
&:disabled {
|
background: transparent;
|
color: #bdbdbd;
|
}
|
}
|
.custom-search-btn {
|
margin-left: 8px;
|
background: #1a6fb8;
|
color: #fff;
|
border: none;
|
border-radius: 20px;
|
padding: 0 20px;
|
height: 32px;
|
font-size: 16px;
|
cursor: pointer;
|
transition: background 0.2s;
|
&:active {
|
background: #155a96;
|
}
|
}
|
}
|
}
|
|
.filter-modal-mask {
|
position: fixed;
|
left: 0; top: 0; right: 0; bottom: 0;
|
background: rgba(0,0,0,0.35);
|
z-index: 1000;
|
display: flex;
|
align-items: flex-end;
|
justify-content: center;
|
}
|
.filter-modal {
|
width: 100%;
|
background: #fff;
|
border-radius: 16px 16px 0 0;
|
padding: 20px 20px 16px 20px;
|
box-sizing: border-box;
|
animation: slideUp 0.2s;
|
}
|
@keyframes slideUp {
|
from { transform: translateY(100%);}
|
to { transform: translateY(0);}
|
}
|
.filter-modal-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
font-size: 18px;
|
font-weight: bold;
|
margin-bottom: 16px;
|
}
|
.filter-modal-close {
|
font-size: 22px;
|
color: #1a6fb8;
|
cursor: pointer;
|
}
|
.filter-modal-section {
|
margin-bottom: 18px;
|
}
|
.filter-modal-label {
|
font-size: 15px;
|
color: #333;
|
margin-bottom: 10px;
|
}
|
.filter-modal-options {
|
display: flex;
|
flex-wrap: wrap;
|
gap: 12px;
|
}
|
.filter-modal-option {
|
flex-shrink: 1;
|
flex-basis: calc(50% - 6px);
|
min-width: 0;
|
box-sizing: border-box;
|
margin-bottom: 12px;
|
background: #F2F3F5;
|
border-radius: 4px;
|
text-align: center;
|
padding: 8px 0;
|
}
|
.filter-modal-option.selected {
|
border: 1.5px solid #1a6fb8;
|
background: #e8f4ff;
|
color: #1a6fb8;
|
}
|
.filter-modal-confirm {
|
width: 100%;
|
height: 44px;
|
background: #1a6fb8;
|
color: #fff;
|
border: none;
|
border-radius: 8px;
|
font-size: 18px;
|
margin-top: 10px;
|
cursor: pointer;
|
}
|