-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemo.html
More file actions
45 lines (41 loc) · 1.89 KB
/
memo.html
File metadata and controls
45 lines (41 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<title>备忘录 / 世界书</title>
<link rel="stylesheet" href="app-page.css">
<script src="viewport-fix.js"></script>
</head>
<body class="app-page">
<div class="app-container">
<div class="app-header">
<button class="back-btn" onclick="window.location.href='index.html'">‹ 返回</button>
<h1>备忘录 / 世界书</h1>
</div>
<div class="app-content">
<div class="settings-section">
<h2>世界书管理</h2>
<div class="form-group" style="display: flex; align-items: center; gap: 10px;">
<label style="margin-bottom: 0; white-space: nowrap;">当前世界书</label>
<select id="worldBookSelect" onchange="switchWorldBookUI()" style="flex: 1;">
</select>
<button class="btn-small" onclick="createWorldBook()">新建</button>
<button class="btn-small" onclick="deleteCurrentWorldBook()">删除</button>
<button class="btn-small" onclick="saveWorldBookChanges()">保存</button>
</div>
<p style="font-size: 12px; color: #666; margin-top: 8px;">
每本世界书是一组设定条目,可以在消息 App 中被多个 CHAR 共享引用。
</p>
</div>
<div class="settings-section">
<h2>条目列表</h2>
<div class="prompt-editors" id="worldBookEntries">
</div>
<button class="btn-primary" onclick="addWorldBookEntry()">➕ 新增条目</button>
</div>
</div>
</div>
<script src="memo.js"></script>
</body>
</html>