Add apps/miniprogram/tt as a standalone Douyin app with official usePrivacyCheck + tt.showModal/setClipboardData flow, single-chapter offline reader, and document console privacy setup for clipboard. Co-authored-by: Cursor <cursoragent@cursor.com>
155 lines
3.0 KiB
CSS
155 lines
3.0 KiB
CSS
/* 首页三入口:与微信 / 抖音一致横排 3 列(勿用 2 列导致第三卡掉下一行) */
|
|
.hub-portal-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
|
max-width: 100% !important;
|
|
position: relative;
|
|
z-index: 20 !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
|
|
.hub-portal-card,
|
|
div.hub-portal-card,
|
|
button.hub-portal-card {
|
|
pointer-events: auto !important;
|
|
position: relative;
|
|
z-index: 21 !important;
|
|
cursor: pointer;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: rgba(78, 205, 196, 0.25);
|
|
}
|
|
|
|
/* 地球/装饰层绝不挡点击 */
|
|
.hub-hero-visual,
|
|
.hub-globe-container,
|
|
.hub-globe-svg,
|
|
.hub-floating-cards,
|
|
.hub-hero-bg-shapes,
|
|
.hub-particle-canvas {
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.hub-loader,
|
|
#hub-loader {
|
|
z-index: 9999;
|
|
}
|
|
.hub-loader.hidden,
|
|
#hub-loader.hidden {
|
|
display: none !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.view {
|
|
pointer-events: auto;
|
|
}
|
|
.view:not(.is-active) {
|
|
display: none !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.view-vip {
|
|
min-height: 100vh;
|
|
background: #0c0c0f;
|
|
color: #f1f5f9;
|
|
}
|
|
.vip-offline {
|
|
padding: 16px 16px calc(32px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
.vip-offline-hero {
|
|
margin: 12px 0 20px;
|
|
}
|
|
.vip-offline-eyebrow {
|
|
color: #f59e0b;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
margin: 0 0 8px;
|
|
}
|
|
.vip-offline-title {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
margin: 0 0 8px;
|
|
}
|
|
.vip-offline-title span {
|
|
color: #f59e0b;
|
|
}
|
|
.vip-offline-lead {
|
|
color: #94a3b8;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
margin: 0;
|
|
}
|
|
.vip-offline-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 8px;
|
|
margin: 18px 0;
|
|
}
|
|
.vip-offline-stat {
|
|
background: rgba(245, 158, 11, 0.08);
|
|
border: 1px solid rgba(245, 158, 11, 0.22);
|
|
border-radius: 12px;
|
|
padding: 10px 6px;
|
|
text-align: center;
|
|
}
|
|
.vip-offline-stat strong {
|
|
display: block;
|
|
font-size: 16px;
|
|
color: #fbbf24;
|
|
}
|
|
.vip-offline-stat em {
|
|
display: block;
|
|
font-style: normal;
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
margin-top: 4px;
|
|
}
|
|
.vip-offline-grid {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 12px 0 20px;
|
|
}
|
|
.vip-offline-card {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
padding: 14px;
|
|
border-radius: 14px;
|
|
background: rgba(17, 24, 39, 0.9);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
text-align: left;
|
|
}
|
|
.vip-offline-card .ico {
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
}
|
|
.vip-offline-card strong {
|
|
display: block;
|
|
font-size: 15px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.vip-offline-card em {
|
|
display: block;
|
|
font-style: normal;
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
line-height: 1.4;
|
|
}
|
|
.vip-offline-cta {
|
|
width: 100%;
|
|
min-height: 48px;
|
|
border-radius: 999px;
|
|
font-weight: 800;
|
|
font-size: 16px;
|
|
color: #0c0c0f;
|
|
background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
|
|
box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
|
|
}
|
|
.vip-offline-hint {
|
|
text-align: center;
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
margin-top: 10px;
|
|
}
|