Open
feat: 霓虹主题变种 #6
aunb666Add on 19 days ago
feat: 霓虹主题变种 #6
Open
aunb666Add on 19 days ago
Total: 1 files changed+190-0
Aindex.html+190-0
@@ -0,0 +1,190 @@
1+<!DOCTYPE html>
2+<html lang="zh-CN">
3+<head>
4+<meta charset="UTF-8">
5+<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+<title>码道小助手</title>
7+<style>
8+ * { margin: 0; padding: 0; box-sizing: border-box; }
9+ html, body {
10+ height: 100%;
11+ background: #0d0d1a;
12+ font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
13+ }
14+ body {
15+ display: flex;
16+ justify-content: center;
17+ align-items: center;
18+ }
19+ .phone {
20+ width: 375px;
21+ height: 720px;
22+ background: #ededed;
23+ display: flex;
24+ flex-direction: column;
25+ overflow: hidden;
26+ position: relative;
27+ box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
28+ }
29+ .header {
30+ height: 48px;
31+ background: linear-gradient(90deg, #0a0a2e, #1a0533 50%, #0a0a2e);
32+ color: #00f0ff;
33+ display: flex;
34+ align-items: center;
35+ justify-content: center;
36+ font-size: 17px;
37+ font-weight: 600;
38+ position: relative;
39+ flex-shrink: 0;
40+ border-radius: 0 0 14px 14px;
41+ box-shadow: 0 0 14px rgba(0, 240, 255, 0.45), 0 2px 10px rgba(255, 0, 230, 0.25);
42+ letter-spacing: 1px;
43+ text-shadow: 0 0 8px rgba(0, 240, 255, 0.85);
44+ }
45+ .header .back {
46+ position: absolute;
47+ left: 12px;
48+ top: 50%;
49+ transform: translateY(-50%);
50+ font-size: 24px;
51+ line-height: 1;
52+ color: #00f0ff;
53+ text-shadow: 0 0 6px rgba(0, 240, 255, 0.8);
54+ }
55+ .header .more {
56+ position: absolute;
57+ right: 14px;
58+ top: 50%;
59+ transform: translateY(-50%);
60+ font-size: 20px;
61+ line-height: 1;
62+ color: #ff00e6;
63+ letter-spacing: 1px;
64+ text-shadow: 0 0 6px rgba(255, 0, 230, 0.8);
65+ }
66+ .chat {
67+ flex: 1;
68+ padding: 14px 10px;
69+ overflow-y: auto;
70+ display: flex;
71+ flex-direction: column;
72+ gap: 18px;
73+ }
74+ .msg {
75+ display: flex;
76+ align-items: flex-start;
77+ gap: 8px;
78+ }
79+ .msg.right {
80+ flex-direction: row-reverse;
81+ }
82+ .avatar {
83+ width: 36px;
84+ height: 36px;
85+ border-radius: 4px;
86+ flex-shrink: 0;
87+ background-size: cover;
88+ background-position: center;
89+ }
90+ .avatar.other {
91+ background: #7fc4e8;
92+ }
93+ .avatar.me {
94+ background: linear-gradient(135deg, #00f0ff, #ff00e6);
95+ box-shadow: 0 0 8px rgba(91, 91, 255, 0.5);
96+ }
97+ .bubble {
98+ max-width: 240px;
99+ padding: 9px 12px;
100+ border-radius: 8px;
101+ font-size: 15px;
102+ line-height: 1.45;
103+ color: #333333;
104+ position: relative;
105+ word-break: break-word;
106+ }
107+ .msg.left .bubble {
108+ background: #ffffff;
109+ }
110+ .msg.right .bubble {
111+ background: linear-gradient(135deg, #00f0ff 0%, #5b5bff 50%, #ff00e6 100%);
112+ color: #ffffff;
113+ box-shadow: 0 0 10px rgba(91, 91, 255, 0.45);
114+ }
115+ .msg.left .bubble::before {
116+ content: "";
117+ position: absolute;
118+ left: -5px;
119+ top: 13px;
120+ border: 6px solid transparent;
121+ border-right-color: #ffffff;
122+ border-left: 0;
123+ }
124+ .msg.right .bubble::before {
125+ content: "";
126+ position: absolute;
127+ right: -5px;
128+ top: 13px;
129+ border: 6px solid transparent;
130+ border-left-color: #ff00e6;
131+ border-right: 0;
132+ }
133+ .input-bar {
134+ height: 48px;
135+ background: #f7f7f7;
136+ border-top: 1px solid #d9d9d9;
137+ display: flex;
138+ align-items: center;
139+ padding: 0 10px;
140+ gap: 8px;
141+ flex-shrink: 0;
142+ }
143+ .input-bar .icon {
144+ width: 28px;
145+ height: 28px;
146+ display: flex;
147+ align-items: center;
148+ justify-content: center;
149+ font-size: 20px;
150+ color: #666666;
151+ flex-shrink: 0;
152+ }
153+ .input-bar input {
154+ flex: 1;
155+ height: 32px;
156+ border: 1px solid #d9d9d9;
157+ border-radius: 4px;
158+ padding: 0 8px;
159+ font-size: 15px;
160+ background: #ffffff;
161+ outline: none;
162+ }
163+</style>
164+</head>
165+<body>
166+ <div class="phone">
167+ <div class="header">
168+ <span class="back">‹</span>
169+ 码道小助手
170+ <span class="more">···</span>
171+ </div>
172+ <div class="chat">
173+ <div class="msg left">
174+ <div class="avatar other"></div>
175+ <div class="bubble">在吗?</div>
176+ </div>
177+ <div class="msg right">
178+ <div class="avatar me"></div>
179+ <div class="bubble">在的,怎么啦?</div>
180+ </div>
181+ </div>
182+ <div class="input-bar">
183+ <span class="icon">🎤</span>
184+ <input type="text" placeholder="">
185+ <span class="icon">😊</span>
186+ <span class="icon">+</span>
187+ </div>
188+ </div>
189+</body>
190+</html>