-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (78 loc) · 3.02 KB
/
index.html
File metadata and controls
96 lines (78 loc) · 3.02 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
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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SSDUT-KeepMoving</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>SSDUT-KeepMoving</h1>
<h2>坐地日行八万里,巡天遥看一千河。</h2>
<div class="container">
<!-- 画布区域 -->
<div class="preview">
<canvas id="canvas" width="585" height="1266"></canvas>
</div>
<!-- 选项 -->
<div class="options">
<div class="input-group">
<span>上传头像:</span>
<input type="file" id="imageInput" accept="image/*">
</div>
<div class="input-group">
<span>输入ID:</span>
<input type="text" id="textInput" placeholder="输入ID,eg:究极暴龙战士">
</div>
<div class="input-group">
<span>输入日期:</span>
<input type="text" id="DateInput" placeholder="输入日期,eg:2024/02/29">
</div>
<div class="input-group">
<span>手机时间:</span>
<input type="text" id="RightNowTimeInput" placeholder="输入手机时间,eg:12:30">
</div>
<div class="input-group">
<span>手机电量:</span>
<input type="text" id="DianLianInput" placeholder="输入手机电量,eg:80">
</div>
<div class="input-group">
<button onclick="generateImage()">生成图片</button>
<button onclick="downloadImage()">下载图片</button>
</div>
</div>
</div>
<footer>
<div class="footer-container">
<div class="profile">
<a href="https://github.com/AcidBarium" target="_blank">
<img src="tou.jpg" alt="头像" class="avatar">
</a>
<br>
<div>
<p style="display: inline;">沟槽的作者:</p>
<a href="https://github.com/AcidBarium" style="display: inline;">Acidbarium</a>
</div>
<br>
<div>
<p style="display: inline;">项目地址:</p>
<a href="https://github.com/AcidBarium/SSDUT-KeepMoving" style="display: inline;">
SSDUT-KeepMoving
</a>
</div>
<p>联系方式:acidbarium@163.com</p>
</div>
<div class="description">
<h3>使用说明:</h3>
<p>1. 上传头像,输入相关信息。</p>
<p>2. 点击“生成图片”按钮。</p>
<p>3. 预览后可下载图片。</p>
</div>
<div class="speciall">
<h2>注意:仅用于学习交流!</h3>
</div>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>