156 lines
3.7 KiB
CSS
156 lines
3.7 KiB
CSS
/* 工单列表:分类统计、状态标记、列表查询和支持说明。 */
|
|
/* 导入方:app/pages/tickets/index.vue。 */
|
|
.stat-row[data-v-1ff3e04d] {
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
display: flex;
|
|
}
|
|
.stat-card[data-v-1ff3e04d] {
|
|
background: var(--p-content-background);
|
|
border: 1px solid var(--p-content-border-color, #e2e8f0);
|
|
border-radius: var(--radius-lg);
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
font-size: 0.9375rem;
|
|
display: inline-flex;
|
|
}
|
|
.stat-dot[data-v-1ff3e04d] {
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
.stat-label[data-v-1ff3e04d] {
|
|
color: var(--p-text-muted-color, #64748b);
|
|
}
|
|
.stat-count[data-v-1ff3e04d] {
|
|
font-weight: 600;
|
|
}
|
|
.title-link[data-v-1ff3e04d] {
|
|
color: var(--p-text-color, #334155);
|
|
text-decoration: none;
|
|
}
|
|
.title-link[data-v-1ff3e04d]:hover {
|
|
color: var(--p-primary-color, #10b981);
|
|
}
|
|
.status-tag[data-v-1ff3e04d] {
|
|
white-space: nowrap;
|
|
border: 1px solid;
|
|
border-radius: 999px;
|
|
padding: 1px 8px;
|
|
font-size: 0.875rem;
|
|
display: inline-block;
|
|
}
|
|
.list-foot > .list-bulk[data-v-1ff3e04d]:empty {
|
|
display: none;
|
|
}
|
|
[data-v-1ff3e04d] .p-tag {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
}
|
|
.field[data-v-1ff3e04d] {
|
|
gap: 7px;
|
|
}
|
|
.field label[data-v-1ff3e04d] {
|
|
font-size: 0.875rem;
|
|
}
|
|
.support-notice[data-v-1ff3e04d] {
|
|
font-size: 0.875rem;
|
|
line-height: 24.5px;
|
|
}
|
|
.list-head[data-v-1ff3e04d] {
|
|
margin-top: 0;
|
|
}
|
|
@media (width<640px) {
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message) {
|
|
grid-template-columns: auto auto minmax(0, 1fr) auto;
|
|
grid-template-areas: "title title title status" "id type . reply";
|
|
align-items: center;
|
|
gap: 6px 10px;
|
|
padding: 14px 16px;
|
|
display: grid;
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td {
|
|
text-align: left;
|
|
justify-content: flex-start;
|
|
gap: 4px;
|
|
padding: 0 !important;
|
|
font-size: 0.875rem;
|
|
display: none;
|
|
position: static;
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td::before {
|
|
display: none;
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="标题"] {
|
|
grid-area: title;
|
|
display: flex;
|
|
color: var(--p-text-color);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="状态"] {
|
|
grid-area: status;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="ID"] {
|
|
grid-area: id;
|
|
display: flex;
|
|
color: var(--p-text-muted-color);
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="工单类型"] {
|
|
grid-area: type;
|
|
display: flex;
|
|
color: var(--p-text-muted-color);
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="最近回复"] {
|
|
grid-area: reply;
|
|
display: flex;
|
|
color: var(--p-text-muted-color);
|
|
justify-content: flex-end;
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="最近回复"]::before {
|
|
content: "最近回复 ";
|
|
color: var(--p-text-muted-color);
|
|
font-size: 0.875rem;
|
|
display: inline;
|
|
}
|
|
.list-table[data-v-1ff3e04d]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="ID"]
|
|
a {
|
|
color: var(--p-text-muted-color);
|
|
text-decoration: none;
|
|
font-weight: 400;
|
|
}
|
|
}
|