1247 lines
24 KiB
CSS
1247 lines
24 KiB
CSS
/**
|
|
* User Center — assets (wallet + points) Zibll parity
|
|
*/
|
|
|
|
.uc-balance-card {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Dual asset row — layout only (no outer mega-card). Desktop: 1 row; mobile: 2 rows. */
|
|
.uc-assets-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
.uc-assets-row--dual {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.uc-assets-col {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
@media (max-width: 767px) {
|
|
.uc-assets-row--dual {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* One surface per asset (wallet / points) — never nest inside another card shell */
|
|
.uc-asset-card {
|
|
background: var(--main-bg-color, var(--surface-1, #fff));
|
|
border-radius: var(--main-radius, 8px);
|
|
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
|
|
border: 1px solid var(--color-line-soft, rgba(0, 0, 0, 0.06));
|
|
padding: 16px 20px;
|
|
margin-bottom: 0;
|
|
}
|
|
.uc-assets-row .uc-asset-card.zib-widget {
|
|
/* defensive if class reintroduced */
|
|
margin-bottom: 0;
|
|
clear: none;
|
|
}
|
|
|
|
/* Card-pass under a col must not look like a second stacked card */
|
|
.uc-assets-col > .uc-card-pass {
|
|
margin: 0;
|
|
padding: 12px 14px;
|
|
border-radius: 8px;
|
|
border: 1px dashed var(--color-line, #e5e7eb);
|
|
background: var(--muted-bg-color, #f8fafc);
|
|
box-shadow: none;
|
|
}
|
|
.uc-asset-card__head {
|
|
margin-bottom: 8px;
|
|
}
|
|
.uc-asset-card__title {
|
|
font-weight: 600;
|
|
color: var(--main-color, #4e5358);
|
|
}
|
|
.uc-asset-card__amount {
|
|
font-size: 1.75rem;
|
|
line-height: 1.2;
|
|
}
|
|
.uc-asset-card__mark {
|
|
font-size: 12px;
|
|
margin-right: 2px;
|
|
}
|
|
.uc-asset-card__actions .but {
|
|
min-width: 4.2em;
|
|
}
|
|
.uc-asset-card__link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-top: 8px;
|
|
background: none;
|
|
border: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
.uc-asset-card__link:hover {
|
|
color: var(--focus-color, #f04494);
|
|
}
|
|
|
|
/* Sidebar mini dual cards (Zibll) */
|
|
.uc-asset-mini {
|
|
gap: 8px;
|
|
}
|
|
.uc-asset-mini__card {
|
|
display: block;
|
|
background: var(--muted-bg-color, #f3f4f6);
|
|
border-radius: 6px;
|
|
padding: 10px 12px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: background 0.15s;
|
|
}
|
|
.uc-asset-mini__card:hover {
|
|
background: var(--color-line-soft, rgba(0, 0, 0, 0.06));
|
|
}
|
|
.uc-asset-mini__label {
|
|
margin-bottom: 6px;
|
|
}
|
|
.c-blue-2 {
|
|
color: #3b82f6;
|
|
}
|
|
.c-yellow {
|
|
color: #eab308;
|
|
}
|
|
.c-green {
|
|
color: #16a34a;
|
|
}
|
|
.col-ml6 {
|
|
margin-left: -6px;
|
|
}
|
|
.col-ml6 > * {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
/* Charge packages */
|
|
.uc-charge-packages {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.uc-charge-package {
|
|
position: relative;
|
|
display: block;
|
|
padding: 12px;
|
|
border: 1px solid var(--color-line, rgba(0, 0, 0, 0.08));
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
background: var(--surface-1, #fff);
|
|
}
|
|
.uc-charge-package input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
.uc-charge-package.is-active,
|
|
.uc-charge-package:has(input:checked) {
|
|
border-color: var(--focus-color, #f04494);
|
|
box-shadow: 0 0 0 1px var(--focus-color, #f04494);
|
|
}
|
|
.uc-charge-package__credit {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
}
|
|
.uc-charge-package__tag {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
border-radius: 0 8px 0 8px;
|
|
background: #fbbf24;
|
|
color: #333;
|
|
}
|
|
.uc-charge-custom__input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--color-line, #ddd);
|
|
padding: 6px 0;
|
|
font-size: 1.1rem;
|
|
outline: none;
|
|
}
|
|
.uc-charge-methods {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
.uc-charge-method {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Modal shell */
|
|
.uc-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1100;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
.uc-modal.is-open,
|
|
.uc-modal:not([hidden]) {
|
|
display: flex;
|
|
}
|
|
.uc-modal[hidden] {
|
|
display: none !important;
|
|
}
|
|
.uc-modal__overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
}
|
|
.uc-modal__dialog {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
max-height: 85vh;
|
|
overflow: auto;
|
|
background: var(--main-bg-color, #fff);
|
|
border-radius: 12px;
|
|
padding: 18px 18px 20px;
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.uc-modal__close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 12px;
|
|
border: 0;
|
|
background: transparent;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
color: #999;
|
|
}
|
|
.uc-modal__title {
|
|
margin: 0 0 14px;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
}
|
|
.uc-modal__desc {
|
|
margin-bottom: 12px;
|
|
}
|
|
.uc-modal__tip {
|
|
min-height: 1.4em;
|
|
margin: 10px 0 0;
|
|
font-size: 13px;
|
|
color: var(--muted-color, #777);
|
|
}
|
|
.uc-modal__tip.is-error {
|
|
color: #ef4444;
|
|
}
|
|
body.uc-modal-open {
|
|
overflow: hidden;
|
|
}
|
|
.btn-block {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.but.jb-blue,
|
|
.but.b-blue-2 {
|
|
background: #3b82f6;
|
|
color: #fff;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
padding: 0.45em 1em;
|
|
cursor: pointer;
|
|
}
|
|
.but.c-blue-2.hollow,
|
|
.but.c-green.hollow {
|
|
background: transparent;
|
|
border: 1px solid currentColor;
|
|
border-radius: 4px;
|
|
padding: 0.4em 0.9em;
|
|
cursor: pointer;
|
|
}
|
|
.but.c-blue-2 {
|
|
color: #3b82f6;
|
|
}
|
|
.but.c-green {
|
|
color: #16a34a;
|
|
}
|
|
|
|
/* Transfer search results */
|
|
.uc-transfer-results {
|
|
margin-top: 8px;
|
|
max-height: 200px;
|
|
overflow: auto;
|
|
}
|
|
.uc-transfer-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: 0;
|
|
background: var(--muted-bg-color, #f5f5f5);
|
|
border-radius: 6px;
|
|
margin-bottom: 6px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
.uc-transfer-user:hover {
|
|
background: var(--color-primary-soft, rgba(240, 68, 148, 0.08));
|
|
}
|
|
.uc-transfer-user__avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.uc-transactions--wallet {
|
|
margin-bottom: 20px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* Asset record tabs — flat tab strip + list, no zib-widget mega-card */
|
|
.uc-asset-tabs {
|
|
margin-top: 8px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
.uc-asset-tabs.zib-widget {
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
.uc-asset-tabs__nav {
|
|
display: flex;
|
|
gap: 18px;
|
|
list-style: none;
|
|
margin: 0 0 12px;
|
|
padding: 0 0 10px;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,.06));
|
|
}
|
|
.uc-asset-tabs__nav li a {
|
|
display: inline-block;
|
|
padding: 4px 0;
|
|
color: var(--muted-color, #777);
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
border-bottom: 2px solid transparent;
|
|
}
|
|
.uc-asset-tabs__nav li.active a,
|
|
.uc-asset-tabs__nav li a:hover {
|
|
color: var(--focus-color, #f04494);
|
|
border-bottom-color: var(--focus-color, #f04494);
|
|
}
|
|
.uc-asset-tabs__content .tab-pane[hidden] {
|
|
display: none !important;
|
|
}
|
|
.uc-asset-tabs__content .tab-pane.is-active {
|
|
display: block;
|
|
}
|
|
|
|
.uc-content #panel-credits .uc-transactions {
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.uc-content #panel-credits .uc-transactions__header,
|
|
.uc-content #panel-credits .uc-transactions__item {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.uc-content .widget-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--color-ink);
|
|
margin: 0 0 14px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
}
|
|
|
|
.uc-content .widget-title::before {
|
|
content: '';
|
|
position: static;
|
|
display: inline-block;
|
|
width: 3px;
|
|
height: 14px;
|
|
background: var(--color-primary);
|
|
border-radius: 2px;
|
|
margin-right: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* ==================== 账户余额面板 ==================== */
|
|
|
|
/* 余额卡片 */
|
|
.uc-balance-card {
|
|
position: relative;
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 4px 20px rgba(var(--color-primary-rgb, 59, 130, 246), 0.2);
|
|
}
|
|
|
|
.uc-balance-card__bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, var(--color-primary) 0%, #4facfe 50%, #00f2fe 100%);
|
|
z-index: 0;
|
|
}
|
|
|
|
.uc-balance-card__bg::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -30%;
|
|
width: 200px;
|
|
height: 200px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.08);
|
|
}
|
|
|
|
.uc-balance-card__bg::before {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -60%;
|
|
left: -20%;
|
|
width: 160px;
|
|
height: 160px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.uc-balance-card__content {
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 24px;
|
|
color: #fff;
|
|
}
|
|
|
|
.uc-balance-card__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.uc-balance-card__label {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.uc-balance-card__currency {
|
|
font-size: 12px;
|
|
padding: 3px 10px;
|
|
background: rgba(255,255,255,0.15);
|
|
border-radius: 100px;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.uc-balance-card__amount {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.uc-balance-card__value {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.02em;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.uc-balance-card__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(255,255,255,0.15);
|
|
}
|
|
|
|
.uc-balance-card__sign-status {
|
|
font-size: 13px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.uc-balance-card__sign-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 20px;
|
|
border: none;
|
|
border-radius: 100px;
|
|
background: rgba(255,255,255,0.2);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.uc-balance-card__sign-btn:hover {
|
|
background: rgba(255,255,255,0.3);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.uc-balance-card__sign-btn:disabled {
|
|
background: rgba(255,255,255,0.1);
|
|
color: rgba(255,255,255,0.5);
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.uc-balance-card__sign-btn i {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.uc-balance-card__tip {
|
|
font-size: 12px;
|
|
opacity: 0.7;
|
|
margin: 8px 0 0;
|
|
}
|
|
|
|
/* 积分流水 */
|
|
.uc-transactions {
|
|
background: var(--surface-1);
|
|
border-radius: var(--main-radius, var(--radius, 8px));
|
|
border: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
overflow: hidden;
|
|
}
|
|
|
|
.uc-transactions__header {
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
}
|
|
|
|
.uc-transactions__title {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--color-ink);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.uc-transactions__title i {
|
|
font-size: 13px;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.uc-transactions__list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.uc-transactions__item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 20px;
|
|
border-bottom: 1px solid var(--color-line-soft, rgba(0,0,0,0.04));
|
|
transition: background-color 0.15s;
|
|
}
|
|
|
|
.uc-transactions__item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.uc-transactions__item:hover {
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
.uc-transactions__icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.uc-transactions__icon.is-positive {
|
|
background: rgba(34, 197, 94, 0.1);
|
|
color: #22c55e;
|
|
}
|
|
|
|
.uc-transactions__icon.is-negative {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #ef4444;
|
|
}
|
|
|
|
.uc-transactions__info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.uc-transactions__reason {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--color-ink);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.uc-transactions__remark {
|
|
font-size: 12px;
|
|
color: var(--color-ink-4);
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.uc-transactions__time {
|
|
font-size: 12px;
|
|
color: var(--color-ink-4);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.uc-transactions__amount {
|
|
text-align: right;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.uc-transactions__delta {
|
|
display: block;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.uc-transactions__delta.is-positive {
|
|
color: #22c55e;
|
|
}
|
|
|
|
.uc-transactions__delta.is-negative {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.uc-transactions__balance {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--color-ink-4);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.uc-transactions__empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.uc-transactions__empty-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
background: var(--surface-2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 12px;
|
|
font-size: 20px;
|
|
color: var(--color-ink-4);
|
|
}
|
|
|
|
.uc-transactions__empty p {
|
|
font-size: 14px;
|
|
color: var(--color-ink-4);
|
|
margin: 0;
|
|
}
|
|
|
|
/* ==================== VIP 会员开通 ==================== */
|
|
|
|
.uc-vip-card {
|
|
position: relative;
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
margin-bottom: 16px;
|
|
box-shadow: 0 4px 20px rgba(245, 158, 11, 0.18);
|
|
}
|
|
.uc-vip-card__bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, #f59e0b 0%, #f97316 55%, #ef4444 100%);
|
|
z-index: 0;
|
|
}
|
|
.uc-vip-card--active .uc-vip-card__bg {
|
|
background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 55%, #8b5cf6 100%);
|
|
}
|
|
.uc-vip-card__content {
|
|
position: relative;
|
|
z-index: 1;
|
|
padding: 22px;
|
|
color: #fff;
|
|
}
|
|
.uc-vip-card__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.uc-vip-card__icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255,255,255,0.18);
|
|
font-size: 18px;
|
|
}
|
|
.uc-vip-card__label {
|
|
display: block;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
.uc-vip-card__status {
|
|
display: inline-block;
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
opacity: 0.9;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(255,255,255,0.16);
|
|
}
|
|
.uc-vip-card__status--active {
|
|
background: rgba(16, 185, 129, 0.25);
|
|
}
|
|
.uc-vip-card__benefits {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 12px;
|
|
font-size: 12px;
|
|
opacity: 0.95;
|
|
}
|
|
.uc-vip-card__benefit i { margin-right: 4px; }
|
|
.uc-vip-card__desc {
|
|
margin: 12px 0 0;
|
|
font-size: 12px;
|
|
opacity: 0.85;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.uc-vip-shop {
|
|
background: var(--surface-1, #fff);
|
|
border: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
border-radius: var(--radius, 10px);
|
|
padding: 16px 18px 18px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.uc-vip-shop__title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--color-ink, #111);
|
|
margin-bottom: 14px;
|
|
}
|
|
.uc-vip-shop__title i { color: #f59e0b; }
|
|
.uc-vip-shop__group { margin-bottom: 16px; }
|
|
.uc-vip-shop__group-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--color-ink-2, #374151);
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.uc-vip-shop__badge {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #047857;
|
|
background: #ecfdf5;
|
|
border-radius: 999px;
|
|
padding: 2px 8px;
|
|
}
|
|
.uc-vip-shop__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.uc-vip-shop__item {
|
|
appearance: none;
|
|
border: 1px solid var(--color-line, #e5e7eb);
|
|
background: var(--surface-0, #fafafa);
|
|
border-radius: 12px;
|
|
padding: 14px 12px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
.uc-vip-shop__item:hover {
|
|
border-color: #f59e0b;
|
|
box-shadow: 0 8px 20px rgba(245, 158, 11, 0.12);
|
|
transform: translateY(-1px);
|
|
}
|
|
.uc-vip-shop__item.is-loading {
|
|
opacity: 0.65;
|
|
pointer-events: none;
|
|
}
|
|
.uc-vip-shop__item-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--color-ink, #111);
|
|
}
|
|
.uc-vip-shop__item-days {
|
|
font-size: 12px;
|
|
color: var(--color-ink-3, #6b7280);
|
|
}
|
|
.uc-vip-shop__item-price {
|
|
margin-top: 6px;
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
color: #dc2626;
|
|
}
|
|
.uc-vip-shop__item-cta {
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #b45309;
|
|
}
|
|
.uc-vip-shop__methods {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 12px;
|
|
margin-top: 8px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--color-line-soft, rgba(0,0,0,0.06));
|
|
}
|
|
.uc-vip-shop__methods-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--color-ink-3, #6b7280);
|
|
}
|
|
.uc-vip-shop__method {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
.uc-vip-shop__tip {
|
|
margin: 10px 0 0;
|
|
font-size: 12px;
|
|
color: var(--color-ink-3, #6b7280);
|
|
min-height: 1.2em;
|
|
}
|
|
.uc-vip-shop__tip.is-error { color: #dc2626; }
|
|
.uc-vip-shop__empty {
|
|
font-size: 13px;
|
|
color: var(--color-ink-3, #6b7280);
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.uc-vip-shop__note {
|
|
margin: 0 0 12px;
|
|
font-size: 12px;
|
|
color: var(--color-ink-3, #6b7280);
|
|
line-height: 1.5;
|
|
}
|
|
.uc-vip-shop__item {
|
|
position: relative;
|
|
}
|
|
.uc-vip-shop__item-tag {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: #92400e;
|
|
background: #fef3c7;
|
|
border-radius: 999px;
|
|
padding: 2px 6px;
|
|
}
|
|
.uc-vip-shop__item-show {
|
|
display: inline-block;
|
|
margin-left: 6px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: #9ca3af;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.uc-vip-shop--points {
|
|
border-color: rgba(16, 185, 129, 0.25);
|
|
}
|
|
.uc-vip-shop__balance {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #047857;
|
|
margin: 0 0 10px;
|
|
}
|
|
.uc-vip-shop__item.is-disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
.uc-vip-shop__item.is-disabled:hover {
|
|
transform: none;
|
|
box-shadow: none;
|
|
border-color: var(--color-line, #e5e7eb);
|
|
}
|
|
|
|
/* Card-pass redeem (balance / VIP) */
|
|
.uc-card-pass {
|
|
margin: 16px 0 0;
|
|
padding: 14px 16px;
|
|
border: 1px solid var(--color-line, #e5e7eb);
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
}
|
|
.uc-card-pass__title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
margin: 0 0 8px;
|
|
}
|
|
.uc-card-pass__title i { color: #2563eb; }
|
|
.uc-card-pass__desc {
|
|
margin: 0 0 10px;
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
line-height: 1.5;
|
|
}
|
|
.uc-card-pass__input {
|
|
display: block;
|
|
width: 100%;
|
|
margin: 0 0 8px;
|
|
padding: 9px 12px;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
box-sizing: border-box;
|
|
}
|
|
.uc-card-pass__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 36px;
|
|
padding: 0 14px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: #2563eb;
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
.uc-card-pass__btn:hover { background: #1d4ed8; }
|
|
.uc-card-pass__btn:disabled { opacity: .6; cursor: not-allowed; }
|
|
.uc-card-pass__tip {
|
|
margin: 8px 0 0;
|
|
font-size: 12px;
|
|
color: #059669;
|
|
min-height: 1.2em;
|
|
}
|
|
.uc-card-pass__tip.is-error { color: #b91c1c; }
|
|
|
|
|
|
|
|
/* Withdraw history + pending foot */
|
|
.uc-asset-card__foot {
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px dashed var(--muted-border-color, rgba(0,0,0,.08));
|
|
}
|
|
.uc-asset-card__foot button {
|
|
background: none;
|
|
border: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
.uc-asset-card__head-action {
|
|
background: none;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
.uc-withdraw-history__item:last-child {
|
|
border-bottom: 0 !important;
|
|
}
|
|
|
|
|
|
/* Points tasks tab */
|
|
.uc-points-tasks .border-bottom,
|
|
.uc-points-date .border-bottom,
|
|
.uc-withdraw-history__item.border-bottom {
|
|
border-bottom: 1px solid var(--muted-border-color, rgba(0,0,0,.08));
|
|
}
|
|
.uc-points-tasks button,
|
|
.uc-points-date button {
|
|
background: none;
|
|
border: 0;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
.uc-points-tasks__meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
}
|
|
.uc-points-tasks__action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: var(--muted-color, #8b9198);
|
|
background: none;
|
|
border: 0;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
line-height: 1.4;
|
|
}
|
|
.uc-points-tasks__action:hover {
|
|
color: var(--focus-color, #f04494);
|
|
}
|
|
.focus-color { color: var(--focus-color, #f59e0b); }
|
|
|
|
/* User badges wear modal */
|
|
.uc-badges-list { max-height: 60vh; overflow: auto; }
|
|
.uc-badges-item { gap: 12px; }
|
|
.uc-badges-item .medal-icon { width: 28px; height: 28px; object-fit: contain; }
|
|
.uc-badges-wear-tag { margin-left: 6px; }
|
|
.uc-badges-empty { padding: 16px 0; text-align: center; }
|
|
|
|
|
|
/* Level / integral card */
|
|
.uc-level-card {
|
|
margin: 16px 0;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, rgba(240,68,148,.12), rgba(99,102,241,.10));
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.uc-level-card__badge { margin-top: 12px; }
|
|
.uc-level-card .progress,
|
|
.integral-progress.progress {
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(127,127,127,.18);
|
|
overflow: hidden;
|
|
}
|
|
.uc-level-card .progress-bar {
|
|
height: 100%;
|
|
border-radius: 999px;
|
|
background: linear-gradient(90deg, #f04494, #6366f1);
|
|
}
|
|
.uc-level-growth__row {
|
|
display: grid;
|
|
grid-template-columns: 56px 1fr auto;
|
|
gap: 8px;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid rgba(127,127,127,.12);
|
|
font-size: 12px;
|
|
}
|
|
.uc-level-growth__row.is-done { opacity: .7; }
|
|
.uc-level-growth__row.is-next { font-weight: 700; color: var(--focus-color, #f04494); }
|
|
.uc-points-tasks__row.is-done { opacity: .72; }
|
|
.uc-points-tasks__progress-bar {
|
|
height: 6px;
|
|
border-radius: 999px;
|
|
background: rgba(127,127,127,.16);
|
|
overflow: hidden;
|
|
}
|
|
.uc-points-tasks__progress-bar > span {
|
|
display: block;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #22c55e, #16a34a);
|
|
}
|
|
|
|
/* VIP tab — zibll 我的会员 */
|
|
.uc-vip-tab .user-content-myvip {
|
|
position: relative;
|
|
padding: 16px 18px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.uc-vip-tab .user-content-myvip .avatar-img img {
|
|
border-radius: 50%;
|
|
display: block;
|
|
}
|
|
.uc-vip-status {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.uc-vip-status .flex.ac {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.uc-vip-level-cards {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
.uc-vip-level-card {
|
|
position: relative;
|
|
flex: 1 1 240px;
|
|
padding: 20px 16px 18px;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
}
|
|
.uc-vip-level-card.level-1 {
|
|
background: linear-gradient(180deg, rgba(246, 196, 83, 0.14), rgba(255,255,255,0.02));
|
|
}
|
|
.uc-vip-level-card.level-2 {
|
|
background: linear-gradient(180deg, rgba(142, 68, 173, 0.10), rgba(255,255,255,0.02));
|
|
}
|
|
.uc-vip-level-card .vip-baicon {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 8px;
|
|
opacity: 0.08;
|
|
font-size: 64px;
|
|
pointer-events: none;
|
|
}
|
|
.uc-vip-level-card__inner {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.uc-vip-level-card .v-iconbox {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.uc-vip-level-card .v-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0,0,0,0.05);
|
|
flex: 0 0 auto;
|
|
}
|
|
.uc-vip-level-card .v-info {
|
|
text-align: left;
|
|
min-width: 0;
|
|
}
|
|
.uc-vip-level-card .v-name {
|
|
font-size: 16px;
|
|
line-height: 1.3;
|
|
}
|
|
.uc-vip-level-card .v-desc {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* CRITICAL: equity must stack as list, never one jammed line */
|
|
.uc-vip-level-card .v-equity,
|
|
.pay-vip-info .v-equity {
|
|
display: block !important;
|
|
list-style: none;
|
|
margin: 12px auto 16px;
|
|
padding: 0;
|
|
max-width: 240px;
|
|
text-align: left;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
color: var(--muted-2-color, #888);
|
|
}
|
|
.uc-vip-level-card .v-equity > li,
|
|
.pay-vip-info .v-equity > li {
|
|
display: block !important;
|
|
position: relative;
|
|
margin: 0 0 8px;
|
|
padding: 0 0 0 14px;
|
|
list-style: none;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
.uc-vip-level-card .v-equity > li:last-child,
|
|
.pay-vip-info .v-equity > li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.uc-vip-level-card .v-equity > li::before,
|
|
.pay-vip-info .v-equity > li::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0.55em;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.uc-vip-cta {
|
|
display: inline-flex !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-width: 160px;
|
|
padding: 10px 18px !important;
|
|
border: 0;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
.uc-vip-cta > i {
|
|
margin: 0 !important;
|
|
line-height: 1;
|
|
}
|
|
.uc-vip-points-link {
|
|
padding: 12px 16px;
|
|
gap: 12px;
|
|
}
|
|
.uc-vip-points-link a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
.uc-vip-assets-entry {
|
|
gap: 12px;
|
|
}
|
|
|
|
.jb-vip1 {
|
|
background: linear-gradient(25deg, #eabe7b 10%, #f5e3c7 70%, #edc788 100%);
|
|
color: #866127;
|
|
border: none;
|
|
}
|
|
.jb-vip2 {
|
|
background: linear-gradient(317deg, #4d4c4c 30%, #7b7b7b 70%, #5f5c5c 100%);
|
|
color: #ddd;
|
|
border: none;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.uc-vip-level-cards {
|
|
flex-direction: column;
|
|
}
|
|
.uc-vip-level-card {
|
|
flex: 1 1 auto;
|
|
}
|
|
}
|