mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
style(public): update layout and text in index.html and index.md
Update layout and text to improve user experience
This commit is contained in:
parent
8c7c01032c
commit
09e4d8ccf7
@ -85,7 +85,12 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
.stats-header h3 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.refresh-icon {
|
||||
@ -190,7 +195,7 @@
|
||||
const summaryHtml = `
|
||||
<div class="stats-summary">
|
||||
<div class="stats-header">
|
||||
<h3>📊 接口调用统计 <span class="refresh-icon">🔄</span></h3>
|
||||
<h3>📊 接口调用次数 <span class="refresh-icon">🔄</span></h3>
|
||||
</div>
|
||||
<div class="stats-grid">
|
||||
<div class="stats-item">今日总调用:${todayCalls} 次</div>
|
||||
|
@ -1,12 +1,14 @@
|
||||
# Random-Api 随机文件API
|
||||
|
||||
## 接口统计
|
||||
## 统计
|
||||
<div class="stats-container">
|
||||
<div id="stats-summary"></div>
|
||||
<div id="stats-detail"></div>
|
||||
</div>
|
||||
|
||||
## 图片接口
|
||||
---
|
||||
|
||||
## 图片接口说明
|
||||
|
||||
| 种类 | 请求地址 |
|
||||
| ---------- | ---------------- |
|
||||
@ -19,9 +21,9 @@
|
||||
| AI绘图 | [https://random-api.czl.net/pic/ai](https://random-api.czl.net/pic/ai) |
|
||||
| 加载 | [https://random-api.czl.net/pic/loading](https://random-api.czl.net/pic/loading) |
|
||||
|
||||
---
|
||||
|
||||
## 视频接口
|
||||
|
||||
## 视频接口说明
|
||||
| 种类 | 请求地址 |
|
||||
| ---------- | ---------------- |
|
||||
| 所有 | [https://random-api.czl.net/video/all](https://random-api.czl.net/video/all) |
|
||||
|
Loading…
x
Reference in New Issue
Block a user