454 lines
42 KiB
HTML
454 lines
42 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#ffffff" />
|
|
<meta name="description" content="X 风格的可编辑中文社交时间线。" />
|
|
<title>X · 正在发生</title>
|
|
<style>
|
|
:root {
|
|
color-scheme: light;
|
|
--bg: #fff;
|
|
--surface: #fff;
|
|
--surface-hover: #f7f8f8;
|
|
--soft: #eff3f4;
|
|
--text: #0f1419;
|
|
--muted: #536471;
|
|
--border: #eff3f4;
|
|
--border-strong: #cfd9de;
|
|
--accent: #1d9bf0;
|
|
--accent-hover: #1a8cd8;
|
|
--accent-soft: #e8f5fd;
|
|
--danger: #f91880;
|
|
--success: #00ba7c;
|
|
--focus: 0 0 0 3px rgba(29, 155, 240, .28);
|
|
--nav-w: 258px;
|
|
--feed-w: 600px;
|
|
--aside-w: 350px;
|
|
}
|
|
[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
--bg: #000;
|
|
--surface: #000;
|
|
--surface-hover: #080808;
|
|
--soft: #16181c;
|
|
--text: #e7e9ea;
|
|
--muted: #71767b;
|
|
--border: #2f3336;
|
|
--border-strong: #536471;
|
|
--accent-soft: #031b2b;
|
|
--focus: 0 0 0 3px rgba(29, 155, 240, .34);
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
body {
|
|
margin: 0; min-width: 320px; background: var(--bg); color: var(--text);
|
|
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
font-size: 16px; line-height: 1.45;
|
|
}
|
|
body.modal-open { overflow: hidden; }
|
|
button, input, textarea { font: inherit; }
|
|
button { color: inherit; }
|
|
button, a { -webkit-tap-highlight-color: transparent; }
|
|
button, [role="button"] { cursor: pointer; touch-action: manipulation; }
|
|
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus); }
|
|
svg { display: block; }
|
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
|
.skip-link { position: fixed; z-index: 500; left: 12px; top: calc(var(--df-generated-header-height, 0px) + 8px); padding: 10px 16px; border-radius: 999px; color: #fff; background: var(--accent); transform: translateY(-160%); text-decoration: none; }
|
|
.skip-link:focus { transform: translateY(0); }
|
|
|
|
.app { width: min(1265px, 100%); min-height: 100dvh; margin: 0 auto; display: grid; grid-template-columns: var(--nav-w) var(--feed-w) var(--aside-w); gap: 28px; }
|
|
.left-rail { position: relative; }
|
|
.left-fixed { position: fixed; top: var(--df-generated-header-height, 0px); width: var(--nav-w); height: calc(100dvh - var(--df-generated-header-height, 0px)); padding: 8px 18px 12px 4px; display: flex; flex-direction: column; }
|
|
.brand { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--text); text-decoration: none; transition: background .18s; }
|
|
.brand:hover { background: var(--soft); }
|
|
.brand svg { width: 30px; height: 30px; }
|
|
.primary-nav { display: grid; gap: 4px; margin-top: 5px; }
|
|
.nav-item { width: fit-content; min-height: 50px; padding: 0 17px 0 12px; border-radius: 999px; display: flex; align-items: center; gap: 19px; color: var(--text); text-decoration: none; font-size: 20px; transition: background .18s; }
|
|
.nav-item:hover { background: var(--soft); }
|
|
.nav-item.active { font-weight: 750; }
|
|
.nav-item svg { width: 26px; height: 26px; }
|
|
.nav-item.active svg { fill: currentColor; }
|
|
.nav-badge { min-width: 18px; height: 18px; margin-left: -26px; margin-top: -25px; padding: 0 5px; display: grid; place-items: center; border: 2px solid var(--bg); border-radius: 9px; color: #fff; background: var(--accent); font-size: 10px; font-weight: 800; }
|
|
.post-cta { width: 218px; height: 52px; margin-top: 14px; border: 0; border-radius: 999px; color: #fff; background: var(--accent); font-size: 17px; font-weight: 750; box-shadow: 0 8px 18px rgba(29,155,240,.18); transition: background .18s, transform .18s; }
|
|
.post-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
|
|
.account-switcher { min-height: 64px; margin-top: auto; padding: 9px 10px; border: 0; border-radius: 999px; display: flex; align-items: center; gap: 10px; background: transparent; text-align: left; transition: background .18s; }
|
|
.account-switcher:hover { background: var(--soft); }
|
|
.account-copy { min-width: 0; flex: 1; }
|
|
.account-copy strong, .account-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.account-copy span { color: var(--muted); font-size: 14px; }
|
|
.account-switcher > svg { width: 19px; height: 19px; }
|
|
|
|
.avatar { --a: #4f46e5; --b: #a855f7; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--a), var(--b)); font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
|
|
.avatar-sm { width: 38px; height: 38px; font-size: 13px; }
|
|
.avatar-lg { width: 48px; height: 48px; }
|
|
|
|
.feed { min-width: 0; border-inline: 1px solid var(--border); }
|
|
.feed-header { position: sticky; z-index: 30; top: var(--df-generated-header-height, 0px); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
|
|
.mobile-title { display: none; height: 52px; padding: 0 16px; align-items: center; justify-content: space-between; }
|
|
.mobile-title .brand { width: 42px; height: 42px; }
|
|
.tabs { height: 53px; display: grid; grid-template-columns: 1fr 1fr; }
|
|
.tab { position: relative; border: 0; background: transparent; color: var(--muted); font-size: 15px; font-weight: 550; transition: background .18s; }
|
|
.tab:hover { background: color-mix(in srgb, var(--soft) 70%, transparent); }
|
|
.tab.active { color: var(--text); font-weight: 750; }
|
|
.tab.active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 58px; height: 4px; border-radius: 2px; background: var(--accent); transform: translateX(-50%); }
|
|
|
|
.composer { padding: 12px 16px 8px; display: grid; grid-template-columns: 48px 1fr; gap: 12px; border-bottom: 1px solid var(--border); }
|
|
.composer-main { min-width: 0; }
|
|
.audience-button { min-height: 44px; margin-bottom: 3px; padding: 1px 11px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--accent); background: transparent; font-size: 13px; font-weight: 750; }
|
|
.composer textarea { width: 100%; min-height: 74px; max-height: 220px; padding: 8px 0; resize: vertical; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 20px; line-height: 1.45; }
|
|
.composer textarea::placeholder { color: var(--muted); }
|
|
.reply-permission { display: none; width: fit-content; align-items: center; gap: 6px; min-height: 28px; margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 650; }
|
|
.reply-permission.visible { display: flex; }
|
|
.reply-permission svg { width: 14px; height: 14px; }
|
|
.composer-footer { min-height: 42px; padding-top: 8px; border-top: 1px solid transparent; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.composer-tools { display: flex; align-items: center; gap: 1px; }
|
|
.tool-button { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: transparent; transition: background .18s; }
|
|
.tool-button:hover { background: var(--accent-soft); }
|
|
.tool-button svg { width: 19px; height: 19px; }
|
|
.composer-submit { display: flex; align-items: center; gap: 10px; }
|
|
.char-counter { width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--border-strong); border-radius: 50%; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
|
|
.char-counter.warn { color: #f4212e; border-color: #f4212e; }
|
|
.send-button { min-width: 74px; height: 44px; padding: 0 17px; border: 0; border-radius: 999px; color: #fff; background: var(--accent); font-weight: 750; transition: opacity .18s, background .18s; }
|
|
.send-button:hover:not(:disabled) { background: var(--accent-hover); }
|
|
.send-button:disabled { opacity: .5; cursor: not-allowed; }
|
|
|
|
.timeline-status { display: none; min-height: 48px; border-bottom: 1px solid var(--border); color: var(--accent); background: var(--surface); font-size: 14px; font-weight: 600; text-align: center; }
|
|
.timeline-status.show { display: grid; place-items: center; }
|
|
.post { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 12px 16px 5px; border-bottom: 1px solid var(--border); transition: background .15s; }
|
|
.post:hover { background: var(--surface-hover); }
|
|
.post-main { min-width: 0; }
|
|
.post-head { min-width: 0; display: flex; align-items: center; gap: 4px; line-height: 1.25; }
|
|
.post-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.verified { width: 16px; height: 16px; flex: 0 0 auto; color: var(--accent); }
|
|
.handle, .dot, time { color: var(--muted); font-size: 15px; white-space: nowrap; }
|
|
.more { width: 44px; height: 44px; margin: -12px -8px -12px auto; flex: 0 0 auto; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: transparent; transition: color .18s, background .18s; }
|
|
.more:hover { color: var(--accent); background: var(--accent-soft); }
|
|
.more svg { width: 18px; height: 18px; }
|
|
.post-text { margin: 2px 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
.post-text a { color: var(--accent); text-decoration: none; }
|
|
.post-text a:hover { text-decoration: underline; }
|
|
.context-label { margin: -4px 0 8px; color: var(--muted); font-size: 13px; }
|
|
.post-source { margin: 2px 0 8px; font-size: 12px; line-height: 1.45; }
|
|
.post-source a { color: var(--accent); font-weight: 700; text-decoration: none; }
|
|
.post-media { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--soft); }
|
|
.post-media svg { width: 100%; height: 100%; }
|
|
.media-caption { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 6px; color: #fff; background: rgba(0,0,0,.68); font-size: 11px; }
|
|
.quote-post { margin: 8px 0 5px; padding: 12px; border: 1px solid var(--border-strong); border-radius: 16px; }
|
|
.quote-post:hover { background: color-mix(in srgb, var(--soft) 45%, transparent); }
|
|
.quote-author { display: flex; align-items: center; gap: 6px; font-size: 14px; }
|
|
.quote-post p { margin: 7px 0 0; font-size: 15px; }
|
|
.post-actions { max-width: 440px; height: 44px; margin-top: 5px; display: flex; justify-content: space-between; align-items: center; }
|
|
.action { min-width: 48px; height: 44px; padding: 0; border: 0; border-radius: 999px; display: flex; align-items: center; gap: 5px; color: var(--muted); background: transparent; font-size: 12px; transition: color .18s; }
|
|
.action-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .18s; }
|
|
.action svg { width: 18px; height: 18px; }
|
|
.action:hover { color: var(--accent); }
|
|
.action:hover .action-icon { background: var(--accent-soft); }
|
|
.action.repost:hover, .action.reposted { color: var(--success); }
|
|
.action.repost:hover .action-icon { background: color-mix(in srgb, var(--success) 12%, transparent); }
|
|
.action.like:hover, .action.liked { color: var(--danger); }
|
|
.action.like:hover .action-icon { background: color-mix(in srgb, var(--danger) 12%, transparent); }
|
|
.action.liked svg, .action.bookmarked svg { fill: currentColor; }
|
|
.bookmark-action { min-width: 44px; }
|
|
.post-menu { position: absolute; z-index: 20; top: 40px; right: 12px; width: 220px; padding: 7px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 32px rgba(0,0,0,.16); display: none; }
|
|
.post-menu.open { display: block; }
|
|
.post-menu button { width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; display: flex; align-items: center; gap: 10px; background: transparent; text-align: left; }
|
|
.post-menu button:hover { background: var(--soft); }
|
|
.post-menu svg { width: 18px; height: 18px; }
|
|
.reply-section { display: none; grid-column: 2; padding: 7px 0 9px; }
|
|
.reply-section.open { display: block; }
|
|
.reply-tools { min-height: 38px; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
.reply-tools[hidden] { display: none; }
|
|
.reply-summary { font-size: 14px; }
|
|
.reply-tools > div { display: flex; gap: 4px; }
|
|
.reply-sort { padding: 6px 10px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-weight: 700; }
|
|
.reply-sort:hover, .reply-sort.active { color: var(--accent); background: var(--accent-soft); }
|
|
.reply-list { display: grid; gap: 0; margin-bottom: 8px; }
|
|
.reply-item { padding: 10px 0; display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid var(--border); }
|
|
.reply-content { min-width: 0; flex: 1; }
|
|
.reply-content header { min-height: 20px; display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
|
|
.reply-content header strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
|
|
.reply-content header svg { width: 15px; height: 15px; flex: 0 0 auto; }
|
|
.reply-content p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
|
|
.reply-meta { min-height: 24px; margin-top: 3px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
|
|
.reply-meta button { padding: 0; border: 0; color: inherit; background: transparent; font-weight: 700; }
|
|
.reply-meta button:hover { color: var(--accent); }
|
|
.reply-pagination { margin: 0 0 9px 50px; display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.reply-pagination button { min-height: 34px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--accent); background: var(--surface); font-weight: 700; }
|
|
.reply-pagination button:hover { background: var(--accent-soft); }
|
|
.reply-pagination button[hidden] { display: none; }
|
|
.reply-form { display: flex; gap: 8px; }
|
|
.reply-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text); background: var(--surface); font-size: 16px; }
|
|
.reply-send { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); }
|
|
.reply-send svg { width: 18px; height: 18px; }
|
|
.empty-state { display: none; padding: 48px 24px; border-bottom: 1px solid var(--border); text-align: center; }
|
|
.empty-state svg { width: 38px; height: 38px; margin: 0 auto 12px; color: var(--muted); }
|
|
.empty-state h2 { margin: 0 0 5px; font-size: 24px; }
|
|
.empty-state p { margin: 0; color: var(--muted); }
|
|
|
|
.right-rail { min-width: 0; }
|
|
.right-fixed { position: sticky; top: var(--df-generated-header-height, 0px); max-height: calc(100dvh - var(--df-generated-header-height, 0px)); padding-top: 5px; overflow-y: auto; scrollbar-width: none; }
|
|
.right-fixed::-webkit-scrollbar { display: none; }
|
|
.search-box { position: sticky; z-index: 20; top: 0; padding: 0 0 10px; background: var(--bg); }
|
|
.search-label { position: relative; display: block; }
|
|
.search-label svg { position: absolute; left: 17px; top: 50%; width: 18px; height: 18px; color: var(--muted); transform: translateY(-50%); }
|
|
.search-input { width: 100%; height: 44px; padding: 0 16px 0 47px; border: 1px solid transparent; border-radius: 999px; color: var(--text); background: var(--soft); outline: 0; font-size: 16px; }
|
|
.search-input:focus { border-color: var(--accent); background: var(--surface); }
|
|
.side-card { margin: 7px 0 16px; overflow: hidden; border-radius: 16px; background: var(--soft); }
|
|
.side-card h2 { margin: 0; padding: 12px 16px 6px; font-size: 20px; line-height: 1.25; }
|
|
.trend { min-height: 76px; padding: 10px 16px; display: block; color: inherit; text-decoration: none; transition: background .15s; }
|
|
.trend:hover { background: color-mix(in srgb, var(--muted) 8%, transparent); }
|
|
.trend-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
|
|
.trend-head svg { width: 16px; height: 16px; }
|
|
.trend strong { display: block; margin: 2px 0; font-size: 15px; }
|
|
.trend small { color: var(--muted); }
|
|
.show-more { display: block; min-height: 48px; padding: 14px 16px; color: var(--accent); text-decoration: none; font-size: 14px; }
|
|
.show-more:hover { background: color-mix(in srgb, var(--muted) 8%, transparent); }
|
|
.follow-row { min-height: 66px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
|
|
.follow-row:hover { background: color-mix(in srgb, var(--muted) 8%, transparent); }
|
|
.follow-copy { min-width: 0; flex: 1; }
|
|
.follow-copy strong, .follow-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.follow-copy span { color: var(--muted); font-size: 14px; }
|
|
.follow-button { min-width: 72px; height: 44px; padding: 0 15px; border: 1px solid var(--text); border-radius: 999px; color: var(--bg); background: var(--text); font-size: 14px; font-weight: 750; }
|
|
.follow-button.following { color: var(--text); background: transparent; }
|
|
.right-footer { padding: 0 13px 24px; color: var(--muted); font-size: 12px; line-height: 1.7; }
|
|
.right-footer a { margin-right: 8px; color: inherit; text-decoration: none; }
|
|
.right-footer a:hover { text-decoration: underline; }
|
|
|
|
.mobile-nav { display: none; }
|
|
.floating-compose { display: none; }
|
|
.modal-backdrop { position: fixed; z-index: 100; inset: 0; padding: 20px; display: grid; place-items: start center; background: rgba(91,112,131,.42); opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; }
|
|
.modal-backdrop.open { opacity: 1; visibility: visible; }
|
|
.compose-modal { width: min(600px, 100%); min-height: 270px; margin-top: 5vh; padding: 10px 16px 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 20px 70px rgba(0,0,0,.22); transform: translateY(-8px); transition: transform .2s; }
|
|
.modal-backdrop.open .compose-modal { transform: translateY(0); }
|
|
.modal-top { min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
|
|
.close-button { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; }
|
|
.close-button:hover { background: var(--soft); }
|
|
.close-button svg { width: 20px; height: 20px; }
|
|
.drafts { border: 0; padding: 10px; color: var(--accent); background: transparent; font-weight: 700; }
|
|
.modal-compose-row { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding-top: 8px; }
|
|
.modal-textarea { width: 100%; min-height: 115px; padding: 7px 0; resize: none; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 20px; line-height: 1.5; }
|
|
.modal-footer { margin-left: 60px; padding-top: 10px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
|
|
.toast { position: fixed; z-index: 200; left: 50%; bottom: 25px; padding: 10px 17px; border-radius: 6px; color: #fff; background: var(--accent); box-shadow: 0 8px 28px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .18s, visibility .18s, transform .18s; }
|
|
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }
|
|
|
|
@media (max-width: 1120px) {
|
|
:root { --nav-w: 78px; --aside-w: 330px; }
|
|
.app { width: min(1040px, 100%); gap: 18px; }
|
|
.left-fixed { width: var(--nav-w); padding-right: 8px; align-items: center; }
|
|
.nav-item { width: 52px; padding: 0; justify-content: center; }
|
|
.nav-item span, .account-copy, .account-switcher > svg { display: none; }
|
|
.post-cta { width: 52px; height: 52px; font-size: 0; }
|
|
.post-cta::after { content: "+"; font-size: 28px; font-weight: 400; }
|
|
.account-switcher { padding: 6px; }
|
|
}
|
|
@media (max-width: 960px) {
|
|
:root { --feed-w: min(600px, calc(100vw - 100px)); }
|
|
.app { grid-template-columns: var(--nav-w) var(--feed-w); width: fit-content; gap: 0; }
|
|
.right-rail { display: none; }
|
|
}
|
|
@media (max-width: 680px) {
|
|
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
|
|
.app { display: block; width: 100%; }
|
|
.left-rail { display: none; }
|
|
.feed { width: 100%; border-inline: 0; }
|
|
.mobile-title { display: flex; }
|
|
.mobile-title strong { font-size: 18px; }
|
|
.desktop-composer { display: none; }
|
|
.post { padding-inline: 12px; }
|
|
.post-head { flex-wrap: nowrap; }
|
|
.handle { max-width: 95px; overflow: hidden; text-overflow: ellipsis; }
|
|
.mobile-nav { position: fixed; z-index: 60; inset: auto 0 0; height: calc(58px + env(safe-area-inset-bottom)); padding: 3px 10px max(3px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(15px); }
|
|
.mobile-nav button { min-height: 50px; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--muted); background: transparent; font-size: 10px; }
|
|
.mobile-nav button.active { color: var(--text); }
|
|
.mobile-nav svg { width: 22px; height: 22px; }
|
|
.floating-compose { position: fixed; z-index: 55; right: 18px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); box-shadow: 0 8px 24px rgba(29,155,240,.36); }
|
|
.floating-compose svg { width: 23px; height: 23px; }
|
|
.compose-modal { min-height: 100dvh; margin: 0; border-radius: 0; }
|
|
.modal-backdrop { padding: 0; }
|
|
.post-actions { max-width: none; }
|
|
.action { min-width: 40px; }
|
|
.action-count { font-size: 11px; }
|
|
}
|
|
@media (max-width: 410px) {
|
|
.post { grid-template-columns: 42px 1fr; gap: 8px; }
|
|
.avatar-lg { width: 42px; height: 42px; }
|
|
.post-head { gap: 3px; }
|
|
.handle { max-width: 72px; }
|
|
.post-text { font-size: 15px; }
|
|
.action.views { display: none; }
|
|
.modal-footer { margin-left: 54px; }
|
|
}
|
|
|
|
.settings-trigger { position: fixed; z-index: 90; top: calc(var(--df-generated-header-height, 0px) + 16px); right: 18px; width: 46px; height: 46px; border: 1px solid var(--border-strong); border-radius: 50%; display: grid; place-items: center; color: var(--text); background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 8px 24px rgba(15,20,25,.14); backdrop-filter: blur(12px); transition: transform .18s, background .18s; }
|
|
.settings-trigger:hover { background: var(--soft); transform: rotate(12deg); }
|
|
.settings-trigger svg { width: 21px; height: 21px; }
|
|
.settings-backdrop { position: fixed; z-index: 300; inset: 0; padding: 28px; display: grid; place-items: center; background: rgba(15,20,25,.72); opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; }
|
|
.settings-backdrop.open { opacity: 1; visibility: visible; }
|
|
.settings-panel { width: min(1180px, 100%); height: min(780px, calc(100dvh - 56px)); overflow: hidden; display: grid; grid-template-rows: auto minmax(0,1fr) auto; border: 1px solid #536471; border-radius: 18px; color: #e7e9ea; background: #000; box-shadow: 0 32px 100px rgba(0,0,0,.54); }
|
|
.settings-head { min-height: 82px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #2f3336; }
|
|
.settings-kicker { color: #1d9bf0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
|
|
.settings-head h2 { margin: 2px 0 0; font-size: 26px; }
|
|
.settings-close { width: 44px; height: 44px; border: 1px solid #536471; border-radius: 12px; display: grid; place-items: center; color: #e7e9ea; background: #0f1419; }
|
|
.settings-close:hover { background: #16181c; }
|
|
.settings-close svg { width: 22px; height: 22px; }
|
|
.settings-body { min-height: 0; display: grid; grid-template-columns: 250px minmax(0,1fr); }
|
|
.module-tabs { min-height: 0; padding: 18px; overflow-y: auto; border-right: 1px solid #2f3336; background: #080808; }
|
|
.module-tabs h3 { margin: 0 0 12px; color: #71767b; font-size: 13px; font-weight: 650; }
|
|
.module-tab { width: 100%; min-height: 54px; margin-bottom: 8px; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #e7e9ea; background: transparent; text-align: left; }
|
|
.module-tab:hover { background: #16181c; }
|
|
.module-tab.active { border-color: #1d9bf0; color: #fff; background: #031b2b; }
|
|
.module-tab small { color: #71767b; font-size: 11px; }
|
|
.editor-pane { min-width: 0; min-height: 0; padding: 18px 20px 16px; display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 10px; }
|
|
.editor-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
|
|
.editor-title strong { font-size: 17px; }
|
|
.editor-title span { color: #71767b; font-size: 13px; }
|
|
.json-editor { width: 100%; min-height: 0; padding: 16px; resize: none; border: 1px solid #2f3336; border-radius: 12px; outline: 0; color: #d6f1ff; background: #05090d; font: 14px/1.62 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; tab-size: 2; }
|
|
.json-editor:focus { border-color: #1d9bf0; box-shadow: 0 0 0 3px rgba(29,155,240,.18); }
|
|
.editor-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #71767b; font-size: 12px; }
|
|
.json-status { font-weight: 750; }
|
|
.json-status.valid { color: #00ba7c; }
|
|
.json-status.invalid { color: #f4212e; }
|
|
.settings-actions { min-height: 76px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #2f3336; }
|
|
.action-group { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
.settings-button { min-height: 44px; padding: 0 17px; border: 1px solid #536471; border-radius: 999px; color: #e7e9ea; background: transparent; font-weight: 700; }
|
|
.settings-button:hover { background: #16181c; }
|
|
.settings-button.primary { border-color: #1d9bf0; color: #fff; background: #1d9bf0; }
|
|
.settings-button.primary:hover { background: #1a8cd8; }
|
|
.settings-button.danger { color: #f4212e; }
|
|
@media (max-width: 760px) {
|
|
.settings-trigger { top: calc(var(--df-generated-header-height, 0px) + 7px); right: 60px; width: 40px; height: 40px; }
|
|
.settings-backdrop { padding: 0; }
|
|
.settings-panel { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
|
|
.settings-head { min-height: 68px; padding: 12px 14px; }
|
|
.settings-head h2 { font-size: 21px; }
|
|
.settings-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); }
|
|
.module-tabs { padding: 10px 12px 2px; display: flex; gap: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #2f3336; }
|
|
.module-tabs h3 { display: none; }
|
|
.module-tab { width: auto; min-width: max-content; min-height: 40px; margin: 0 0 8px; padding: 6px 10px; }
|
|
.module-tab small { display: none; }
|
|
.editor-pane { padding: 12px; }
|
|
.settings-actions { min-height: 70px; padding: 10px 12px; }
|
|
.settings-button { min-height: 42px; padding: 0 13px; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
|
|
}
|
|
.skip-link { transform: translateY(calc(-100% - var(--df-generated-header-height, 0px) - 24px)); }
|
|
.skip-link:focus { transform: translateY(0); }
|
|
.modal-backdrop { z-index: 1200; }
|
|
.settings-backdrop { z-index: 1300; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<a href="#mainFeed" class="skip-link">跳到时间线</a>
|
|
<svg aria-hidden="true" width="0" height="0" style="position:absolute">
|
|
<symbol id="i-x-brand" viewBox="0 0 24 24"><path d="M4.2 3h4.9l4.1 5.5L18 3h2l-5.9 6.9L21 21h-4.9l-4.5-6-5.2 6h-2l6.3-7.4L4.2 3Zm4 1.7 8.8 14.6h2.1L10.3 4.7H8.2Z" fill="currentColor"/></symbol>
|
|
<symbol id="i-settings" viewBox="0 0 24 24"><path d="M12 15.2a3.2 3.2 0 1 0 0-6.4 3.2 3.2 0 0 0 0 6.4Z" fill="none" stroke="currentColor" stroke-width="2"/><path d="M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.86 2.86-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21H9.55v-.09A1.7 1.7 0 0 0 8.5 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06-2.86-2.86.06-.06A1.7 1.7 0 0 0 4.1 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H2.3V9.55h.09A1.7 1.7 0 0 0 4.1 8.5a1.7 1.7 0 0 0-.34-1.88l-.06-.06L6.56 3.7l.06.06A1.7 1.7 0 0 0 8.5 4.1a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V2.3h4.05v.09A1.7 1.7 0 0 0 15 4.1a1.7 1.7 0 0 0 1.88-.34l.06-.06 2.86 2.86-.06.06A1.7 1.7 0 0 0 19.4 8.5a1.7 1.7 0 0 0 .6 1c.3.26.7.4 1.1.4h.1v4.05h-.09A1.7 1.7 0 0 0 19.4 15Z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-home" viewBox="0 0 24 24"><path d="m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1Z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-search" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7" fill="none" stroke="currentColor" stroke-width="2"/><path d="m16.2 16.2 4.2 4.2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-bell" viewBox="0 0 24 24"><path d="M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9ZM10 21h4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-message" viewBox="0 0 24 24"><path d="M4 5h16v12H8l-4 4Z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-users" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm13 10v-2a4 4 0 0 0-3-3.87" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-bookmark" viewBox="0 0 24 24"><path d="M6 3h12a1 1 0 0 1 1 1v17l-7-4-7 4V4a1 1 0 0 1 1-1Z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-user" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4" fill="none" stroke="currentColor" stroke-width="2"/><path d="M4 21a8 8 0 0 1 16 0" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-more" viewBox="0 0 24 24"><circle cx="5" cy="12" r="1.7" fill="currentColor"/><circle cx="12" cy="12" r="1.7" fill="currentColor"/><circle cx="19" cy="12" r="1.7" fill="currentColor"/></symbol>
|
|
<symbol id="i-image" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2" fill="none" stroke="currentColor" stroke-width="2"/><circle cx="8.5" cy="9" r="1.5" fill="currentColor"/><path d="m4 17 5-5 4 4 2-2 5 4" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-gif" viewBox="0 0 24 24"><rect x="3" y="5" width="18" height="14" rx="2" fill="none" stroke="currentColor" stroke-width="2"/><path d="M8.5 10H7a2 2 0 0 0 0 4h2v-2H7.7m4.3-2v4m3-4h3m-3 4v-4" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-poll" viewBox="0 0 24 24"><path d="M5 20V10m7 10V4m7 16v-7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-smile" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="2"/><path d="M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-calendar" viewBox="0 0 24 24"><rect x="3" y="5" width="18" height="16" rx="2" fill="none" stroke="currentColor" stroke-width="2"/><path d="M16 3v4M8 3v4M3 11h18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-globe" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="2"/><path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18" fill="none" stroke="currentColor" stroke-width="1.5"/></symbol>
|
|
<symbol id="i-comment" viewBox="0 0 24 24"><path d="M21 12a8.5 8.5 0 0 1-9 8.5 9 9 0 0 1-3.7-.8L4 21l1.2-3.8A8.5 8.5 0 1 1 21 12Z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-repost" viewBox="0 0 24 24"><path d="m17 3 4 4-4 4M3 7h18M7 21l-4-4 4-4m14 4H3" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-heart" viewBox="0 0 24 24"><path d="M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8l1.1 1.1L12 21l7.8-7.5 1.1-1.1a5.5 5.5 0 0 0-.1-7.8Z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-chart" viewBox="0 0 24 24"><path d="M4 20V10m5 10V4m6 16v-7m5 7V7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-share" viewBox="0 0 24 24"><path d="M12 16V3m0 0L7 8m5-5 5 5M5 13v7h14v-7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-verified" viewBox="0 0 24 24"><path d="m12 2 2.2 2.1 3-.4.9 2.9 2.7 1.4-1.3 2.8 1.3 2.8-2.7 1.4-.9 2.9-3-.4L12 22l-2.2-2.1-3 .4-.9-2.9L3.2 16l1.3-2.8-1.3-2.8L5.9 9l.9-2.9 3 .4Z" fill="currentColor"/><path d="m8.5 12 2.2 2.2 4.8-5" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-pen" viewBox="0 0 24 24"><path d="m4 20 4.5-1 10.8-10.8a2.1 2.1 0 0 0-3-3L5.5 16Zm9.8-12.3 3 3M13 20h7" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-close" viewBox="0 0 24 24"><path d="m6 6 12 12M18 6 6 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="2"/><path d="M12 2v2m0 16v2M4.9 4.9l1.5 1.5m11.2 11.2 1.5 1.5M2 12h2m16 0h2M4.9 19.1l1.5-1.5M17.6 6.4l1.5-1.5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></symbol>
|
|
<symbol id="i-moon" viewBox="0 0 24 24"><path d="M21 12.8A9 9 0 1 1 11.2 3 7 7 0 0 0 21 12.8Z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></symbol>
|
|
<symbol id="i-send" viewBox="0 0 24 24"><path d="m22 2-7 20-4-9-9-4Z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/><path d="M22 2 11 13" fill="none" stroke="currentColor" stroke-width="2"/></symbol>
|
|
<symbol id="i-volume-off" viewBox="0 0 24 24"><path d="M11 5 6 9H2v6h4l5 4Zm4 5 6 6m0-6-6 6" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol>
|
|
</svg>
|
|
|
|
<div class="app">
|
|
<aside class="left-rail" aria-label="主导航">
|
|
<div class="left-fixed">
|
|
<a class="brand" id="brandLink" href="#mainFeed" aria-label="X 首页"><svg><use href="#i-x-brand"/></svg></a>
|
|
<nav class="primary-nav" id="primaryNav"></nav>
|
|
<button class="post-cta" id="postCta" data-open-modal>发布</button>
|
|
<button class="account-switcher" id="accountSwitcher" aria-label="账户菜单"></button>
|
|
</div>
|
|
</aside>
|
|
|
|
<main class="feed" id="mainFeed">
|
|
<h1 class="sr-only" id="timelineHeading">X 首页时间线</h1>
|
|
<header class="feed-header">
|
|
<div class="mobile-title"><span id="mobileUser"></span><strong id="mobileTitle">首页</strong><button class="tool-button" id="mobileTheme" aria-label="切换主题"><svg><use href="#i-moon"/></svg></button></div>
|
|
<div class="tabs" id="feedTabs" role="tablist"></div>
|
|
</header>
|
|
|
|
<section class="composer desktop-composer" aria-label="发布动态">
|
|
<span id="composerAvatar"></span>
|
|
<div class="composer-main">
|
|
<button class="audience-button" id="composerAudience">所有人</button>
|
|
<label class="sr-only" for="composerText">动态内容</label>
|
|
<textarea id="composerText" maxlength="280" placeholder="有什么新鲜事?"></textarea>
|
|
<div class="reply-permission" id="replyPermission"><svg><use href="#i-globe"/></svg><span></span></div>
|
|
<div class="composer-footer">
|
|
<div class="composer-tools"><button class="tool-button" aria-label="添加图片"><svg><use href="#i-image"/></svg></button><button class="tool-button" aria-label="添加 GIF"><svg><use href="#i-gif"/></svg></button><button class="tool-button" aria-label="添加投票"><svg><use href="#i-poll"/></svg></button><button class="tool-button" aria-label="添加表情"><svg><use href="#i-smile"/></svg></button><button class="tool-button" aria-label="定时发布"><svg><use href="#i-calendar"/></svg></button></div>
|
|
<div class="composer-submit"><span class="char-counter" id="charCounter">280</span><button class="send-button" id="publishButton" disabled>发布</button></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<button class="timeline-status" id="timelineStatus">已切换时间线</button>
|
|
<section id="posts" aria-label="动态列表"></section>
|
|
<section class="empty-state" id="emptyState"><svg><use href="#i-search"/></svg><h2>没有找到结果</h2><p>换一个关键词,看看正在发生的其他事情。</p></section>
|
|
</main>
|
|
|
|
<aside class="right-rail" aria-label="趋势与推荐">
|
|
<div class="right-fixed">
|
|
<div class="search-box"><label class="search-label"><span class="sr-only">搜索动态</span><svg><use href="#i-search"/></svg><input id="searchInput" class="search-input" type="search" placeholder="搜索" autocomplete="off" /></label></div>
|
|
<section class="side-card" id="trendsCard"></section>
|
|
<section class="side-card" id="recommendationsCard"></section>
|
|
<button class="follow-button following" id="themeToggle" style="margin:0 12px 18px;min-width:112px">切换深色模式</button>
|
|
<footer class="right-footer" id="rightFooter"></footer>
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
|
|
<nav class="mobile-nav" id="mobileNav" aria-label="移动端导航"></nav>
|
|
<button class="floating-compose" data-open-modal aria-label="发布动态"><svg><use href="#i-pen"/></svg></button>
|
|
|
|
<div class="modal-backdrop" id="composeModal" aria-hidden="true">
|
|
<section class="compose-modal" role="dialog" aria-modal="true" aria-labelledby="modalTitle">
|
|
<div class="modal-top"><button class="close-button" id="closeModal" aria-label="关闭发布窗口"><svg><use href="#i-close"/></svg></button><strong id="modalTitle" class="sr-only">发布动态</strong><button class="drafts" id="draftsLabel">草稿</button></div>
|
|
<div class="modal-compose-row"><span id="modalAvatar"></span><div><button class="audience-button" id="modalAudience">所有人</button><label class="sr-only" for="modalText">动态内容</label><textarea id="modalText" class="modal-textarea" maxlength="280" placeholder="有什么新鲜事?"></textarea><div class="reply-permission visible"><svg><use href="#i-globe"/></svg><span id="modalReplyPermission"></span></div></div></div>
|
|
<div class="modal-footer"><div class="composer-tools"><button class="tool-button" aria-label="添加图片"><svg><use href="#i-image"/></svg></button><button class="tool-button" aria-label="添加 GIF"><svg><use href="#i-gif"/></svg></button><button class="tool-button" aria-label="添加投票"><svg><use href="#i-poll"/></svg></button><button class="tool-button" aria-label="添加表情"><svg><use href="#i-smile"/></svg></button></div><div class="composer-submit"><span class="char-counter" id="modalCounter">280</span><button class="send-button" id="modalPublish" disabled>发布</button></div></div>
|
|
</section>
|
|
</div>
|
|
|
|
<button class="settings-trigger" id="openSettings" aria-label="编辑页面 JSON" title="编辑页面 JSON"><svg><use href="#i-settings"/></svg></button>
|
|
<div class="settings-backdrop" id="settingsModal" aria-hidden="true">
|
|
<section class="settings-panel" role="dialog" aria-modal="true" aria-labelledby="settingsTitle">
|
|
<header class="settings-head"><div><div class="settings-kicker">X 页面控制台</div><h2 id="settingsTitle">JSON 编辑器</h2></div><button class="settings-close" id="closeSettings" aria-label="关闭 JSON 编辑器"><svg><use href="#i-close"/></svg></button></header>
|
|
<div class="settings-body">
|
|
<nav class="module-tabs" id="moduleTabs" aria-label="JSON 模块"><h3>页面模块</h3></nav>
|
|
<div class="editor-pane"><div class="editor-title"><strong id="editorModuleTitle">站点信息</strong><span>只编辑当前模块</span></div><textarea class="json-editor" id="jsonEditor" spellcheck="false" aria-label="当前模块 JSON"></textarea><div class="editor-hint"><span>修改后先校验,再应用到页面。</span><span class="json-status valid" id="jsonStatus">JSON 有效</span></div></div>
|
|
</div>
|
|
<footer class="settings-actions"><div class="action-group"><button class="settings-button" id="copyJson">复制完整 JSON</button><button class="settings-button" id="downloadJson">下载 JSON</button><button class="settings-button danger" id="resetJson">恢复初始数据</button></div><button class="settings-button primary" id="applyJson">应用并渲染</button></footer>
|
|
</section>
|
|
</div>
|
|
<div class="toast" id="toast" role="status" aria-live="polite"></div>
|
|
|
|
<script type="application/json" id="xPageData">__X_PAGE_DATA__</script>
|
|
<script>__X_PAGE_RUNTIME__</script>
|
|
|
|
</body>
|
|
</html>
|
|
|