.dispute-type-picker {
|
width: 100%;
|
height: 100vh;
|
background-color: #f5f7fa;
|
display: flex;
|
flex-direction: column;
|
}
|
|
.main-container {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
overflow: hidden;
|
}
|
|
/* 搜索区域样式 */
|
.search-container {
|
padding: 12px 12px;
|
height: 60px;
|
background-color: #fff;
|
border-bottom: 1px solid #e8e8e8;
|
margin-bottom: 0px;
|
|
|
.search-context {
|
display: flex;
|
align-items: center;
|
height: 36px;
|
width: 351px;
|
background: #f5f7fa;
|
border-radius: 4px;
|
// padding: 0 12px;
|
|
.search-icon {
|
// margin-right: 8px;
|
margin: 0px;
|
width: 32px;
|
color: #86909c;
|
}
|
|
.dtm-input-item {
|
flex: 1;
|
border: none;
|
background: transparent;
|
height: 24px;
|
font-size: 16px;
|
.dtm-input-item-input{
|
font-size: 16px !important;
|
}
|
}
|
|
.search-button {
|
display: flex;
|
align-items: center;
|
margin-left: 8px;
|
cursor: pointer;
|
|
.search-split {
|
color: #e4e8eb;
|
margin-right: 8px;
|
}
|
|
.search-text {
|
color: #1a6fb8;
|
font-size: 14px;
|
}
|
}
|
}
|
}
|
|
/* 分类导航和类型列表容器 */
|
.category-container {
|
display: flex;
|
flex: 1;
|
overflow: hidden;
|
width: 375px; /* 假设设备宽度为375px,常见移动设备宽度 */
|
}
|
|
/* 左侧分类导航样式 */
|
.category-nav {
|
width: 108px;
|
min-width: 108px;
|
max-width: 108px;
|
background-color: #f5f7fa;
|
overflow-y: auto;
|
|
.category-nav-item {
|
height: 46px;
|
display: flex;
|
align-items: center;
|
padding: 0 16px;
|
font-size: 14px;
|
color: #171a1d;
|
position: relative;
|
|
&.active {
|
background-color: #fff;
|
color: #1a6fb8;
|
font-weight: 500;
|
|
&::before {
|
content: '';
|
position: absolute;
|
left: 0;
|
top: 50%;
|
transform: translateY(-50%);
|
height: 46px;
|
width: 3px;
|
background-color: #1a6fb8;
|
border-radius: 0 2px 2px 0;
|
}
|
}
|
}
|
}
|
|
/* 右侧类型列表样式 */
|
.type-list {
|
width: 267px;
|
min-width: 267px;
|
max-width: 267px;
|
background-color: #fff;
|
overflow-y: auto;
|
padding: 17px 0 17px 17px;
|
box-sizing: border-box;
|
height: calc(100vh - 60px); /* 减去头部导航栏高度 */
|
min-height: calc(100vh - 60px);
|
|
.type-category-title {
|
display: none; /* 隐藏标题 */
|
}
|
|
.type-items {
|
display: flex;
|
flex-wrap: wrap;
|
justify-content: flex-start;
|
}
|
|
.type-item {
|
width: 64px;
|
margin-right: 21px;
|
margin-bottom: 12px;
|
font-size: 14px;
|
color: #171a1d;
|
text-align: center;
|
|
&:nth-child(3n) {
|
margin-right: 0;
|
}
|
|
.type-item-icon {
|
width: 64px;
|
height: 64px;
|
background-color: #f5f7fa;
|
border-radius: 4px;
|
margin-bottom: 8px;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
|
.inner-icon {
|
width: 32px;
|
height: 32px;
|
background-color: #e8e8e8;
|
border-radius: 2px;
|
}
|
}
|
|
.type-item-label {
|
width: 64px;
|
text-align: center;
|
word-break: break-word;
|
word-wrap: break-all;
|
font-size: 14px;
|
line-height: 1.3;
|
max-height: 36px;
|
display: -webkit-box;
|
-webkit-line-clamp: 2;
|
-webkit-box-orient: vertical;
|
overflow: hidden;
|
}
|
|
&:active {
|
opacity: 0.8;
|
}
|
}
|
|
.no-items {
|
width: 100%;
|
height: 60px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
color: #86909c;
|
font-size: 14px;
|
}
|
}
|
|
/* 搜索高亮文本样式 */
|
.highlight-text {
|
color: #1a6fb8;
|
font-weight: 500;
|
}
|
|
/* 搜索结果样式 */
|
.search-results {
|
flex: 1;
|
background-color: #fff;
|
overflow-y: auto;
|
|
.search-result-item {
|
padding: 16px;
|
border-bottom: 1px solid #f0f0f0;
|
|
.result-name {
|
font-size: 15px;
|
color: #171a1d;
|
margin-bottom: 4px;
|
}
|
|
.result-category {
|
font-size: 13px;
|
color: #86909c;
|
}
|
}
|
|
.no-results {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
padding-top: 100px;
|
|
.no-results-text {
|
color: #86909c;
|
font-size: 14px;
|
margin-top: 16px;
|
}
|
}
|
}
|