-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1282 lines (1153 loc) · 49.6 KB
/
index.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
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?15d67fa79ffa3a3c4688ab6b1fc185ea";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="土狗名片生成器 - 一键生成你的专属土味名片,让你的名片充满个性与趣味。支持自定义头像、个人信息、技能展示、收款方式等多种功能。">
<meta name="keywords" content="土狗名片,名片生成器,个性名片,趣味名片,土味名片,在线制作,免费生成">
<meta name="author" content="BeilunYang">
<meta property="og:title" content="土狗名片生成器">
<meta property="og:description" content="一键生成你的专属土味名片,让你的名片充满个性与趣味">
<meta property="og:image" content="favicon.png">
<meta property="og:url" content="https://tudog.bitibiti.com">
<title>土狗名片生成器 - 免费生成你的专属土味名片</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="apple-touch-icon" href="favicon.png">
<link rel="canonical" href="https://tudog.bitibiti.com">
<script src="html2canvas.min.js"></script>
<style>
body {
font-family: "MS Gothic", "SimSun", monospace;
margin: 0;
padding: 0;
overflow: hidden;
height: 100vh;
}
.page {
height: 100vh;
padding: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
}
.retro-page {
background-color: #cc0000;
}
.container {
display: flex;
flex-direction: row;
gap: 20px;
max-width: 1200px;
margin: 0 auto;
align-items: start;
height: calc(100% - 80px); /* 减去导出按钮的高度 */
overflow: hidden;
}
.card-container {
height: 100%;
overflow-y: auto;
padding-right: 10px;
/* 自定义滚动条样式 */
scrollbar-width: thin;
scrollbar-color: #ff00ff #ffff99;
}
/* Webkit浏览器的滚动条样式 */
.card-container::-webkit-scrollbar {
width: 8px;
}
.card-container::-webkit-scrollbar-track {
background: #ffff99;
border: 1px solid #ff00ff;
}
.card-container::-webkit-scrollbar-thumb {
background: #ff00ff;
border: 1px solid #0000ff;
}
.card {
width: 400px;
background: #ffff99;
border: 3px double blue;
padding: 8px;
margin: 0 auto;
position: relative;
}
.header {
border-bottom: 2px dashed #000;
margin-bottom: 8px;
padding-bottom: 8px;
}
.avatar {
width: 80px;
height: 80px;
border: 2px solid #ff00ff;
float: left;
margin-right: 10px;
}
.info {
font-size: 11px;
line-height: 1.5;
}
marquee {
background: #00ff00;
color: #ff0000;
}
.export-buttons {
text-align: center;
margin-top: 10px;
display: flex;
justify-content: center;
gap: 20px;
}
.retro-export {
background: linear-gradient(45deg, #ff0000, #ff6b6b);
color: white;
border: 3px double yellow;
text-shadow: 2px 2px 0 #000;
font-family: "MS Gothic", "SimSun", monospace;
}
.settings-panel {
width: 300px;
height: 100%;
overflow-y: auto;
padding-right: 10px;
/* 自定义滚动条样式 */
scrollbar-width: thin;
scrollbar-color: #ff00ff #ffff99;
}
/* Webkit浏览器的滚动条样式 */
.settings-panel::-webkit-scrollbar {
width: 8px;
}
.settings-panel::-webkit-scrollbar-track {
background: #ffff99;
border: 1px solid #ff00ff;
}
.settings-panel::-webkit-scrollbar-thumb {
background: #ff00ff;
border: 1px solid #0000ff;
}
.settings-section {
background: #ffff99;
border: 3px double #ff00ff;
padding: 15px;
margin-bottom: 15px;
font-family: "MS Gothic", "SimSun", monospace;
}
.settings-title {
text-align: center;
color: #ff0000;
font-weight: bold;
text-decoration: underline;
margin-bottom: 15px;
background: #00ff00;
padding: 5px;
border: 1px solid blue;
}
.input-group {
margin-bottom: 10px;
background: #ffffff;
padding: 8px;
border: 1px dashed #ff0000;
}
.input-group label {
display: block;
color: #0000ff;
font-weight: bold;
margin-bottom: 5px;
}
.input-group input, .input-group textarea {
width: 100%;
padding: 5px;
border: 2px solid #ff00ff;
background: #ffffcc;
font-family: "MS Gothic", "SimSun", monospace;
}
.input-group textarea {
height: 60px;
resize: vertical;
}
.image-upload {
text-align: center;
margin-bottom: 15px;
}
.image-preview {
max-width: 100px;
max-height: 100px;
margin-bottom: 10px;
cursor: pointer;
border: 2px solid #ff00ff;
}
.upload-label {
background: #00ff00;
color: #ff0000;
border: 2px solid #0000ff;
font-weight: bold;
padding: 5px 10px;
cursor: pointer;
}
input[type="file"] {
display: none;
}
.business-content {
position: relative;
overflow: hidden;
}
.business-watermark {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-30deg);
font-size: 48px;
font-weight: bold;
color: rgba(255, 0, 0, 0.4);
white-space: nowrap;
pointer-events: none;
font-family: "Impact", "Arial Black", sans-serif;
text-transform: uppercase;
letter-spacing: 2px;
z-index: 0;
}
.sad-quote {
position: absolute;
font-size: 12px;
color: #ff00ff;
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
transform: rotate(-15deg);
background: rgba(255, 255, 153, 0.9);
padding: 5px;
border: 1px dashed #0000ff;
width: 100px;
text-align: center;
line-height: 1.2;
}
.emoji-decoration {
position: absolute;
width: 50px;
height: 50px;
opacity: 0.8;
z-index: 1;
pointer-events: none;
}
.skill-section {
background: #000000;
border: 3px double #ff00ff;
padding: 8px;
margin: 10px 0;
position: relative;
overflow: hidden;
}
.skill-title {
text-align: center;
color: #0000ff;
font-weight: bold;
margin-bottom: 8px;
text-decoration: underline;
background-color: #000000;
padding: 5px;
border: 2px solid #ff0000;
position: relative;
z-index: 1;
font-size: 18px;
letter-spacing: 2px;
}
.skill-title:before,
.skill-title:after {
content: "★";
color: #ff0000;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.skill-title:before {
left: 10px;
}
.skill-title:after {
right: 10px;
}
.skill-item {
margin: 5px 0;
padding-left: 20px;
position: relative;
background: #000000;
border: 1px dashed #ff0000;
padding: 5px 5px 5px 25px;
color: #ff0000;
}
.skill-item:before {
content: "★";
color: #ff0000;
position: absolute;
left: 5px;
top: 50%;
transform: translateY(-50%);
}
.skill-item:after {
content: "666";
color: #ff0000;
font-size: 10px;
position: absolute;
right: 5px;
top: 50%;
transform: translateY(-50%);
}
.skill-background {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-30deg);
font-size: 72px;
color: rgba(255, 0, 0, 0.2);
white-space: nowrap;
pointer-events: none;
font-family: "Impact", "Arial Black", sans-serif;
z-index: 0;
}
.qr-section {
position: relative;
overflow: hidden;
}
.qr-watermark {
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%) rotate(-30deg);
font-size: 24px;
color: rgba(255, 0, 0, 0.2);
white-space: nowrap;
pointer-events: none;
font-family: "MS Gothic", "SimSun", monospace;
z-index: 0;
width: 150px;
text-align: center;
}
.card-footer {
text-align: center;
margin-top: 10px;
padding-top: 5px;
border-top: 1px dashed #ff0000;
color: #0000ff;
font-size: 12px;
font-family: "Courier New", monospace;
letter-spacing: 1px;
text-shadow: 1px 1px 0 #ffff00;
}
.page-footer {
text-align: center;
margin-top: 20px;
padding: 10px;
color: #ffff00;
font-family: "Courier New", monospace;
font-size: 12px;
text-shadow: 1px 1px 0 #000000;
}
.page-footer a {
color: #00ffff;
text-decoration: none;
font-weight: bold;
}
.page-footer a:hover {
text-decoration: underline;
color: #ff00ff;
}
.page-title {
text-align: center;
color: #ffff00;
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
text-shadow: 2px 2px 0 #000000;
font-family: "MS Gothic", "SimSun", monospace;
letter-spacing: 2px;
position: relative;
display: inline-block;
padding: 0 30px;
}
.page-title:before,
.page-title:after {
content: "★";
color: #00ffff;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.page-title:before {
left: 0;
}
.page-title:after {
right: 0;
}
.theme-switch {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
background: #00ff00;
border: 2px solid #ff0000;
color: #ff0000;
padding: 5px 10px;
font-family: "MS Gothic", "SimSun", monospace;
cursor: pointer;
font-weight: bold;
text-shadow: 1px 1px 0 #000000;
}
/* 阴间主题样式 */
.dark-theme {
background-color: #000000 !important;
}
.dark-theme .card {
background: #000000 !important;
border: 2px solid #39FF14 !important;
color: #00ff00 !important;
}
.dark-theme .skill-section {
border-color: #39FF14 !important;
background: #000000 !important;
}
.dark-theme .skill-item {
border-color: #39FF14 !important;
color: #39FF14 !important;
text-shadow: 0 0 5px #39FF14 !important;
}
.dark-theme .skill-title {
color: #39FF14 !important;
border-color: #39FF14 !important;
text-shadow: 0 0 10px #39FF14 !important;
}
.dark-theme .info {
color: #39FF14 !important;
text-shadow: 0 0 5px #39FF14 !important;
}
.dark-theme .business-content {
background: #000000 !important;
border-color: #39FF14 !important;
}
.dark-theme .business-line span {
color: #39FF14 !important;
text-shadow: 0 0 5px #39FF14 !important;
}
.dark-theme .business-watermark {
color: rgba(255, 255, 0, 0.4) !important;
}
.dark-theme .welcome {
background: #000000 !important;
color: #39FF14 !important;
border: 1px solid #39FF14 !important;
text-shadow: 0 0 5px #39FF14 !important;
}
.dark-theme .qr-watermark {
color: rgba(255, 0, 0, 0.4) !important;
}
.dark-theme .page-title {
color: #39FF14 !important;
text-shadow: 0 0 10px #39FF14 !important;
}
.dark-theme .card-footer {
color: #39FF14 !important;
border-color: #39FF14 !important;
text-shadow: 0 0 5px #39FF14 !important;
}
.dark-theme .theme-switch {
background: #000000 !important;
border-color: #39FF14 !important;
color: #39FF14 !important;
text-shadow: 0 0 5px #39FF14 !important;
}
/* 响应式布局 */
@media screen and (max-width: 767px) {
/* 平板端 */
.container {
flex-direction: column;
height: auto;
padding: 10px;
}
.card {
width: 100%;
max-width: 400px;
}
.settings-panel {
width: 100%;
}
.page {
height: auto;
overflow: auto;
}
}
@media screen and (max-width: 480px) {
/* 移动端 */
body {
font-size: 14px;
}
.page {
padding: 20px 0;
}
.card {
width: 100%;
padding: 5px;
}
.avatar {
width: 60px;
height: 60px;
}
.info {
font-size: 10px;
}
.settings-section {
padding: 10px;
}
.input-group {
margin-bottom: 8px;
}
.theme-switch {
top: 10px;
right: 10px;
font-size: 12px;
padding: 3px 8px;
}
.page-title {
font-size: 20px;
margin-bottom: 15px;
margin-top: 40px;
}
.export-buttons {
margin-top: 20px;
}
.export-button {
font-size: 14px;
padding: 8px 15px;
}
.skill-title {
font-size: 16px;
}
.skill-item {
font-size: 12px;
}
.business-watermark {
font-size: 36px;
}
.qr-code {
width: 120px !important;
height: 120px !important;
}
}
/* 优化滚动条 */
@media screen and (max-width: 767px) {
body {
overflow: auto;
}
.card-container,
.settings-panel {
height: auto;
overflow: visible;
}
}
</style>
</head>
<body>
<div class="page retro-page">
<button class="theme-switch" onclick="toggleTheme()">切换阴间主题</button>
<div class="page-title">土狗名片生成器</div>
<div class="container">
<div class="card-container">
<div class="card">
<!-- 左上角空白处装饰 -->
<img class="emoji-decoration" src="emoji1.png"
style="bottom: 20px; left: 20px; transform: rotate(-8deg);" alt="">
<!-- 右上角空白处装饰 -->
<img class="emoji-decoration" src="emoji2.png"
style="top: 20px; right: 20px; transform: rotate(8deg);" alt="">
<!-- 右下角空白处装饰 -->
<img class="emoji-decoration" src="emoji3.png"
style="bottom: 80px; right: 20px; transform: rotate(-5deg);" alt="">
<div class="sad-quote" style="top: 70px; right: 30px;">
<span class="sad-text"></span>
</div>
<div style="background: #00ff00; color: #ff0000; padding: 5px; text-align: center;" class="welcome">
</div>
<div class="header">
<img class="avatar avatar-image" src="doge.png" alt="doge头像">
<div class="info">
<div id="name">
<span>♪</span> 姓名:<span class="name"></span><br>
</div>
<div id="position">
<span>♫</span> 职位:<span class="position"></span><br>
</div>
<div id="company">
<span>♪</span> 公司:<span class="company"></span><br>
</div>
<div id="gender">
<span>♫</span> 性别:<span class="gender"></span><br>
</div>
<div id="age">
<span>♪</span> 年龄:<span class="age"></span><br>
</div>
<div id="height">
<span>♫</span> 身高:<span class="height"></span><br>
</div>
<div id="weight">
<span>♪</span> 体重:<span class="weight"></span><br>
</div>
<div id="contact">
<span>♫</span> 联系方式:<span class="contact-phone"></span>
</div>
</div>
</div>
<div class="skill-section">
<div class="skill-title"></div>
<div class="skill-background">NIUBILITY</div>
<div class="skill-list">
</div>
</div>
<div style="clear: both; border-top: 2px dashed #000; padding-top: 10px; margin-top: 10px;">
<div style="border: 1px solid red; height: 50px; display: flex; align-items: center; justify-content: center;">
<span style="color: red; font-weight: bold;" class="notice"></span>
</div>
<div style="margin: 15px 0; border: 3px double #00ff00; padding: 10px; background: #ffff00;">
<div style="text-align: center; color: #ff0000; font-weight: bold; text-decoration: underline; margin-bottom: 10px;" class="business-title">
</div>
<div style="background: #ffffff; padding: 8px; border: 1px solid #ff00ff;" class="business-content">
<div class="business-watermark"></div>
<div class="business-line"><span style="color: #0000ff;">✦</span> <span class="business-line1"></span></div>
<div class="business-line"><span style="color: #0000ff;">✦</span> <span class="business-line2"></span></div>
<div class="business-line"><span style="color: #0000ff;">✦</span> <span class="business-line3"></span></div>
<div class="business-line"><span style="color: #0000ff;">✦</span> <span class="business-line4"></span></div>
<div style="text-align: right; color: #ff0000; font-size: 10px;">
—— <span class="business-footer"></span> ——
</div>
</div>
<div style="text-align: center; margin-top: 8px;">
<span style="background: #ff0000; color: #ffff00; padding: 2px 5px;" class="business-slogan">
</span>
</div>
</div>
<div style="background: #ff99cc; padding: 5px; margin: 10px 0; border: 2px dotted blue;">
<span>💰</span> <span class="wallet-title"></span>:<br>
<div style="word-break: break-all; background: #ffffff; padding: 5px; font-family: monospace;" class="wallet-address">
</div>
</div>
<div style="text-align: center;">
<div class="qr-section">
<div class="qr-watermark"></div>
<p style="color: red; text-decoration: underline;" class="qr-title"></p>
<img class="qr-code" src="alipay.jpg"
alt="收款码"
style="width: 150px; height: 150px; border: 3px solid #ff00ff;">
</div>
</div>
<div class="card-footer">
tudog.bitibiti.com 土狗名片生成器
</div>
</div>
</div>
</div>
<div class="settings-panel">
<div class="settings-section">
<div class="settings-title">★★ 基本信息设置 ★★</div>
<div class="image-upload">
<img class="image-preview" id="avatar-preview"
src="doge.png"
onclick="document.getElementById('avatar-input').click()">
<br>
<label class="upload-label" for="avatar-input">
★ 更换头像 ★
</label>
<input type="file" id="avatar-input" accept="image/*"
onchange="handleImageChange(this, 'avatar')">
</div>
<div class="input-group">
<label>姓名</label>
<input type="text" id="name-input" value="BeilunYang">
</div>
<div class="input-group">
<label>职位</label>
<input type="text" id="position-input" value="首席CV工程师">
</div>
<div class="input-group">
<label>公司</label>
<input type="text" id="company-input" value="CV科技有限公司">
</div>
<div class="input-group">
<label>性别</label>
<input type="text" id="gender-input" value="纯爷们">
</div>
<div class="input-group">
<label>欢迎语</label>
<input type="text" id="welcome-input" value="没事别瞎BB,有事先转账">
</div>
<div class="input-group">
<label>年龄</label>
<input type="text" id="age-input" value="25岁">
</div>
<div class="input-group">
<label>身高</label>
<input type="text" id="height-input" value="175cm">
</div>
<div class="input-group">
<label>体重</label>
<input type="text" id="weight-input" value="65kg">
</div>
<div class="input-group">
<label>技能标题</label>
<input type="text" id="skill-title-input" value="个人技能">
</div>
<div class="input-group">
<label>个人技能(每行一个)</label>
<textarea id="skills-input" rows="4">精通Ctrl+C和Ctrl+V
熟练掌握面向百度编程,从不手写代码
熟悉面向ChatGPT编程,从不动脑思考
擅长面向GitHub抄代码,从不自己实现
精通面向Stack Overflow开发,从不看文档</textarea>
</div>
</div>
<div class="settings-section">
<div class="settings-title">★★ 业务设置 ★★</div>
<div class="input-group">
<label>背景水印</label>
<input type="text" id="watermark-input" value="FBI WARNING">
</div>
<div class="input-group">
<label>重要提示</label>
<input type="text" id="notice-input" value="穷逼绕道,闲聊勿扰">
</div>
<div class="input-group">
<label>业务标题</label>
<input type="text" id="business-title-input" value="高端业务(没钱勿扰)">
</div>
<div class="input-group">
<label>业务内容1</label>
<input type="text" id="business-line1-input" value="网站开发(10W起步) / APP开发(20W起) / 小程序(5W起)">
</div>
<div class="input-group">
<label>业务内容2</label>
<input type="text" id="business-line2-input" value="技术咨询(888/次) / 技术支持(2888/月) / 远程救援(666/次)">
</div>
<div class="input-group">
<label>业务内容3</label>
<input type="text" id="business-line3-input" value="网站托管(随便给钱) / 域名注册(加价50%) / 服务器租用(成本价3倍)">
</div>
<div class="input-group">
<label>业务内容4</label>
<input type="text" id="business-line4-input" value="广告位招租(天价) / 广告投放(只做大客户) / 流量变现(躺赚)">
</div>
<div class="input-group">
<label>业务底部备注</label>
<input type="text" id="business-footer-input" value="不讲价,不议价,白嫖党勿扰">
</div>
<div class="input-group">
<label>业务底部标语</label>
<input type="text" id="business-slogan-input" value="大哥说啥就是啥 | 爱要不要 | 价高质优">
</div>
</div>
<div class="settings-section">
<div class="settings-title">★★ 联系方式设置 ★★</div>
<div class="input-group">
<label>联系方式</label>
<input type="text" id="phone-input" value="123-4567-8900">
</div>
<div class="input-group">
<label>收款地址标题</label>
<input type="text" id="wallet-title-input" value="EVM 打钱专用地址(是贵族就用贵族链)">
</div>
<div class="input-group">
<label>收款地址</label>
<input type="text" id="wallet-input" value="0x1661c763b8352eea56f3d885b4a02568bdd17c56">
</div>
<div class="input-group">
<label>收款码标题</label>
<input type="text" id="qr-title-input" value="扫码打钱开启会话(支付宝--最好的聊天工具)">
</div>
<div class="input-group">
<label>收款码水印</label>
<input type="text" id="qr-watermark-input" value="锟斤拷烫烫烫">
</div>
<div class="image-upload">
<img class="image-preview" id="qr-preview"
src="alipay.jpg"
onclick="document.getElementById('qr-input').click()">
<br>
<label class="upload-label" for="qr-input">
★ 更换收款码 ★
</label>
<input type="file" id="qr-input" accept="image/*"
onchange="handleImageChange(this, 'qr')">
</div>
</div>
<div class="settings-section">
<div class="settings-title">★★ 装饰设置 ★★</div>
<div class="input-group">
<label>表情包1</label>
<div class="image-upload">
<img class="image-preview" id="emoji1-preview"
src="emoji1.png"
onclick="document.getElementById('emoji1-input').click()">
<br>
<label class="upload-label" for="emoji1-input">
★ 更换表情1 ★
</label>
<input type="file" id="emoji1-input" accept="image/*"
onchange="handleImageChange(this, 'emoji1')">
</div>
</div>
<div class="input-group">
<label>表情包2</label>
<div class="image-upload">
<img class="image-preview" id="emoji2-preview"
src="emoji2.png"
onclick="document.getElementById('emoji2-input').click()">
<br>
<label class="upload-label" for="emoji2-input">
★ 更换表情2 ★
</label>
<input type="file" id="emoji2-input" accept="image/*"
onchange="handleImageChange(this, 'emoji2')">
</div>
</div>
<div class="input-group">
<label>表情包3</label>
<div class="image-upload">
<img class="image-preview" id="emoji3-preview"
src="emoji3.png"
onclick="document.getElementById('emoji3-input').click()">
<br>
<label class="upload-label" for="emoji3-input">
★ 更换表情3 ★
</label>
<input type="file" id="emoji3-input" accept="image/*"
onchange="handleImageChange(this, 'emoji3')">
</div>
</div>
<div class="input-group">
<label>伤感文案</label>
<textarea id="sad-quote-input" rows="4">★·.·´¯`·.·★
じ☆ve 乱世メ
浅唱ゞ离歌℡
╰☆╮喂,妳欠我一个未来╭☆╯</textarea>
</div>
</div>
</div>
</div>
<div class="export-buttons">
<div style="text-align: center;">
<button class="export-button retro-export" onclick="exportCard('retro')">导出土狗名片</button>
<div style="font-size: 12px; color: #ff6b6b; margin-top: 5px; text-shadow: 1px 1px 0 #000;">
——专门发给白嫖党或小丑🤡——
</div>
</div>
</div>
<div class="page-footer">
Github: <a href="https://github.com/beilunyang/tudog-card-generator" target="_blank">BeilunYang</a>
</div>
</div>
<script>
const DEFAULT_TEXTS = {
// 基本信息
name: "BeilunYang",
position: "首席CV工程师",
company: "CV科技有限公司",
gender: "A man, Real man",
welcome: "没事别BB,有事先转账",
age: "18岁",
height: "180cm",
weight: "80kg",
// 技能相关
skillTitle: "个人技能",
skills: `专业前端切图仔
Are you Ok 级别高水平英语
精通Ctrl+C和Ctrl+V
熟悉面向ChatGPT编程,从不动脑思考
擅长面向GitHub抄代码,从不自己实现
精通面向Stack Overflow开发,从不看文档`,
// 业务相关
watermark: "FBI WARNING",
notice: "穷逼绕道,闲聊勿扰",
businessTitle: "高端业务(没钱勿扰)",
businessLine1: "网站开发(10W起步) / APP开发(20W起) / 小程序(5W起)",
businessLine2: "技术咨询(888/次) / 技术支持(2888/月) / 远程救援(666/次)",
businessLine3: "网站托管(随便给钱) / 域名注册(加价50%) / 服务器租用(成本价3倍)",
businessLine4: "广告位招租(天价) / 广告投放(只做大客户) / 流量变现(躺赚)",
businessFooter: "不讲价,不议价,白嫖党勿扰",
businessSlogan: "大哥说啥就是啥 | 爱要不要 | 价高质优",
// 联系方式
phone: "下面有支付宝收款码",
walletTitle: "EVM 打钱专用地址(是贵族就用贵族链)",
wallet: "0x1661c763b8352eea56f3d885b4a02568bdd17c56",
qrTitle: "扫码打钱开启会话(支付宝--最好的聊天工具)",
qrWatermark: "锟斤拷烫烫烫",
// 装饰文案
sadQuote: `★·.·´¯\`·.·★
じ☆ve 乱世メ
浅唱ゞ离歌℡
╰☆╮喂,妳欠我一个未来╭☆╯`
};
// 页面加载完成后立即更新卡片内容
document.addEventListener('DOMContentLoaded', function() {
// 设置所有输入框的默认值
Object.entries(DEFAULT_TEXTS).forEach(([key, value]) => {
const input = document.getElementById(`${key}-input`);
if (input) {
input.value = value;
}