style fix

This commit is contained in:
yhlhoh committed 2026-05-03 14:22:50 +08:00
1 parent 9e9ae96058
commit 6ed3e169e4
5 files changed
+20 -27

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

+4 -5
View File
@@ -2,7 +2,7 @@
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<title>OBS 下三分之一条 · 管理</title>
<title>OBS Lower Third · 管理</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Ant Design & React via CDN -->
<script src="/libs/react.production.min.js"></script>
@@ -788,7 +788,6 @@
key: 'live',
label: (
<Space>
<span>🎬</span>
<span>激活控制</span>
{data.activeContentPresetId && <Badge dot color="green" />}
</Space>
@@ -806,7 +805,7 @@
},
{
key: 'appearance',
label: '�� 外观预设',
label: '外观预设',
children: (
<AppearancePresetsTab
presets={data.presets}
@@ -816,7 +815,7 @@
},
{
key: 'content',
label: '📝 内容预设',
label: '内容预设',
children: (
<ContentPresetsTab
contentPresets={data.contentPresets}
@@ -843,7 +842,7 @@
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', height: '100%' }}>
<div>
<Title level={4} style={{ margin: 0, color: '#fff', display: 'inline' }}>
OBS 下三分之一条
OBS Lower Thirds Manager
</Title>
<Text style={{ color: '#888', marginLeft: 12, fontSize: 13 }}>管理面板</Text>
</div>
+4 -10
View File
@@ -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 @@
<div class="lt-root">
<div id="lt" class="lt-container">
<div class="lt-container-inner" id="ltInner">
<img src="/zi.png">
<div class="lt-title" id="ltTitle"></div>
<div class="lt-subtitle" id="ltSubtitle"></div>
</div>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

+12 -12
View File
@@ -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: `<!DOCTYPE html>
<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'
}
}
];