杜架的记录与分享(017期)

杜架的记录与分享,记录与思考有价值的信息,主要包含:碎片化思考,阅读笔记分享,软件分享,内容记录等。内容主题有极大的个人喜好偏向,爱我所爱,想我所想,写我所写。

使命召唤 18

最近通关了使命召唤 18 战役模式,很喜欢故事设计,夜莺夫人是真飒,嫉恶如仇。斯大林格勒战役建模和设计的挺不错的。回想起第一次接触《使命召唤》系列,还是在大学时候,那时候在网吧发现了这款游戏,第一次玩的是使命召唤 5,貌似唯一一个在日本被禁售的游戏,可以尽情手撕鬼子。以前是惊叹于游戏可以做的这么逼真,忽略背后的故事性,这次是真真实实了解了整个游戏的篇幅设计,什么时候国内能有这种顶级枪战 3A 大作,期待!记录一下最近玩的游戏。

再来两张夜莺夫人-波莉娜.佩特罗娃 人物照

夜莺夫人
夜莺夫人

笔记

大模型相关技术解决的问题

为了让 AI 效果更好,涌现了许多技术,不同的技术在不同的角度解决相应的问题,进而提高整体效果。

  • Prompt 工程:通过优化 Prompt 框架,影响模型的输入,获得更好的效果。
  • 模型训练:通过数据训练的方式,影响模型的参数,获得更好的效果。
  • RAG & 知识库赋予模型检索外部数据的能力,以补充模型知识不足的问题,获得更好的效果。
  • Agent 系统:通过拓展模型的能力(记忆,插件,多模型调度),以及构建由多个模型组成的系统,获得更好的输出。

常见的 AI 任务类型

基础任务类型:分类,聚类,生成,回归

综合任务类型:信息抽取,文本总结,问答,关键词抽取

推荐文章

1.给准备当前端组长的你一点小建议

本文主要讨论了前端领域面临的挑战及应对方法,包括对 “前端已死” 论调的看法、前端负责人筛选项目技术栈的关键因素、项目功能点研发时间评估方法、封装思想、跨技术间的组件复用、团队协作规范、全栈发展以及自动化构建等方面。强调前端领域仍充满机遇,关键在于提升自身能力和价值,以应对市场需求变化。

2.大模型开发工作手册详细指南

本文主要探讨了大模型应用的现状、阻碍及解决方案,作者结合自身研究和实践,提出了打造模型应用研发工具的目标,以降低模型研发成本,提升效率和效果,让人人都能开发大模型应用。

作者应该是有深入一线的实践,用真实案例讲解面对困境和阻碍如何解决问题。对于想学习界面案例,帮助很大。同时作者还总结了模型应用的研发流程,对于当下想深入了解大模型应用的程序员有开天眼的帮助哈。

文章内容未来可能没有价值,解决问题的思维方式值得学习。

研发流程

开发相关项目

DSPy

https://github.com/stanfordnlp/dspy

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
import dspy
lm = dspy.LM('openai/gpt-4o-mini', api_key='YOUR_OPENAI_API_KEY')
dspy.configure(lm=lm)

#RAG
def search_wikipedia(query: str) -> list[str]:
results = dspy.ColBERTv2(url='http://20.102.90.50:2017/wiki17_abstracts')(query, k=3)
return [x['text'] for x in results]

rag = dspy.ChainOfThought('context, question -> response')

question = "What's the name of the castle that David Gregory inherited?"
rag(context=search_wikipedia(question), question=question)

# Classification

from typing import Literal

class Classify(dspy.Signature):
"""Classify sentiment of a given sentence."""

sentence: str = dspy.InputField()
sentiment: Literal['positive', 'negative', 'neutral'] = dspy.OutputField()
confidence: float = dspy.OutputField()

classify = dspy.Predict(Classify)
classify(sentence="This book was super fun to read, though not the last chapter.")

Prompt 框架化,可以实现对不同 AI 模型的优化,对比字符模板 Prompt 会有一定的迭代效果提升。

有用又好玩的软件

独立开发者出海工具收集站

https://github.com/yaolifeng0629/Awesome-independent-tools

独立开发者出海工具收集站(Awesome Independent developer sea tool collection station),包含开发,设计,支付,部署等全生命周期网址资源,值得收藏。

Mac 生产力工具链推荐

https://github.com/Louiszhai/tool

主要包含以下内容:

  • PM 或博客撰写者 markdown 编辑器推荐
  • mac 重度依赖者应用推荐
  • 终端便捷工具推荐
  • Chrome Extension 及扩展插件开发
  • Alfred workflow 自制及开源的推荐

DDColor 老照片着色器

https://github.com/piddnad/DDColor

DDColor

通过双解码器实现逼真图像着色

prowords

https://prowords.zeabur.app/

prowords

基于 AI 技术,根据你的职业背景生成贴合实际工作场景的英语例句,让记忆单词更有效、更有意义

MTranServer

MTranServer

低占用速度快可私有部署的自由版 Google 翻译

油桃 TV

https://github.com/VonChange/utao

油桃TV

油桃 TV 电视浏览器 可看各大卫视 CCTV 直播 无需电视 VIP 适配爱奇艺等主流视频平台

NAS

https://github.com/coracoo/awesome_docker_cn

awesome_docker_cn

上百款可 docker 部署的项目,包含项目地址、项目部署教程等。

Prompt 收藏

以下内容来源:一个提示词 claude 生成一个 app 的 ui/ux,通过学习他人案例,武装自己头脑。

claude app ui/ux

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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FeastMeet - 酷酷年轻人的约饭神器</title>
<style>
:root {
/* 主色调 */
--primary: #8C52FF;
--primary-dark: #6E3AD9;
--primary-light: #A875FF;

/* 霓虹色调 */
--neon-pink: #FF2E93;
--neon-blue: #00E9FF;
--neon-green: #00FF85;
--neon-yellow: #FFDE59;

/* 暗色背景 */
--bg-dark: #121212;
--bg-card: #1E1E1E;
--bg-card-hover: #252525;

/* 文本颜色 */
--text-primary: #FFFFFF;
--text-secondary: rgba(255, 255, 255, 0.7);
--text-tertiary: rgba(255, 255, 255, 0.5);
--text-disabled: rgba(255, 255, 255, 0.3);

/* 边框与阴影 */
--border-light: rgba(255, 255, 255, 0.1);
--shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
--shadow-neon: 0 0 15px rgba(140, 82, 255, 0.5);

/* 间距 */
--space-xs: 4px;
--space-sm: 8px;
--space-md: 16px;
--space-lg: 24px;
--space-xl: 32px;

/* 圆角 */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 20px;
--radius-full: 9999px;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Outfit', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
background-color: var(--bg-dark);
color: var(--text-primary);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
padding: var(--space-md);
}

.app-container {
display: flex;
flex-wrap: wrap;
gap: var(--space-xl);
justify-content: center;
padding-bottom: var(--space-xl);
}

.screen {
width: 360px;
height: 720px;
background: var(--bg-dark);
border-radius: var(--radius-lg);
overflow: hidden;
position: relative;
box-shadow: var(--shadow-card);
border: 1px solid var(--border-light);
}

.header {
padding: var(--space-md) var(--space-md);
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 10;
}

.header-title {
font-size: 20px;
font-weight: 600;
}

.header-action {
display: flex;
gap: var(--space-sm);
}

.icon-button {
width: 40px;
height: 40px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
color: var(--text-primary);
border: none;
cursor: pointer;
transition: all 0.2s ease;
}

.icon-button:hover, .icon-button:active {
background: rgba(255, 255, 255, 0.2);
}

.content {
height: calc(100% - 160px);
overflow-y: auto;
padding: 0 var(--space-md) var(--space-md);
}

.full-content {
height: calc(100% - 80px);
overflow-y: auto;
padding: 0 var(--space-md) var(--space-md);
}

.nav-bar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 80px;
background: var(--bg-card);
display: flex;
justify-content: space-around;
align-items: center;
border-top: 1px solid var(--border-light);
padding: 0 var(--space-md);
}

.nav-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: var(--text-tertiary);
text-decoration: none;
font-size: 12px;
}

.nav-item.active {
color: var(--primary);
}

.nav-icon {
font-size: 24px;
margin-bottom: var(--space-xs);
}

.card {
background: var(--bg-card);
border-radius: var(--radius-md);
padding: var(--space-md);
margin-bottom: var(--space-md);
border: 1px solid var(--border-light);
transition: all 0.2s ease;
}

.card:active {
transform: scale(0.98);
background: var(--bg-card-hover);
}

.feast-card {
background: var(--bg-card);
border-radius: var(--radius-md);
margin-bottom: var(--space-md);
overflow: hidden;
position: relative;
box-shadow: var(--shadow-card);
}

.feast-image {
height: 150px;
position: relative;
overflow: hidden;
}

.feast-image-bg {
width: 100%;
height: 100%;
background-position: center;
background-size: cover;
filter: brightness(0.7);
}

.feast-details {
padding: var(--space-md);
}

.feast-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--space-sm);
}

.feast-date {
font-size: 14px;
color: var(--text-secondary);
display: flex;
align-items: center;
}

.feast-icon {
margin-right: var(--space-xs);
}

.tags-container {
display: flex;
flex-wrap: wrap;
gap: var(--space-xs);
margin: var(--space-sm) 0;
}

.tag {
background: rgba(255, 255, 255, 0.1);
color: var(--text-secondary);
padding: var(--space-xs) var(--space-sm);
border-radius: var(--radius-full);
font-size: 12px;
}

.tag.highlighted {
background: var(--primary);
color: white;
}

.button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: var(--space-md) var(--space-lg);
border-radius: var(--radius-full);
font-weight: 600;
border: none;
cursor: pointer;
transition: all 0.2s ease;
}

.button.primary {
background: var(--primary);
color: white;
}

.button.primary:hover, .button.primary:active {
background: var(--primary-dark);
}

.button.outline {
background: transparent;
border: 1px solid var(--primary);
color: var(--primary);
}

.button.outline:hover, .button.outline:active {
background: rgba(140, 82, 255, 0.1);
}

.button.full {
width: 100%;
}

.button-icon {
margin-right: var(--space-sm);
}

.gradient-text {
background: linear-gradient(to right, var(--neon-pink), var(--primary));
background-clip: text;
-webkit-background-clip: text;
color: transparent;
font-weight: 700;
}

.section-title {
font-size: 18px;
font-weight: 600;
margin: var(--space-lg) 0 var(--space-md);
display: flex;
align-items: center;
}

.avatar {
width: 50px;
height: 50px;
border-radius: var(--radius-full);
object-fit: cover;
}

.avatar.small {
width: 36px;
height: 36px;
}

.avatar-group {
display: flex;
margin-left: var(--space-sm);
}

.avatar-group .avatar {
margin-left: -10px;
border: 2px solid var(--bg-card);
}

.avatar-group .avatar:first-child {
margin-left: 0;
}

.users-more {
width: 36px;
height: 36px;
border-radius: var(--radius-full);
background: rgba(255, 255, 255, 0.1);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
margin-left: -10px;
border: 2px solid var(--bg-card);
}

.search-bar {
display: flex;
align-items: center;
background: var(--bg-card);
border-radius: var(--radius-full);
padding: var(--space-sm) var(--space-md);
margin-bottom: var(--space-md);
}

.search-icon {
color: var(--text-tertiary);
margin-right: var(--space-sm);
}

.search-input {
background: transparent;
border: none;
color: var(--text-primary);
flex: 1;
font-size: 16px;
}

.search-input:focus {
outline: none;
}

.categories {
display: flex;
overflow-x: auto;
gap: var(--space-sm);
padding: var(--space-xs) 0;
margin-bottom: var(--space-md);
scrollbar-width: none;
}

.categories::-webkit-scrollbar {
display: none;
}

.category-item {
padding: var(--space-sm) var(--space-md);
background: var(--bg-card);
border-radius: var(--radius-full);
white-space: nowrap;
color: var(--text-secondary);
}

.category-item.active {
background: var(--primary);
color: white;
}

.form-group {
margin-bottom: var(--space-lg);
}

.form-label {
display: block;
margin-bottom: var(--space-sm);
color: var(--text-secondary);
font-weight: 500;
}

.form-input {
width: 100%;
padding: var(--space-md);
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: 16px;
}

.form-input:focus {
outline: none;
border-color: var(--primary);
}

textarea.form-input {
min-height: 100px;
resize: vertical;
}

.form-select {
width: 100%;
padding: var(--space-md);
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: 16px;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right var(--space-md) center;
}

.form-select:focus {
outline: none;
border-color: var(--primary);
}

.chat-message {
display: flex;
margin-bottom: var(--space-md);
}

.chat-message.outgoing {
flex-direction: row-reverse;
}

.message-avatar {
width: 40px;
height: 40px;
border-radius: var(--radius-full);
margin-right: var(--space-sm);
}

.chat-message.outgoing .message-avatar {
margin-right: 0;
margin-left: var(--space-sm);
}

.message-content {
max-width: 70%;
}

.message-bubble {
background: var(--bg-card);
padding: var(--space-md);
border-radius: var(--radius-md);
margin-bottom: var(--space-xs);
}

.chat-message.outgoing .message-bubble {
background: var(--primary);
}

.message-time {
font-size: 12px;
color: var(--text-tertiary);
text-align: right;
}

.chat-input-container {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: var(--space-md);
background: var(--bg-dark);
border-top: 1px solid var(--border-light);
display: flex;
align-items: center;
}

.chat-input {
flex: 1;
padding: var(--space-md);
background: var(--bg-card);
border: none;
border-radius: var(--radius-full);
color: var(--text-primary);
margin-right: var(--space-sm);
}

.chat-input:focus {
outline: none;
}

.pulse {
display: inline-block;
width: 10px;
height: 10px;
border-radius: var(--radius-full);
background: var(--neon-green);
margin-right: var(--space-sm);
animation: pulse 1.5s infinite;
}

@keyframes pulse {
0% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(0, 255, 133, 0.5);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(0, 255, 133, 0);
}
100% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(0, 255, 133, 0);
}
}

.profile-header {
background: linear-gradient(to right, var(--neon-blue), var(--primary));
padding: var(--space-xl) var(--space-md) var(--space-lg);
margin: -16px -16px 0;
text-align: center;
position: relative;
}

.profile-avatar {
width: 100px;
height: 100px;
border-radius: var(--radius-full);
border: 3px solid white;
margin-bottom: var(--space-sm);
}

.profile-stats {
display: flex;
justify-content: space-around;
margin: var(--space-md) 0;
}

.stat-item {
text-align: center;
}

.stat-value {
font-size: 24px;
font-weight: 700;
}

.stat-label {
font-size: 12px;
color: var(--text-tertiary);
}

.login-logo {
font-size: 36px;
font-weight: 800;
text-align: center;
margin: var(--space-xl) 0;
}

.social-login {
display: flex;
justify-content: center;
gap: var(--space-md);
margin: var(--space-xl) 0;
}

.social-icon {
width: 50px;
height: 50px;
background: var(--bg-card);
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: var(--text-primary);
}

.divider {
display: flex;
align-items: center;
color: var(--text-tertiary);
margin: var(--space-xl) 0;
}

.divider:before, .divider:after {
content: "";
flex: 1;
height: 1px;
background: var(--border-light);
}

.divider:before {
margin-right: var(--space-md);
}

.divider:after {
margin-left: var(--space-md);
}

.create-feast-fab {
position: absolute;
bottom: 100px;
right: var(--space-md);
width: 60px;
height: 60px;
border-radius: var(--radius-full);
background: var(--primary);
color: white;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-neon);
border: none;
font-size: 24px;
z-index: 100;
}

/* Material Icons */
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
</style>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap" rel="stylesheet">
</head>
<body>

<div class="app-container">

<!-- 启动/登录页 -->
<div class="screen" id="login">
<div class="full-content">
<div style="height: 30%"></div>

<div class="login-logo">
<span class="gradient-text">FeastMeet</span>
<div style="font-size: 16px; color: var(--text-secondary); font-weight: normal; margin-top: 8px;">美食相遇,灵魂碰撞</div>
</div>

<div class="social-login">
<a href="#home" class="social-icon">
<span class="material-icons">alternate_email</span>
</a>
<a href="#home" class="social-icon">
<span class="material-icons">chat</span>
</a>
<a href="#home" class="social-icon">
<span class="material-icons">language</span>
</a>
</div>

<div class="divider">或使用邮箱登录</div>

<div class="form-group">
<input type="email" class="form-input" placeholder="邮箱地址">
</div>

<div class="form-group">
<input type="password" class="form-input" placeholder="密码">
</div>

<a href="#home" class="button primary full" style="margin-bottom: var(--space-md);">登录</a>
<a href="#home" class="button outline full">注册新账号</a>

<div style="text-align: center; margin-top: var(--space-xl); color: var(--text-tertiary);">
登录即表示您同意我们的<br>
<a href="#" style="color: var(--primary);">服务条款</a> 和 <a href="#" style="color: var(--primary);">隐私政策</a>
</div>
</div>
</div>

<!-- 主页/发现页 -->
<div class="screen" id="home">
<div class="header">
<div class="header-title">探索饭局</div>
<div class="header-action">
<button class="icon-button">
<span class="material-icons">notifications</span>
</button>
<button class="icon-button">
<span class="material-icons">tune</span>
</button>
</div>
</div>

<div class="content">
<div class="search-bar">
<span class="material-icons search-icon">search</span>
<input type="text" class="search-input" placeholder="搜索饭局、餐厅或美食...">
</div>

<div class="categories">
<div class="category-item active">推荐</div>
<div class="category-item">新奇体验</div>
<div class="category-item">职场社交</div>
<div class="category-item">音乐爱好者</div>
<div class="category-item">电影交流</div>
<div class="category-item">艺术文化</div>
</div>

<a href="#feast-detail" class="feast-card">
<div class="feast-image">
<div class="feast-image-bg" style="background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80');"></div>
<div style="position: absolute; top: var(--space-md); right: var(--space-md); background: rgba(0,0,0,0.6); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-full); font-size: 12px; color: white;">
<span class="material-icons" style="font-size: 14px; vertical-align: middle; margin-right: 2px;">person</span> 3/6
</div>
</div>
<div class="feast-details">
<h3>创意料理夜 @ 深蓝餐厅</h3>
<div class="feast-meta">
<div class="feast-date">
<span class="material-icons feast-icon">event</span>
今晚 19:30
</div>
<div class="feast-date">
<span class="material-icons feast-icon">location_on</span>
1.2km
</div>
</div>
<p style="color: var(--text-secondary); margin-bottom: var(--space-sm);">分享对创意料理的热爱,探讨未来美食趋势,交流味蕾体验。</p>
<div class="tags-container">
<span class="tag highlighted">美食探索</span>
<span class="tag">创意料理</span>
<span class="tag">社交晚餐</span>
</div>
<div style="display: flex; align-items: center; margin-top: var(--space-md); justify-content: space-between;">
<div style="display: flex; align-items: center;">
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="avatar small">
<div style="margin-left: var(--space-sm); font-size: 14px;">
<div>Alex Chen</div>
<div style="color: var(--text-tertiary); font-size: 12px; display: flex; align-items: center;">
<span class="material-icons" style="font-size: 14px; margin-right: 2px;">star</span>
4.8
</div>
</div>
</div>
<div style="color: var(--neon-pink); font-weight: 600;">¥128/位</div>
</div>
</div>
</a>

<a href="#feast-detail" class="feast-card">
<div class="feast-image">
<div class="feast-image-bg" style="background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80');"></div>
<div style="position: absolute; top: var(--space-md); right: var(--space-md); background: rgba(0,0,0,0.6); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-full); font-size: 12px; color: white;">
<span class="material-icons" style="font-size: 14px; vertical-align: middle; margin-right: 2px;">person</span> 2/4
</div>
</div>
<div class="feast-details">
<h3>爵士乐与红酒之夜</h3>
<div class="feast-meta">
<div class="feast-date">
<span class="material-icons feast-icon">event</span>
明天 20:00
</div>
<div class="feast-date">
<span class="material-icons feast-icon">location_on</span>
3.5km
</div>
</div>
<p style="color: var(--text-secondary); margin-bottom: var(--space-sm);">边听爵士乐边品红酒,聊聊音乐与艺术,结交志同道合的朋友。</p>
<div class="tags-container">
<span class="tag highlighted">音乐爱好者</span>
<span class="tag">红酒</span>
<span class="tag">爵士乐</span>
</div>
<div style="display: flex; align-items: center; margin-top: var(--space-md); justify-content: space-between;">
<div style="display: flex; align-items: center;">
<img src="https://randomuser.me/api/portraits/women/44.jpg" class="avatar small">
<div style="margin-left: var(--space-sm); font-size: 14px;">
<div>Sophia Lin</div>
<div style="color: var(--text-tertiary); font-size: 12px; display: flex; align-items: center;">
<span class="material-icons" style="font-size: 14px; margin-right: 2px;">star</span>
4.9
</div>
</div>
</div>
<div style="color: var(--neon-pink); font-weight: 600;">¥168/位</div>
</div>
</div>
</a>

<a href="#feast-detail" class="feast-card">
<div class="feast-image">
<div class="feast-image-bg" style="background-image: url('https://images.unsplash.com/photo-1528605248644-14dd04022da1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80');"></div>
<div style="position: absolute; top: var(--space-md); right: var(--space-md); background: rgba(255,46,147,0.8); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-full); font-size: 12px; color: white;">
火爆
</div>
</div>
<div class="feast-details">
<h3>科技创业者交流会 @ 云端咖啡</h3>
<div class="feast-meta">
<div class="feast-date">
<span class="material-icons feast-icon">event</span>
周六 13:00
</div>
<div class="feast-date">
<span class="material-icons feast-icon">location_on</span>
0.8km
</div>
</div>
<p style="color: var(--text-secondary); margin-bottom: var(--space-sm);">轻松氛围中交流创业心得,寻找合作伙伴,碰撞创新火花。</p>
<div class="tags-container">
<span class="tag highlighted">职场社交</span>
<span class="tag">创业</span>
<span class="tag">科技</span>
</div>
<div style="display: flex; align-items: center; margin-top: var(--space-md); justify-content: space-between;">
<div style="display: flex; align-items: center;">
<div class="avatar-group">
<img src="https://randomuser.me/api/portraits/men/85.jpg" class="avatar small">
<img src="https://randomuser.me/api/portraits/women/79.jpg" class="avatar small">
<div class="users-more">+3</div>
</div>
<div style="margin-left: var(--space-sm); font-size: 14px;">
<div>多人主办</div>
</div>
</div>
<div style="color: var(--neon-pink); font-weight: 600;">¥88/位</div>
</div>
</div>
</a>

<a href="#create-feast" class="create-feast-fab">
<span class="material-icons">add</span>
</a>
</div>

<div class="nav-bar">
<a href="#home" class="nav-item active">
<span class="material-icons nav-icon">explore</span>
<span>发现</span>
</a>
<a href="#nearby" class="nav-item">
<span class="material-icons nav-icon">map</span>
<span>附近</span>
</a>
<a href="#messages" class="nav-item">
<span class="material-icons nav-icon">chat</span>
<span>消息</span>
</a>
<a href="#profile" class="nav-item">
<span class="material-icons nav-icon">person</span>
<span>我的</span>
</a>
</div>
</div>

<!-- 饭局详情页 -->
<div class="screen" id="feast-detail">
<div class="header">
<button class="icon-button" onclick="window.location.href='#home'">
<span class="material-icons">arrow_back</span>
</button>
<div class="header-title">饭局详情</div>
<div class="header-action">
<button class="icon-button">
<span class="material-icons">share</span>
</button>
</div>
</div>

<div class="full-content">
<div style="height: 200px; position: relative; margin: -16px -16px 16px;">
<div style="position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80'); background-size: cover; background-position: center;"></div>
<div style="position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 100%);"></div>
</div>

<h2 style="margin-bottom: var(--space-sm);">创意料理夜 @ 深蓝餐厅</h2>

<div class="feast-meta" style="margin-bottom: var(--space-md);">
<div class="feast-date">
<span class="material-icons feast-icon">event</span>
今晚 19:30-21:30
</div>
<div class="feast-date">
<span class="material-icons feast-icon">location_on</span>
深蓝餐厅 · 1.2km
</div>
</div>

<div class="card">
<h4 style="margin-bottom: var(--space-sm);">关于这场饭局</h4>
<p style="color: var(--text-secondary); line-height: 1.6;">分享对创意料理的热爱,探讨未来美食趋势,交流味蕾体验。今晚的主厨特别推出分子料理新菜单,我们将共同品尝并进行有趣的美食讨论。</p>
<p style="color: var(--text-secondary); line-height: 1.6; margin-top: var(--space-sm);">适合喜欢尝试新事物、对料理有热情的朋友。席间将有轻松的交流环节,不用担心尴尬。</p>

<div style="margin-top: var(--space-md);">
<div class="tags-container">
<span class="tag highlighted">美食探索</span>
<span class="tag">创意料理</span>
<span class="tag">社交晚餐</span>
<span class="tag">分子料理</span>
</div>
</div>
</div>

<div class="card">
<h4 style="margin-bottom: var(--space-md);">主办人</h4>
<div style="display: flex; align-items: center;">
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="avatar">
<div style="margin-left: var(--space-md);">
<div style="font-weight: 500;">Alex Chen</div>
<div style="color: var(--text-tertiary); font-size: 14px; margin-top: var(--space-xs);">美食博主 | 料理爱好者</div>
<div style="display: flex; align-items: center; margin-top: var(--space-xs);">
<span class="material-icons" style="font-size: 16px; color: var(--neon-yellow); margin-right: 2px;">star</span>
<span>4.8</span>
<span style="margin-left: var(--space-xs); color: var(--text-tertiary);">(已举办32场)</span>
</div>
</div>
</div>
</div>

<div class="card">
<h4 style="margin-bottom: var(--space-sm); display: flex; justify-content: space-between;">
<span>已报名 (3/6)</span>
<a href="#attendees" style="color: var(--primary); font-size: 14px; text-decoration: none;">查看全部 ></a>
</h4>
<div style="display: flex; margin-bottom: var(--space-md);">
<img src="https://randomuser.me/api/portraits/women/33.jpg" class="avatar small" style="margin-right: var(--space-xs);">
<img src="https://randomuser.me/api/portraits/men/54.jpg" class="avatar small" style="margin-right: var(--space-xs);">
<img src="https://randomuser.me/api/portraits/women/68.jpg" class="avatar small" style="margin-right: var(--space-xs);">
<div style="width: 36px; height: 36px; border-radius: var(--radius-full); border: 1px dashed var(--border-light); display: flex; align-items: center; justify-content: center;">
<span class="material-icons" style="color: var(--text-tertiary);">add</span>
</div>
</div>

<div style="color: var(--text-tertiary); font-size: 14px; margin-bottom: var(--space-md);">
<span class="pulse"></span>
刚刚有新朋友加入!
</div>
</div>

<div class="card">
<h4 style="margin-bottom: var(--space-md);">餐厅信息</h4>
<div style="display: flex; margin-bottom: var(--space-md);">
<div style="width: 80px; height: 80px; border-radius: var(--radius-sm); background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80'); background-size: cover; background-position: center;"></div>
<div style="margin-left: var(--space-md);">
<div style="font-weight: 500;">深蓝餐厅</div>
<div style="color: var(--text-tertiary); font-size: 14px; margin-top: var(--space-xs);">创意西餐 | ¥¥¥</div>
<div style="display: flex; align-items: center; margin-top: var(--space-xs);">
<span class="material-icons" style="font-size: 16px; color: var(--neon-yellow); margin-right: 2px;">star</span>
<span>4.6</span>
<span style="margin-left: var(--space-md); color: var(--text-tertiary);">距您1.2km</span>
</div>
</div>
</div>
<a href="#map" style="display: block; height: 120px; border-radius: var(--radius-sm); background-image: url('https://i.imgur.com/2Z18SXa.png'); background-size: cover; background-position: center; margin-bottom: var(--space-sm);"></a>
<div style="color: var(--text-tertiary); font-size: 14px;">中央商务区波特兰街89号</div>
</div>

<div style="margin-bottom: var(--space-xl); padding: var(--space-md) 0;">
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-md);">
<div>
<div style="color: var(--text-tertiary);">人均费用</div>
<div style="font-size: 20px; font-weight: 600; color: var(--neon-pink);">¥128</div>
</div>
<div>
<div style="color: var(--text-tertiary);">剩余名额</div>
<div style="font-size: 20px; font-weight: 600;">3位</div>
</div>
</div>

<a href="#join-confirmation" class="button primary full">
<span class="button-icon material-icons">check_circle</span>
立即加入
</a>
</div>
</div>
</div>

<!-- 创建饭局页 -->
<div class="screen" id="create-feast">
<div class="header">
<button class="icon-button" onclick="window.location.href='#home'">
<span class="material-icons">arrow_back</span>
</button>
<div class="header-title">创建新饭局</div>
</div>

<div class="full-content">
<div class="form-group">
<label class="form-label">饭局标题</label>
<input type="text" class="form-input" placeholder="给你的饭局起个吸引人的名字">
</div>

<div class="form-group">
<label class="form-label">饭局时间</label>
<div style="display: flex; gap: var(--space-md);">
<input type="date" class="form-input" style="flex: 1;">
<input type="time" class="form-input" style="flex: 1;">
</div>
</div>

<div class="form-group">
<label class="form-label">选择餐厅</label>
<div style="position: relative;">
<input type="text" class="form-input" placeholder="搜索餐厅...">
<span class="material-icons" style="position: absolute; right: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--text-tertiary);">search</span>
</div>
</div>

<div class="form-group">
<label class="form-label">饭局描述</label>
<textarea class="form-input" placeholder="描述一下你的饭局内容、氛围、适合什么样的人参加等..."></textarea>
</div>

<div class="form-group">
<label class="form-label">人数上限</label>
<select class="form-select">
<option>2人</option>
<option>4人</option>
<option selected>6人</option>
<option>8人</option>
<option>10人</option>
<option>不限</option>
</select>
</div>

<div class="form-group">
<label class="form-label">人均预算</label>
<div style="position: relative;">
<input type="number" class="form-input" placeholder="输入人均消费金额">
<span style="position: absolute; left: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--text-primary);">¥</span>
</div>
</div>

<div class="form-group">
<label class="form-label">添加标签 (最多选择3个)</label>
<div class="tags-container" style="margin-top: 0;">
<span class="tag highlighted">美食探索</span>
<span class="tag">创意料理</span>
<span class="tag">聊天交友</span>
<span class="tag">职场社交</span>
<span class="tag">音乐</span>
<span class="tag">电影</span>
<span class="tag">艺术</span>
<span class="tag">读书会</span>
<span class="tag">创业</span>
<span class="tag">科技</span>
<span class="tag">游戏</span>
<span class="tag">运动</span>
</div>
</div>

<div class="form-group">
<label class="form-label">饭局封面</label>
<div style="background: var(--bg-card); border-radius: var(--radius-md); height: 150px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border-light);">
<span class="material-icons" style="font-size: 36px; color: var(--text-tertiary);">add_photo_alternate</span>
</div>
</div>

<div class="form-group">
<label class="form-label">饭局类型</label>
<div style="display: flex; gap: var(--space-md);">
<div style="flex: 1; background: var(--bg-card); padding: var(--space-md); border-radius: var(--radius-md); text-align: center; border: 2px solid var(--primary);">
<span class="material-icons" style="font-size: 36px; color: var(--primary);">group</span>
<div style="margin-top: var(--space-xs);">公开饭局</div>
<div style="font-size: 12px; color: var(--text-tertiary);">所有人可见</div>
</div>
<div style="flex: 1; background: var(--bg-card); padding: var(--space-md); border-radius: var(--radius-md); text-align: center; border: 1px solid var(--border-light);">
<span class="material-icons" style="font-size: 36px; color: var(--text-tertiary);">lock</span>
<div style="margin-top: var(--space-xs);">私密饭局</div>
<div style="font-size: 12px; color: var(--text-tertiary);">仅邀请可见</div>
</div>
</div>
</div>

<a href="#home" class="button primary full" style="margin: var(--space-xl) 0;">
<span class="button-icon material-icons">celebration</span>
发布饭局
</a>
</div>
</div>

<!-- 附近餐厅/地图页 -->
<div class="screen" id="nearby">
<div class="header">
<div class="header-title">附近饭局</div>
<div class="header-action">
<button class="icon-button">
<span class="material-icons">filter_list</span>
</button>
</div>
</div>

<div style="position: absolute; top: 80px; left: 0; right: 0; bottom: 80px; background-image: url('https://i.imgur.com/4N1QiVN.png'); background-size: cover; background-position: center;">
<!-- 地图标记 -->
<div style="position: absolute; top: 30%; left: 45%; background: var(--neon-pink); width: 16px; height: 16px; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--neon-pink);"></div>

<div style="position: absolute; top: 50%; left: 30%; background: var(--primary); width: 16px; height: 16px; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--primary);"></div>

<div style="position: absolute; top: 40%; left: 70%; background: var(--neon-green); width: 16px; height: 16px; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--neon-green);"></div>

<!-- 当前选中地点 -->
<div style="position: absolute; top: 65%; left: 50%; transform: translateX(-50%); background: white; border-radius: var(--radius-md); padding: var(--space-sm); width: 90%; box-shadow: var(--shadow-card);">
<div style="display: flex;">
<div style="width: 80px; height: 80px; border-radius: var(--radius-sm); background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80'); background-size: cover; background-position: center;"></div>
<div style="margin-left: var(--space-md); flex: 1; color: var(--bg-dark);">
<div style="font-weight: 600;">创意料理夜 @ 深蓝餐厅</div>
<div style="font-size: 14px; opacity: 0.7; margin-bottom: var(--space-xs);">今晚 19:30 · 1.2km</div>
<div style="display: flex; gap: var(--space-xs);">
<span style="background: var(--primary); color: white; padding: 2px 8px; border-radius: 10px; font-size: 12px;">3/6人</span>
<span style="background: var(--neon-pink); color: white; padding: 2px 8px; border-radius: 10px; font-size: 12px;">¥128/位</span>
</div>
</div>
<div style="display: flex; align-items: center;">
<span class="material-icons" style="color: var(--bg-dark);">navigate_next</span>
</div>
</div>
</div>
</div>

<div class="categories" style="position: absolute; top: 90px; left: var(--space-md); right: var(--space-md); z-index: 10; background: rgba(18,18,18,0.8); padding: var(--space-sm); border-radius: var(--radius-full);">
<div class="category-item active">全部</div>
<div class="category-item">创意料理</div>
<div class="category-item">红酒品鉴</div>
<div class="category-item">咖啡馆</div>
<div class="category-item">日料</div>
</div>

<div class="nav-bar">
<a href="#home" class="nav-item">
<span class="material-icons nav-icon">explore</span>
<span>发现</span>
</a>
<a href="#nearby" class="nav-item active">
<span class="material-icons nav-icon">map</span>
<span>附近</span>
</a>
<a href="#messages" class="nav-item">
<span class="material-icons nav-icon">chat</span>
<span>消息</span>
</a>
<a href="#profile" class="nav-item">
<span class="material-icons nav-icon">person</span>
<span>我的</span>
</a>
</div>
</div>

<!-- 消息列表页 -->
<div class="screen" id="messages">
<div class="header">
<div class="header-title">消息</div>
<div class="header-action">
<button class="icon-button">
<span class="material-icons">edit</span>
</button>
</div>
</div>

<div class="content">
<div class="search-bar">
<span class="material-icons search-icon">search</span>
<input type="text" class="search-input" placeholder="搜索消息...">
</div>

<div class="categories">
<div class="category-item active">全部</div>
<div class="category-item">饭局</div>
<div class="category-item">好友</div>
<div class="category-item">系统</div>
</div>

<a href="#chat" class="card" style="margin-bottom: var(--space-md); padding: var(--space-md);">
<div style="display: flex; align-items: center;">
<div style="position: relative;">
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="avatar">
<span style="position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; background: var(--neon-green); border-radius: 50%; border: 2px solid var(--bg-card);"></span>
</div>
<div style="margin-left: var(--space-md); flex: 1;">
<div style="display: flex; justify-content: space-between;">
<div style="font-weight: 500;">Alex Chen</div>
<div style="font-size: 12px; color: var(--text-tertiary);">14:30</div>
</div>
<div style="display: flex; justify-content: space-between; margin-top: var(--space-xs);">
<div style="color: var(--text-secondary); font-size: 14px;">期待今晚见到你!我已经准备...</div>
```html
<div style="background: var(--primary); color: white; font-size: 12px; height: 20px; width: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">2</div>
</div>
</div>
</div>
</a>

<a href="#feast-chat" class="card" style="margin-bottom: var(--space-md); padding: var(--space-md);">
<div style="display: flex; align-items: center;">
<div style="position: relative;">
<div style="width: 50px; height: 50px; border-radius: var(--radius-md); background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80'); background-size: cover; background-position: center;"></div>
</div>
<div style="margin-left: var(--space-md); flex: 1;">
<div style="display: flex; justify-content: space-between;">
<div style="font-weight: 500;">创意料理夜 (6人)</div>
<div style="font-size: 12px; color: var(--text-tertiary);">12:05</div>
</div>
<div style="display: flex; justify-content: space-between; margin-top: var(--space-xs);">
<div style="color: var(--text-secondary); font-size: 14px;">Alex: 大家可以提前10分钟到餐厅...</div>
<div style="background: var(--primary); color: white; font-size: 12px; height: 20px; width: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">5</div>
</div>
</div>
</div>
</a>

<a href="#chat" class="card" style="margin-bottom: var(--space-md); padding: var(--space-md);">
<div style="display: flex; align-items: center;">
<div style="position: relative;">
<img src="https://randomuser.me/api/portraits/women/44.jpg" class="avatar">
</div>
<div style="margin-left: var(--space-md); flex: 1;">
<div style="display: flex; justify-content: space-between;">
<div style="font-weight: 500;">Sophia Lin</div>
<div style="font-size: 12px; color: var(--text-tertiary);">昨天</div>
</div>
<div style="display: flex; justify-content: space-between; margin-top: var(--space-xs);">
<div style="color: var(--text-secondary); font-size: 14px;">我很喜欢上次的红酒品鉴!下次...</div>
</div>
</div>
</div>
</a>

<a href="#chat" class="card" style="margin-bottom: var(--space-md); padding: var(--space-md);">
<div style="display: flex; align-items: center;">
<div style="position: relative;">
<img src="https://randomuser.me/api/portraits/men/85.jpg" class="avatar">
</div>
<div style="margin-left: var(--space-md); flex: 1;">
<div style="display: flex; justify-content: space-between;">
<div style="font-weight: 500;">Jack Zhang</div>
<div style="font-size: 12px; color: var(--text-tertiary);">上周</div>
</div>
<div style="display: flex; justify-content: space-between; margin-top: var(--space-xs);">
<div style="color: var(--text-tertiary); font-size: 14px;">你已成功加入科技创业者交流会</div>
</div>
</div>
</div>
</a>

<div class="card" style="margin-bottom: var(--space-md); padding: var(--space-md); background: rgba(140, 82, 255, 0.1); border: 1px solid var(--primary);">
<div style="display: flex; align-items: center;">
<div style="position: relative;">
<div style="width: 50px; height: 50px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center;">
<span class="material-icons" style="color: white; font-size: 28px;">notifications</span>
</div>
</div>
<div style="margin-left: var(--space-md); flex: 1;">
<div style="display: flex; justify-content: space-between;">
<div style="font-weight: 500;">系统通知</div>
<div style="font-size: 12px; color: var(--text-tertiary);">3天前</div>
</div>
<div style="display: flex; justify-content: space-between; margin-top: var(--space-xs);">
<div style="color: var(--primary); font-size: 14px;">你的饭局评价获得了5个赞!查看...</div>
<div style="background: var(--primary); color: white; font-size: 12px; height: 20px; width: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;">1</div>
</div>
</div>
</div>
</div>
</div>

<div class="nav-bar">
<a href="#home" class="nav-item">
<span class="material-icons nav-icon">explore</span>
<span>发现</span>
</a>
<a href="#nearby" class="nav-item">
<span class="material-icons nav-icon">map</span>
<span>附近</span>
</a>
<a href="#messages" class="nav-item active">
<span class="material-icons nav-icon">chat</span>
<span>消息</span>
</a>
<a href="#profile" class="nav-item">
<span class="material-icons nav-icon">person</span>
<span>我的</span>
</a>
</div>
</div>

<!-- 聊天页面 -->
<div class="screen" id="chat">
<div class="header">
<button class="icon-button" onclick="window.location.href='#messages'">
<span class="material-icons">arrow_back</span>
</button>
<div class="header-title" style="display: flex; align-items: center;">
<div>Alex Chen</div>
<div style="width: 8px; height: 8px; background: var(--neon-green); border-radius: 50%; margin-left: var(--space-xs);"></div>
</div>
<div class="header-action">
<button class="icon-button">
<span class="material-icons">more_vert</span>
</button>
</div>
</div>

<div style="height: calc(100% - 140px); overflow-y: auto; padding: var(--space-md);">
<div style="text-align: center; color: var(--text-tertiary); font-size: 12px; margin: var(--space-md) 0;">
今天 14:25
</div>

<div class="chat-message">
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="message-avatar">
<div class="message-content">
<div class="message-bubble">
嘿!很高兴你加入了今晚的创意料理夜!
</div>
<div class="message-time">14:25</div>
</div>
</div>

<div class="chat-message">
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="message-avatar">
<div class="message-content">
<div class="message-bubble">
我是主办人Alex,今晚的主厨会带来一些分子料理的新创作,希望你会喜欢!
</div>
<div class="message-time">14:26</div>
</div>
</div>

<div class="chat-message outgoing">
<img src="https://randomuser.me/api/portraits/women/33.jpg" class="message-avatar">
<div class="message-content">
<div class="message-bubble">
你好Alex!我很期待今晚的活动,我对分子料理很感兴趣!
</div>
<div class="message-time">14:28</div>
</div>
</div>

<div class="chat-message">
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="message-avatar">
<div class="message-content">
<div class="message-bubble">
太好了!今晚除了美食,我们还会讨论一些创意料理的趋势和技巧,你有什么特别感兴趣的方面吗?
</div>
<div class="message-time">14:30</div>
</div>
</div>

<div class="chat-message outgoing">
<img src="https://randomuser.me/api/portraits/women/33.jpg" class="message-avatar">
<div class="message-content">
<div class="message-bubble">
我最近在尝试一些植物性料理,对可持续美食很感兴趣。希望能听到大家的经验和想法!
</div>
<div class="message-time">14:45</div>
</div>
</div>
</div>

<div style="position: absolute; bottom: 0; left: 0; right: 0; padding: var(--space-md); background: var(--bg-dark); border-top: 1px solid var(--border-light); display: flex; align-items: center;">
<input type="text" placeholder="发送消息..." class="chat-input">
<button class="icon-button" style="background: var(--primary);">
<span class="material-icons" style="color: white;">send</span>
</button>
</div>
</div>

<!-- 个人资料页 -->
<div class="screen" id="profile">
<div class="profile-header">
<img src="https://randomuser.me/api/portraits/women/33.jpg" class="profile-avatar">
<h2>Lisa Wang</h2>
<div style="color: rgba(255,255,255,0.7);">美食探险家 | 摄影爱好者</div>
</div>

<div class="content" style="padding-top: 0;">
<div class="profile-stats">
<div class="stat-item">
<div class="stat-value">15</div>
<div class="stat-label">已参与饭局</div>
</div>
<div class="stat-item">
<div class="stat-value">3</div>
<div class="stat-label">已创建饭局</div>
</div>
<div class="stat-item">
<div class="stat-value">28</div>
<div class="stat-label">好友</div>
</div>
</div>

<div class="card" style="display: flex; justify-content: space-between; align-items: center;">
<div>
<div style="font-weight: 500;">社交信用分</div>
<div style="font-size: 20px; font-weight: 700; color: var(--neon-green); display: flex; align-items: center;">
<span>4.9</span>
<span class="material-icons" style="font-size: 16px; margin-left: var(--space-xs);">verified</span>
</div>
</div>
<div style="width: 50px; height: 50px; border-radius: var(--radius-full); background: var(--neon-green); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 15px rgba(0, 255, 133, 0.5);">
<span class="material-icons" style="color: var(--bg-dark); font-size: 28px;">emoji_events</span>
</div>
</div>

<div class="section-title">兴趣标签</div>
<div class="tags-container">
<span class="tag highlighted">分子料理</span>
<span class="tag highlighted">咖啡文化</span>
<span class="tag highlighted">摄影</span>
<span class="tag">旅行</span>
<span class="tag">艺术展览</span>
<span class="tag">音乐剧</span>
<span class="tag">建筑设计</span>
</div>

<div class="section-title">即将参加</div>
<a href="#feast-detail" class="card" style="margin-bottom: var(--space-md); padding: var(--space-md);">
<div style="display: flex; align-items: center;">
<div style="width: 60px; height: 60px; border-radius: var(--radius-md); background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80'); background-size: cover; background-position: center; margin-right: var(--space-md);"></div>
<div>
<div style="font-weight: 500;">创意料理夜 @ 深蓝餐厅</div>
<div style="color: var(--text-secondary); font-size: 14px; margin-top: var(--space-xs);">今晚 19:30 · 3/6人</div>
</div>
</div>
</a>

<div class="section-title">我的动态</div>
<div class="card">
<div style="display: flex;">
<img src="https://randomuser.me/api/portraits/women/33.jpg" class="avatar small">
<div style="margin-left: var(--space-md); flex: 1;">
<div style="font-weight: 500;">Lisa Wang</div>
<div style="color: var(--text-tertiary); font-size: 12px;">昨天 · 公开</div>
</div>
</div>
<p style="margin: var(--space-md) 0; color: var(--text-secondary);">
昨天参加了"爵士与红酒之夜",遇到了几位志同道合的朋友,聊得很开心!音乐氛围很棒,红酒也很精选。感谢 @Sophia 的组织!
</p>
<div style="border-radius: var(--radius-md); overflow: hidden; height: 150px; background-image: url('https://images.unsplash.com/photo-1470225620780-dba8ba36b745?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80'); background-size: cover; background-position: center; margin-bottom: var(--space-md);"></div>

<div style="display: flex; align-items: center; color: var(--text-tertiary);">
<div style="display: flex; align-items: center; margin-right: var(--space-lg);">
<span class="material-icons" style="font-size: 18px; margin-right: var(--space-xs);">favorite</span>
<span>12</span>
</div>
<div style="display: flex; align-items: center;">
<span class="material-icons" style="font-size: 18px; margin-right: var(--space-xs);">comment</span>
<span>3</span>
</div>
</div>
</div>

<div style="height: 80px;"></div>
</div>

<div class="nav-bar">
<a href="#home" class="nav-item">
<span class="material-icons nav-icon">explore</span>
<span>发现</span>
</a>
<a href="#nearby" class="nav-item">
<span class="material-icons nav-icon">map</span>
<span>附近</span>
</a>
<a href="#messages" class="nav-item">
<span class="material-icons nav-icon">chat</span>
<span>消息</span>
</a>
<a href="#profile" class="nav-item active">
<span class="material-icons nav-icon">person</span>
<span>我的</span>
</a>
</div>
</div>

<!-- 加入饭局确认页 -->
<div class="screen" id="join-confirmation">
<div class="header">
<button class="icon-button" onclick="window.location.href='#feast-detail'">
<span class="material-icons">arrow_back</span>
</button>
<div class="header-title">确认加入</div>
</div>

<div class="full-content" style="display: flex; flex-direction: column; align-items: center; padding-top: var(--space-xl);">
<div style="width: 100px; height: 100px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); box-shadow: 0 0 20px rgba(140, 82, 255, 0.4);">
<span class="material-icons" style="font-size: 48px; color: white;">restaurant</span>
</div>

<h2 style="margin-bottom: var(--space-md);">创意料理夜 @ 深蓝餐厅</h2>

<div style="text-align: center; color: var(--text-secondary); margin-bottom: var(--space-xl); padding: 0 var(--space-lg);">
你即将加入由 <span style="color: var(--primary);">Alex Chen</span> 主办的饭局,与其他美食爱好者一起探索创意料理!
</div>

<div class="card" style="width: 100%;">
<h4 style="margin-bottom: var(--space-md);">饭局详情</h4>
<div style="display: flex; justify-content: space-between; margin-bottom: var(--space-sm);">
<div style="color: var(--text-tertiary);">时间</div>
<div>今晚 19:30-21:30</div>
</div>
<div style="display: flex; justify-content: space-between; margin-bottom: var(--space-sm);">
<div style="color: var(--text-tertiary);">地点</div>
<div>深蓝餐厅 (1.2km)</div>
</div>
<div style="display: flex; justify-content: space-between; margin-bottom: var(--space-sm);">
<div style="color: var(--text-tertiary);">人均费用</div>
<div style="color: var(--neon-pink); font-weight: 600;">¥128</div>
</div>
<div style="display: flex; justify-content: space-between;">
<div style="color: var(--text-tertiary);">已报名</div>
<div>3/6人</div>
</div>
</div>

<div class="form-group" style="width: 100%; margin-top: var(--space-lg);">
<label class="form-label">留言给主办人 (选填)</label>
<textarea class="form-input" placeholder="有什么想告诉主办人的吗?比如饮食禁忌、过敏原等..."></textarea>
</div>

<div style="margin-top: var(--space-xl); width: 100%;">
<a href="#join-success" class="button primary full" style="margin-bottom: var(--space-md);">
<span class="button-icon material-icons">check_circle</span>
确认加入
</a>
<a href="#feast-detail" class="button outline full">返回</a>
</div>
</div>
</div>

<!-- 加入成功页面 -->
<div class="screen" id="join-success">
<div style="height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-xl);">
<div style="width: 120px; height: 120px; background: var(--neon-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); box-shadow: 0 0 30px rgba(0, 255, 133, 0.4); animation: pulse 1.5s infinite;">
<span class="material-icons" style="font-size: 60px; color: white;">check</span>
</div>

<h2 style="margin-bottom: var(--space-md); text-align: center;">饭局加入成功!</h2>

<div style="text-align: center; color: var(--text-secondary); margin-bottom: var(--space-xl);">
恭喜你成功加入「创意料理夜」!<br>已将饭局信息添加到你的日程中,我们向你发送了一条确认消息。
</div>

<div style="display: flex; gap: var(--space-md); width: 100%; margin-bottom: var(--space-xl);">
<a href="#messages" class="button outline" style="flex: 1;">
<span class="button-icon material-icons">chat</span>
聊天群组
</a>
<a href="#feast-detail" class="button outline" style="flex: 1;">
<span class="button-icon material-icons">info</span>
饭局详情
</a>
</div>

<a href="#home" class="button primary full">
<span class="button-icon material-icons">explore</span>
继续探索
</a>
</div>
</div>

</div>

</body>
</html>

做一个冥想的 app/ios/网页应用,请模拟用户来提出需求,请自己构思好功能需求和界面,然后设计 UI/UX,然后给我所有页面的 html

给一个优秀案例,让 AI 能了解你所希望的效果,增加后修正效果明显。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
我想开发一个{类似小宇宙的播客app},现在需要输出高保真的原型图,请通过以下方式帮我完成所有界面的原型设计,并确保这些原型界面可以直接用于开发:
1、用户体验分析:先分析这个 App 的主要功能和用户需求,确定核心交互逻辑。
2、产品界面规划:作为产品经理,定义关键界面,确保信息架构合理。
3、高保真 UI 设计:作为 UI 设计师,设计贴近真实 iOS/Android 设计规范的界面,使用现代化的 UI 元素,使其具有良好的视觉体验。
4、HTML 原型实现:使用 HTML + Tailwind CSS(或 Bootstrap)生成所有原型界面,并使用 FontAwesome(或其他开源 UI 组件)让界面更加精美、接近真实的 App 设计。
拆分代码文件,保持结构清晰:
5、每个界面应作为独立的 HTML 文件存放,例如 home.html、profile.html、settings.html 等。
- index.html 作为主入口,不直接写入所有界面的 HTML 代码,而是使用 iframe 的方式嵌入这些 HTML 片段,并将所有页面直接平铺展示在 index 页面中,而不是跳转链接。
- 真实感增强:
- 界面尺寸应模拟 iPhone 15 Pro,并让界面圆角化,使其更像真实的手机界面。
- 使用真实的 UI 图片,而非占位符图片(可从 Unsplash、Pexels、Apple 官方 UI 资源中选择)。
- 添加顶部状态栏(模拟 iOS 状态栏),并包含 App 导航栏(类似 iOS 底部 Tab Bar)。
请按照以上要求生成完整的 HTML 代码,并确保其可用于实际开发。

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
#角色
你是一位资深前端开发工程师

#设计风格
优雅的极简主义美学与功能的完美平衡;
清新柔和的渐变配色与品牌色系浑然一体;
恰到好处的留白设计;
轻盈通透的沉浸式体验;
信息层级通过微妙的阴影过渡与模块化卡片布局清晰呈现;
用户视线能自然聚焦核心功能;
精心打磨的圆角;
细腻的微交互;
舒适的视觉比例;
强调色:按APP类型选择;

#技术规格
1、单个页面尺寸为 375x812PX,带有描边,模拟手机边框
2、图标:引用在线矢量图标库内的图标(任何图标都不要带有背景色块、底板、外框)
3、图片: 使用开源图片网站链接的形式引入
4、样式必须引入 tailwindcss CDN来完成
5、不要显示状态栏以及时间、信号等信息
6、不要显示非移动端元素,如滚动条
7、所有文字只可以使用黑色或白色

#任务:
这是一个【番茄钟】APP
模拟产品经理输出详细功能设计、信息架构设计,结合{设计风格}和{技术规格}输出一套UI设计方案。
生成一个Ul.html文件,放入所有页面,横向排列。
现在生成前【2】个页面。

说明

杜架的记录与分享相关信息:

🙌 如果你阅读到这里,相信我们一定是同道中人,有任何想法,欢迎私聊我,微信号:trumandu007
⚡️ 如果你也是在西安地区从事 IT 相关工作,欢迎私信加入我建的 『西安 IT 技术圈』微信群,我们是一个什么样的群体? 为什么要做『西安 IT 技术圈』
👬🏻 朋友,都看到这了,确定不关注一下么 👇

trumandu_wechat_2022.png

参考资料