fix(user-center): 优化提现记录弹窗分页
This commit is contained in:
1 parent
27f54c8e35
commit
6bbb79213b
5 files changed
+290
-62
No files matched your search
@@ -886,10 +886,102 @@ body.uc-modal-open {
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.uc-withdraw-history-modal__dialog {
|
||||
max-width: min(860px, calc(100vw - 32px));
|
||||
overflow: hidden;
|
||||
}
|
||||
.uc-withdraw-history {
|
||||
width: 100%;
|
||||
}
|
||||
.uc-withdraw-history__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--muted-border-color, rgba(0,0,0,.08));
|
||||
white-space: nowrap;
|
||||
}
|
||||
.uc-withdraw-history__item:last-child {
|
||||
border-bottom: 0 !important;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.uc-withdraw-history__status,
|
||||
.uc-withdraw-history__amount {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.uc-withdraw-history__amount {
|
||||
min-width: 84px;
|
||||
text-align: right;
|
||||
font-weight: 700;
|
||||
}
|
||||
.uc-withdraw-history__number,
|
||||
.uc-withdraw-history__meta,
|
||||
.uc-withdraw-history__note {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.uc-withdraw-history__number {
|
||||
flex: 1 1 190px;
|
||||
}
|
||||
.uc-withdraw-history__meta {
|
||||
flex: 0 1 190px;
|
||||
}
|
||||
.uc-withdraw-history__note {
|
||||
flex: 0 1 160px;
|
||||
}
|
||||
.uc-withdraw-history__pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
.uc-withdraw-history__page {
|
||||
min-width: 34px;
|
||||
height: 32px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--muted-border-color, rgba(0,0,0,.12));
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.uc-withdraw-history__page:hover:not(:disabled),
|
||||
.uc-withdraw-history__page.is-current {
|
||||
border-color: var(--focus-color, #3b82f6);
|
||||
background: var(--focus-color, #3b82f6);
|
||||
color: #fff;
|
||||
}
|
||||
.uc-withdraw-history__page:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: .45;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.uc-withdraw-history-modal__dialog {
|
||||
max-width: calc(100vw - 20px);
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
.uc-withdraw-history__item {
|
||||
gap: 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.uc-withdraw-history__amount {
|
||||
min-width: 66px;
|
||||
}
|
||||
.uc-withdraw-history__number {
|
||||
flex-basis: 120px;
|
||||
}
|
||||
.uc-withdraw-history__meta {
|
||||
flex-basis: 120px;
|
||||
}
|
||||
.uc-withdraw-history__note {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Points tasks tab */
|
||||
.uc-points-tasks .border-bottom,
|
||||
|
||||
Reference in new issue
Block a user