| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222 |
- /* 双向助力活动页专属样式 */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- -webkit-tap-highlight-color: transparent;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- user-select: none;
- }
- html,
- body {
- background: var(--bex-page-bg-welfare, #0e0e0e);
- color: var(--bex-text-primary, #ffffff);
- min-height: 100vh;
- }
- body {
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- Roboto,
- "Helvetica Neue",
- Arial,
- sans-serif;
- font-size: 14px;
- line-height: 1.4;
- }
- .container {
- position: relative;
- width: 100%;
- min-height: 100vh;
- overflow-x: hidden;
- padding-bottom: env(safe-area-inset-bottom);
- }
- /* ===== 遮罩 ===== */
- .loading-overlay,
- .error-overlay,
- .modal-overlay {
- position: fixed;
- inset: 0;
- z-index: 1000;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .loading-overlay,
- .error-overlay {
- background: var(--bex-page-bg-welfare, #0e0e0e);
- flex-direction: column;
- gap: 16px;
- }
- .loading-spinner {
- width: 40px;
- height: 40px;
- border: 3px solid var(--bex-border, #2c2c2c);
- border-top-color: var(--bex-brand, #fd6f23);
- border-radius: 50%;
- animation: spin 1s linear infinite;
- }
- @keyframes spin {
- to {
- transform: rotate(360deg);
- }
- }
- .loading-text,
- .error-text {
- color: var(--bex-text-secondary, #888888);
- font-size: 14px;
- }
- .error-content {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 24px;
- padding: 32px;
- text-align: center;
- }
- .error-actions {
- display: flex;
- gap: 12px;
- }
- .error-retry {
- padding: 12px 32px;
- background: #ffffff;
- border: none;
- border-radius: 8px;
- color: #121212;
- font-size: 14px;
- font-weight: 500;
- cursor: pointer;
- }
- .modal-overlay {
- background: rgba(0, 0, 0, 0.8);
- align-items: flex-end;
- padding: 0;
- }
- .modal-overlay.centered {
- align-items: center;
- padding: 24px;
- }
- /* ===== 底部面板 ===== */
- .modal-panel {
- width: 100%;
- max-height: 80vh;
- background: var(--bex-page-bg-welfare, #0e0e0e);
- border-radius: 16px 16px 0 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- animation: slideUp 0.25s ease-out;
- }
- .modal-panel.panel-auto {
- max-height: none;
- }
- .modal-panel.panel-unified {
- height: 80vh;
- max-height: 90vh;
- }
- .panel-drag-handle {
- width: 32px;
- height: 4px;
- background: #2f2f2f;
- border-radius: 40px;
- margin: 8px auto 0;
- flex-shrink: 0;
- }
- .panel-tab-bar {
- display: flex;
- align-items: flex-end;
- padding: 12px 16px 0;
- border-bottom: 1px solid #282828;
- position: relative;
- flex-shrink: 0;
- }
- .panel-tab {
- flex: 1;
- text-align: center;
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- font-size: 16px;
- font-weight: 600;
- color: var(--bex-text-secondary, #888888);
- padding-bottom: 12px;
- cursor: pointer;
- position: relative;
- }
- .panel-tab.active {
- color: var(--bex-text-primary, #ffffff);
- }
- .panel-tab.active::after {
- content: "";
- position: absolute;
- bottom: -1px;
- left: 50%;
- transform: translateX(-50%);
- width: 14px;
- height: 2px;
- background: var(--bex-brand, #fd6f23);
- border-radius: 2px;
- }
- .panel-tab-line {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 1px;
- background: #282828;
- }
- .panel-body {
- flex: 1;
- overflow-y: auto;
- padding: 16px;
- -webkit-overflow-scrolling: touch;
- }
- /* ===== 居中弹窗卡片 ===== */
- .modal-card {
- width: 100%;
- max-width: 300px;
- background: #0f0f0f;
- border: 1px solid #191919;
- border-radius: 8px;
- padding: 24px 16px 16px;
- text-align: center;
- animation: fadeIn 0.2s ease-out;
- }
- .modal-card .modal-card-desc {
- color: var(--bex-text-secondary, #888888);
- font-size: 13px;
- margin-bottom: 16px;
- }
- .modal-checkmark {
- width: 44px;
- height: 44px;
- margin: 0 auto 16px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- }
- .modal-card-title {
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- font-size: 14px;
- font-weight: 600;
- color: #ffffff;
- margin-bottom: 16px;
- }
- .modal-amount-card {
- display: inline-block;
- background: #161616;
- border-radius: 6px;
- padding: 13px 36px;
- margin-bottom: 16px;
- }
- .modal-amount-text {
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- font-size: 20px;
- font-weight: 600;
- }
- .modal-amount-text .highlight {
- color: var(--bex-brand, #fd6f23);
- }
- .modal-amount-text .white {
- color: #ffffff;
- }
- .modal-card-btn {
- width: 100%;
- height: 42px;
- background: #ffffff;
- border: none;
- border-radius: 8px;
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- font-size: 14px;
- font-weight: 500;
- color: #121212;
- cursor: pointer;
- }
- @keyframes slideUp {
- from {
- transform: translateY(100%);
- }
- to {
- transform: translateY(0);
- }
- }
- @keyframes fadeIn {
- from {
- opacity: 0;
- transform: scale(0.96);
- }
- to {
- opacity: 1;
- transform: scale(1);
- }
- }
- /* ===== 主页 ===== */
- .main-view {
- position: relative;
- z-index: 1;
- padding: 0 16px 20px;
- /* min-height: 100vh; */
- }
- .hero-decor {
- z-index: 0;
- pointer-events: none;
- position: absolute;
- }
- .hero-decor.bg-round {
- right: -80px;
- bottom: 0;
- width: 280px;
- height: 280px;
- opacity: 0.4;
- }
- .hero-decor.tokenomics-left {
- right: -20px;
- top: 0px;
- width: 157px;
- opacity: 0.8;
- }
- .hero-decor.coin {
- left: 50%;
- transform: translateX(-50%);
- top: 24px;
- width: 193px;
- opacity: 0.9;
- }
- .hero-content {
- position: relative;
- z-index: 1;
- padding-top: 252px;
- }
- .hero-title {
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- Roboto,
- sans-serif;
- font-size: 26px;
- font-weight: 600;
- line-height: 1.38;
- color: var(--bex-text-primary, #ffffff);
- text-align: center;
- margin-bottom: 24px;
- }
- .hero-title .highlight {
- color: var(--bex-brand, #fd6f23);
- }
- .hero-subtitle {
- display: none;
- }
- /* ===== 倒计时 ===== */
- .countdown-card {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- width: 254px;
- margin: 0 auto 32px;
- height: 62px;
- }
- .countdown-label {
- font-size: 12px;
- font-weight: 400;
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- color: var(--bex-text-secondary, #888888);
- margin-bottom: 10px;
- }
- .countdown-row {
- display: flex;
- align-items: center;
- gap: 0;
- }
- .countdown-num {
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0 10px;
- height: 40px;
- background: var(--bex-card-bg-dark, #1f1f1f);
- border-radius: 6px;
- font-family:
- "HarmonyOS Sans",
- "DIN Alternate",
- "SF Pro Display",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- font-size: 17px;
- font-weight: 700;
- color: var(--bex-text-primary, #ffffff);
- text-align: center;
- line-height: 1;
- }
- .countdown-sep {
- width: 16px;
- text-align: center;
- font-size: 14px;
- color: var(--bex-text-secondary, #888888);
- }
- .countdown-unit {
- font-size: 14px;
- color: var(--bex-text-secondary, #888888);
- margin-left: 6px;
- }
- /* ===== 双按钮 ===== */
- .btn-row {
- display: flex;
- flex-direction: column;
- gap: 14px;
- margin-bottom: 16px;
- padding: 0;
- }
- .btn {
- width: 100%;
- height: 42px;
- border: none;
- border-radius: 8px;
- font-size: 14px;
- font-weight: 500;
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- transition: opacity 0.2s;
- }
- .btn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- }
- .btn-icon {
- width: 14px;
- height: 14px;
- margin-right: 6px;
- flex-shrink: 0;
- }
- .btn-primary {
- background: #ffffff;
- color: #121212;
- }
- .btn-primary .highlight {
- color: var(--bex-brand, #fd6f23);
- }
- .btn-outline {
- background: transparent;
- color: var(--bex-text-primary, #ffffff);
- border: 1px solid #292929;
- }
- .btn-ghost {
- background: transparent;
- color: var(--bex-text-primary, #ffffff);
- }
- /* ===== 底部操作行(纵向卡片列表) ===== */
- .action-grid {
- display: flex;
- flex-direction: column;
- gap: 16px;
- margin-bottom: 12px;
- }
- .action-item {
- width: 100%;
- height: 52px;
- background: var(--bex-action-bg, rgba(255, 255, 255, 0.03));
- border: 1px solid var(--bex-action-border, #292929);
- border-radius: 8px;
- display: flex;
- align-items: center;
- padding: 0 16px;
- font-size: 14px;
- font-weight: 500;
- line-height: 14px;
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- color: var(--bex-text-primary, #ffffff);
- cursor: pointer;
- position: relative;
- }
- .action-item-icon {
- width: 20px;
- height: 20px;
- margin-right: 8px;
- flex-shrink: 0;
- }
- .action-item-arrow {
- width: 18px;
- height: 18px;
- flex-shrink: 0;
- margin-left: auto;
- opacity: 0.5;
- }
- /* ===== 最近参与 ticker(页面顶部) ===== */
- .recent-ticker {
- width: 100%;
- height: 36px;
- background: rgba(255, 255, 255, 0.03);
- overflow: hidden;
- display: flex;
- align-items: center;
- font-size: 12px;
- font-weight: 400;
- color: var(--bex-text-secondary, #888888);
- position: relative;
- z-index: 2;
- flex-shrink: 0;
- }
- .ticker-list {
- display: flex;
- align-items: center;
- gap: 32px;
- padding: 0 12px;
- white-space: nowrap;
- animation: ticker-scroll 240s linear infinite;
- }
- .ticker-item {
- display: flex;
- align-items: center;
- gap: 4px;
- flex-shrink: 0;
- font-size: 12px;
- line-height: 17px;
- color: var(--bex-text-secondary, #888888);
- }
- @keyframes ticker-scroll {
- 0% {
- transform: translateX(0);
- }
- 100% {
- transform: translateX(-50%);
- }
- }
- .ticker-avatar {
- width: 14px;
- height: 14px;
- border-radius: 50%;
- flex-shrink: 0;
- border: 1px solid #d0d0d0;
- overflow: hidden;
- position: relative;
- }
- .ticker-avatar::after {
- content: "";
- position: absolute;
- inset: 0;
- border-radius: 50%;
- box-shadow: inset 0 0 0 0.5px rgba(106, 106, 106, 0.49);
- pointer-events: none;
- }
- .ticker-avatar img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .ticker-item .highlight {
- color: var(--bex-brand, #fd6f23);
- }
- /* ===== 邀请列表 ===== */
- .invite-stats {
- display: flex;
- gap: 8px;
- margin-bottom: 16px;
- }
- .stat-card {
- flex: 1;
- background: var(--bex-card-bg-action, rgba(255, 255, 255, 0.05));
- border-radius: 8px;
- padding: 12px 16px;
- display: flex;
- flex-direction: column;
- }
- .stat-value {
- font-family:
- "HarmonyOS Sans",
- "DIN Alternate",
- "SF Pro Display",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- font-size: 28px;
- font-weight: 700;
- color: var(--bex-text-primary, #ffffff);
- line-height: 1;
- }
- .stat-value.brand {
- color: var(--bex-brand, #fd6f23);
- }
- .stat-unit {
- font-size: 14px;
- font-weight: 400;
- color: var(--bex-text-primary, #ffffff);
- margin-left: 2px;
- }
- .stat-unit.brand {
- color: var(--bex-brand, #fd6f23);
- }
- .stat-label {
- font-size: 12px;
- font-weight: 400;
- color: var(--bex-text-secondary, #888888);
- margin-top: 4px;
- margin-bottom: 4px;
- }
- /* ===== 筛选标签 ===== */
- .filter-tabs {
- display: flex;
- gap: 8px;
- overflow-x: auto;
- padding-bottom: 8px;
- margin-bottom: 12px;
- -webkit-overflow-scrolling: touch;
- scrollbar-width: none;
- }
- .filter-tabs::-webkit-scrollbar {
- display: none;
- }
- .filter-tab {
- flex-shrink: 0;
- padding: 5px 10px;
- border-radius: 4px;
- font-size: 12px;
- font-weight: 400;
- color: var(--bex-text-secondary, #888888);
- cursor: pointer;
- border: none;
- background: transparent;
- }
- .filter-tab.active {
- background: rgba(255, 255, 255, 0.1);
- color: var(--bex-text-primary, #ffffff);
- font-weight: 500;
- }
- /* ===== 列表项 ===== */
- .divider-line {
- height: 1px;
- background: #1f1f1f;
- margin: 0;
- }
- .list-item {
- display: flex;
- align-items: center;
- padding: 12px 0;
- position: relative;
- }
- .list-item .list-item-divider {
- position: absolute;
- bottom: 0;
- left: 52px;
- right: 0;
- height: 1px;
- background: #1f1f1f;
- }
- .avatar {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- /* background: var(--bex-border, #1f1f1f); */
- border: 1px solid var(--bex-border, #1f1f1f);
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 14px;
- font-weight: 600;
- color: var(--bex-text-primary, #ffffff);
- overflow: hidden;
- flex-shrink: 0;
- margin-right: 12px;
- }
- .avatar img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .list-info {
- flex: 1;
- min-width: 0;
- }
- .list-name {
- font-size: 14px;
- font-weight: 500;
- color: var(--bex-text-primary, #ffffff);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin-bottom: 2px;
- }
- .list-time {
- font-size: 12px;
- font-weight: 400;
- color: var(--bex-text-secondary, #888888);
- }
- .status-tag {
- flex-shrink: 0;
- font-size: 14px;
- font-weight: 500;
- margin-left: 8px;
- }
- .status-valid {
- color: #23bb6e;
- }
- .status-pending {
- color: var(--bex-brand, #fd6f23);
- }
- .status-not-qualified {
- color: var(--bex-text-secondary, #888888);
- }
- /* ===== 奖励记录列表 ===== */
- .reward-row {
- display: flex;
- align-items: center;
- padding: 12px 0;
- position: relative;
- cursor: pointer;
- }
- .reward-row .list-item-divider {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 1px;
- background: #1f1f1f;
- }
- .reward-left {
- flex: 1;
- min-width: 0;
- }
- .reward-amount-text {
- font-family:
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- font-size: 14px;
- font-weight: 500;
- line-height: 16px;
- }
- .reward-amount-text .highlight {
- color: var(--bex-brand, #fd6f23);
- }
- .reward-amount-text .white {
- color: var(--bex-text-primary, #ffffff);
- }
- .reward-date {
- font-size: 12px;
- font-weight: 400;
- color: var(--bex-text-secondary, #888888);
- margin-top: 4px;
- }
- .reward-right {
- display: flex;
- align-items: center;
- gap: 4px;
- flex-shrink: 0;
- }
- .reward-status-text {
- font-size: 14px;
- font-weight: 500;
- color: var(--bex-text-secondary, #888888);
- }
- .reward-status-text.pending {
- color: var(--bex-brand, #fd6f23);
- }
- .reward-chevron {
- width: 12px;
- height: 12px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--bex-text-secondary, #888888);
- font-size: 12px;
- }
- .empty-state {
- padding: 56px 16px;
- text-align: center;
- color: var(--bex-text-secondary, #888888);
- font-size: 12px;
- }
- .empty-icon {
- width: 64px;
- height: 64px;
- margin: 0 auto 6px;
- display: block;
- }
- .load-more {
- text-align: center;
- padding: 16px;
- color: var(--bex-text-secondary, #888888);
- font-size: 12px;
- font-weight: 400;
- }
- /* ===== 邀请分享底部弹窗 ===== */
- .invite-sheet-body {
- padding: 12px 16px 32px;
- }
- .invite-sheet-title {
- font-size: 16px;
- font-weight: 600;
- color: var(--bex-text-primary, #ffffff);
- text-align: center;
- margin-bottom: 20px;
- font-family:
- "HarmonyOS Sans",
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- }
- .invite-sheet-card {
- background: var(--bex-card-bg-dark, #1f1f1f);
- border-radius: 8px;
- padding: 12px;
- margin-bottom: 12px;
- }
- .invite-sheet-card-title {
- font-size: 14px;
- font-weight: 600;
- color: var(--bex-text-primary, #ffffff);
- margin-bottom: 8px;
- font-family:
- "HarmonyOS Sans",
- "PingFang SC",
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- }
- .invite-sheet-card-row {
- display: flex;
- align-items: end;
- gap: 8px;
- }
- .invite-sheet-plan-content {
- flex: 1;
- min-width: 0;
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
- .invite-sheet-card-desc {
- font-size: 12px;
- color: var(--bex-text-secondary, #888888);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .invite-sheet-link {
- flex: 1;
- font-size: 12px;
- color: var(--bex-text-secondary, #888888);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .invite-sheet-link.secondary {
- color: var(--bex-text-secondary, #686868);
- }
- .invite-sheet-copy-btn {
- flex-shrink: 0;
- background: transparent;
- border: none;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0;
- border-radius: 4px;
- }
- .invite-sheet-copy-btn:active {
- opacity: 0.6;
- }
- /* ===== 规则 ===== */
- .rule-content {
- text-align: left;
- font-size: 14px;
- line-height: 1.6;
- color: var(--bex-text-secondary, #888888);
- white-space: pre-wrap;
- max-height: 300px;
- overflow-y: scroll;
- overflow-x: hidden;
- }
- /* ===== 关联用户弹窗(在统一面板之上) ===== */
- .reward-users-overlay {
- position: fixed;
- inset: 0;
- background: rgba(0, 0, 0, 0.5);
- z-index: 1500;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- }
- .reward-users-panel {
- background: var(--bex-panel-bg, #0e0e0e);
- border-radius: 20px 20px 0 0;
- max-height: 70vh;
- height: 60vh;
- display: flex;
- flex-direction: column;
- }
- .reward-users-panel .panel-drag-handle {
- width: 32px;
- height: 4px;
- background: #2f2f2f;
- border-radius: 40px;
- margin: 8px auto 0;
- }
- .reward-users-panel .reward-users-title {
- font-size: 16px;
- font-weight: 600;
- font-family: "PingFang SC", sans-serif;
- text-align: left;
- padding: 12px 16px 16px;
- color: var(--bex-text-primary, #ffffff);
- }
- .reward-users-panel .reward-users-body {
- flex: 1;
- overflow-y: auto;
- padding: 0 16px 16px;
- }
- .reward-users-item {
- display: flex;
- align-items: center;
- gap: 10px;
- padding: 10px 0;
- position: relative;
- }
- .reward-users-item + .reward-users-item::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- border-top: 1px solid var(--bex-divider, #1f1f1f);
- }
- .reward-users-item .reward-users-avatar {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- flex-shrink: 0;
- background: #7e7e7e;
- border: 1px solid #d0d0d0;
- overflow: hidden;
- position: relative;
- }
- .reward-users-item .reward-users-avatar::after {
- content: "";
- position: absolute;
- inset: 0;
- border-radius: 50%;
- box-shadow: inset 0 0 0 0.5px rgba(106, 106, 106, 0.49);
- pointer-events: none;
- }
- .reward-users-item .reward-users-avatar img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .reward-users-item .reward-users-info {
- flex: 1;
- min-width: 0;
- }
- .reward-users-item .reward-users-name {
- font-size: 14px;
- font-weight: 500;
- line-height: 16px;
- color: var(--bex-text-primary, #ffffff);
- margin-bottom: 4px;
- }
- .reward-users-item .reward-users-time {
- font-size: 12px;
- color: var(--bex-text-secondary, #888888);
- }
- /* 浅色主题 */
- html.theme-light .reward-users-overlay {
- background: rgba(0, 0, 0, 0.3);
- }
- html.theme-light .reward-users-panel {
- background: #ffffff;
- }
- html.theme-light .reward-users-panel .panel-drag-handle {
- background: #d0d0d0;
- }
- html.theme-light .reward-users-panel .reward-users-title {
- color: #0e0e0e;
- }
- html.theme-light .reward-users-item .reward-users-name {
- color: #0e0e0e;
- }
- html.theme-light .reward-users-item + .reward-users-item::before {
- border-color: #e5e5e5;
- }
- /* ===== Toast ===== */
- .toast {
- position: fixed;
- left: 50%;
- bottom: 80px;
- transform: translateX(-50%);
- background: rgba(0, 0, 0, 0.85);
- color: #ffffff;
- padding: 10px 20px;
- border-radius: 20px;
- font-size: 14px;
- z-index: 2000;
- opacity: 0;
- transition: opacity 0.3s;
- pointer-events: none;
- }
- .toast.show {
- opacity: 1;
- }
- /* ===== 浅色主题 ===== */
- /* 页面背景 */
- html.theme-light .container {
- background: #ffffff;
- }
- /* 面板背景 */
- html.theme-light .modal-panel {
- background: #ffffff;
- }
- html.theme-light .panel-drag-handle {
- background: #e6e6e6;
- }
- /* 主按钮:深色底白字 */
- html.theme-light .btn-primary {
- background: #121212;
- color: #ffffff;
- }
- /* 描边按钮:浅灰边框深色字 */
- html.theme-light .btn-outline {
- border-color: #e8e8e8;
- color: #121212;
- }
- /* 错误重试按钮 */
- html.theme-light .error-retry {
- background: #121212;
- color: #ffffff;
- }
- /* ===== 居中弹窗卡片 ===== */
- html.theme-light .modal-card {
- background: #ffffff;
- border-color: #e8e8e8;
- }
- html.theme-light .modal-card-title,
- html.theme-light .modal-amount-text .white {
- color: #121212;
- }
- html.theme-light .modal-amount-card {
- background: #f3f3f3;
- }
- html.theme-light .modal-card-btn {
- background: #121212;
- color: #ffffff;
- }
- html.theme-light .modal-card-desc {
- color: #888888;
- }
- /* ===== 操作区(纵向卡片列表) ===== */
- html.theme-light .action-item {
- background: #ffffff;
- border-color: #e8e8e8;
- }
- html.theme-light .action-item:hover {
- background: #f5f5f5;
- }
- /* ===== 统一面板 Tab ===== */
- html.theme-light .panel-tab-bar {
- border-bottom-color: #efefef;
- }
- html.theme-light .panel-tab {
- color: #888888;
- }
- html.theme-light .panel-tab.active {
- color: #121212;
- }
- html.theme-light .panel-tab.active::after {
- background: #fd6f23;
- }
- /* ===== 邀请列表 ===== */
- html.theme-light .stat-card {
- background: #ffffff;
- border: 1px solid #e8e8e8;
- }
- html.theme-light .stat-label {
- color: #888888;
- }
- html.theme-light .stat-value {
- color: #121212;
- }
- html.theme-light .stat-value.brand {
- color: #fd6f23;
- }
- html.theme-light .stat-unit,
- html.theme-light .stat-unit.brand {
- color: #888888;
- }
- /* 筛选标签 */
- html.theme-light .filter-tab {
- color: #888888;
- }
- html.theme-light .filter-tab.active {
- background: rgba(18, 18, 18, 0.06);
- color: #121212;
- }
- /* 列表项 */
- html.theme-light .list-item-avatar {
- background: #7e7e7e;
- border-color: #d0d0d0;
- }
- html.theme-light .list-item-name {
- color: #121212;
- }
- html.theme-light .list-item-time {
- color: #888888;
- }
- html.theme-light .list-item-divider {
- background: #efefef;
- }
- /* 状态标签 */
- html.theme-light .status-valid {
- color: #1a9c5a;
- }
- html.theme-light .status-pending {
- color: #d45a1a;
- }
- html.theme-light .status-claimed {
- color: #888888;
- }
- /* ===== 奖励记录 ===== */
- html.theme-light .reward-amount-text .white {
- color: #121212;
- }
- html.theme-light .reward-date {
- color: #888888;
- }
- html.theme-light .reward-status-text {
- color: #888888;
- }
- html.theme-light .reward-status-text.pending {
- color: #fd6f23;
- }
- /* ===== 邀请分享弹窗 ===== */
- html.theme-light .invite-sheet-title {
- color: #121212;
- }
- html.theme-light .invite-sheet-card {
- background: #f3f3f3;
- }
- html.theme-light .invite-sheet-card-title {
- color: #121212;
- }
- html.theme-light .invite-sheet-card-desc {
- color: #888888;
- }
- html.theme-light .invite-sheet-link {
- color: #888888;
- }
- html.theme-light .invite-sheet-link.secondary {
- color: #888888;
- }
- html.theme-light .invite-sheet-copy-btn svg path {
- stroke: #121212;
- }
- /* ===== 分割线 ===== */
- html.theme-light .divider-line,
- html.theme-light .list-item-divider {
- background: #efefef;
- }
- /* ===== Ticker ===== */
- html.theme-light .recent-ticker {
- background: rgba(0, 0, 0, 0.03);
- }
- html.theme-light .ticker-avatar {
- border-color: #d0d0d0;
- }
- html.theme-light .ticker-item {
- color: #888888;
- }
|