diff --git a/public/bg.png b/public/bg.png new file mode 100644 index 0000000..cb9af53 Binary files /dev/null and b/public/bg.png differ diff --git a/public/manage.html b/public/manage.html index c98eeef..d21f445 100644 --- a/public/manage.html +++ b/public/manage.html @@ -2,7 +2,7 @@ - OBS 下三分之一条 · 管理 + OBS Lower Third · 管理 @@ -788,7 +788,6 @@ key: 'live', label: ( - 🎬 激活控制 {data.activeContentPresetId && } @@ -806,7 +805,7 @@ }, { key: 'appearance', - label: '�� 外观预设', + label: '外观预设', children: (
- OBS 下三分之一条 + OBS Lower Thirds Manager 管理面板
diff --git a/public/widget.html b/public/widget.html index 9c4377c..9845de6 100644 --- a/public/widget.html +++ b/public/widget.html @@ -33,27 +33,20 @@ padding: 16px 26px; opacity: 0; transform: translateX(40px) translateY(6px) scale(0.96); - border: 1px solid rgba(255,255,255,0.25); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 140, 0, 0.45); backdrop-filter: blur(18px); - background: - radial-gradient(circle at 0% 0%, rgba(255,255,255,0.34), transparent 55%), - linear-gradient(135deg, rgba(8,8,12,0.92), rgba(20,14,40,0.96)); + overflow: hidden; mask-image: radial-gradient(circle at 0 0, rgba(0,0,0,0.0), rgba(0,0,0,1) 45%), - linear-gradient(to left, transparent 0%, black 20%, black 100%); - -webkit-mask-image: radial-gradient(circle at 0 0, rgba(0,0,0,0.0), rgba(0,0,0,1) 45%), - linear-gradient(to left, transparent 0%, black 20%, black 100%); - } + } .lt-container::before { content: ''; position: absolute; inset: -40%; - background: - radial-gradient(circle at 120% 0%, rgba(255, 215, 128, 0.35), transparent 45%), - radial-gradient(circle at -10% 100%, rgba(255, 71, 87, 0.45), transparent 55%); + background-image: url('bg.png'); + opacity: 0.85; mix-blend-mode: screen; pointer-events: none; @@ -119,6 +112,7 @@
+
diff --git a/public/zi.png b/public/zi.png new file mode 100644 index 0000000..77a621b Binary files /dev/null and b/public/zi.png differ diff --git a/server.js b/server.js index 0fdef74..07ac39c 100644 --- a/server.js +++ b/server.js @@ -16,15 +16,15 @@ let settings = { let presets = [ { id: 'preset-gala-iframe-1', - name: '晚会右侧信息区 · 模板示例', + name: '测试', kind: 'iframe', align: 'right', themeColor: '', extraCss: '', fieldDefs: [ - { key: 'tag', label: '标签', defaultValue: 'LIVE · GALA' }, - { key: 'mainTitle', label: '主标题', defaultValue: '2026 新春特别晚会' }, - { key: 'subtitle', label: '副标题', defaultValue: '示例:你可以在这里完全自定义 HTML / CSS / JS' } + { key: 'tag', label: '标签', defaultValue: 'TEST 测试' }, + { key: 'mainTitle', label: '主标题', defaultValue: '测试内容' }, + { key: 'subtitle', label: '副标题', defaultValue: '' } ], html: ` @@ -85,22 +85,22 @@ let presets = [ let contentPresets = [ { id: 'content-preset-1', - name: '春晚主持人介绍', + name: '测试内容 1', appearancePresetId: 'preset-gala-iframe-1', fields: { - tag: 'LIVE · GALA', - mainTitle: '2026 新春特别晚会', - subtitle: '主持人:某某某 · 某某某' + tag: 'TEST TAG', + mainTitle: '测试主标题 1', + subtitle: '测试副标题 1' } }, { id: 'content-preset-2', - name: '节目单第一项', + name: '测试内容 2', appearancePresetId: 'preset-gala-iframe-1', fields: { - tag: '节目单 01', - mainTitle: '《欢乐中国年》', - subtitle: '表演:XX歌舞团' + tag: 'TEST TAG 2', + mainTitle: '测试主标题 2', + subtitle: '测试副标题 2' } } ];