12
12
< link href ="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/css/bootstrap.min.css " rel ="stylesheet ">
13
13
< script defer src ="https://cdn.bootcdn.net/ajax/libs/alpinejs/3.12.0/cdn.min.js "> </ script >
14
14
< link href ="/assets/css/style.css " rel ="stylesheet ">
15
-
16
15
</ head >
17
16
18
17
< body >
37
36
</ div >
38
37
</ div >
39
38
</ nav >
40
- < < < < < < < HEAD
41
- < main >
42
- < h1 > OpenAI API Proxy</ h1 >
43
- < br />
44
- < p x-data ="{ origin: '' } " x-init ="origin = window.location.origin ">
45
- 使用方法把官方的api连接: https://api.openai.com < br />
46
-
47
- 改为 < span class ="proxy " x-text ="origin " @click ="copyToClipboard(origin) "> </ span > 即可
48
- </ p >
49
- < br /> < br />
50
- < p > 演示站为公共服务,如有大规模使用需求请自行部署,演示站有点不堪重负</ p >
51
- </ main >
52
- =======
53
39
< div class ="container kv-main ">
54
40
< div class ="page-header " x-data ="{ origin: '' } " x-init ="origin = window.location.origin ">
55
41
< h2 > 查询 OpenaiAPI 余额</ h2 >
56
42
< p > API接口: < span class ="proxy " x-text ="origin " @click ="copyToClipboard(origin) "> </ span >
57
- ;支持批量查询,一行一个;点击清理可以清理失效的key。< a style ="text-decoration: none; " href ="/about.html "> Authorization获取方法</ a > </ p >
43
+ ;支持批量查询,一行一个;点击清理可以清理失效的key。< a style ="text-decoration: none; " href ="/about.html "> Authorization获取方法</ a > </ p >
58
44
</ div >
59
45
< main x-data ="app " x-cloak >
60
46
< p x-show.transition.opacity ="alert " :class ="alert?.type " x-text ="alert?.message "> </ p >
@@ -64,6 +50,7 @@ <h2>查询 OpenaiAPI 余额</h2>
64
50
@click ="submit($refs) "> 查询</ button >
65
51
< button class ="btn btn-secondary " @click ="clear "> 清理</ button >
66
52
</ div >
53
+ < p > </ p >
67
54
< div x-show.transition.opacity ="total && total.length > 0 " x-cloak class ="card mb-3 ">
68
55
< div class ="card-body table-responsive ">
69
56
< table class ="table ">
@@ -92,12 +79,19 @@ <h2>查询 OpenaiAPI 余额</h2>
92
79
< td x-text ="item.endDate "> </ td >
93
80
</ tr >
94
81
</ template >
95
- > > > > > > > pages
96
82
83
+ </ tbody >
84
+ </ table >
85
+ </ div >
86
+ </ div >
87
+ </ main >
88
+ < div class ="page-footer "> </ div >
97
89
98
90
</ div >
99
91
< footer class ="footer ">
100
92
< div class ="container text-center ">
93
+ <!-- <p class="text-muted" x-data="ip" x-init='$nextTick(() => {getipinfo()})' x-show.transition.opacity="ipinfo"
94
+ x-text="ipinfo"></p> -->
101
95
< p > 本程序基于Cloudflare Pages,开源于GitHub < a href ="https://github.com/x-dr/chatgptProxyAPI "
102
96
target ="_blank "> chatgptProxyAPI</ a > </ p >
103
97
</ div >
@@ -106,4 +100,4 @@ <h2>查询 OpenaiAPI 余额</h2>
106
100
< script src ="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/js/bootstrap.min.js "> </ script >
107
101
</ body >
108
102
109
- </ html>
103
+ </ html >
0 commit comments