1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-05 00:21:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

登录页样式美化;暂时隐藏前端用户注销账号功能;更新api文档

This commit is contained in:
2022-04-30 22:29:08 +08:00
parent e9a02e905f
commit 4ae54d255c
15 changed files with 50 additions and 24 deletions

View File

@@ -1,2 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1650199034026" class="icon" viewBox="0 0 1088 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1668" xmlns:xlink="http://www.w3.org/1999/xlink" width="212.5" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); } <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1088 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="212.5" height="200"><path d="M492.50419 1021.607197c-175.510584-20.915438-326.587843-116.410081-416.96556-264.033415-31.341176-51.169266-57.245617-118.456852-70.357742-184.017474C1.21527 553.728217 0 533.452395 0 483.114629c0-57.117694 0.895462-68.950587 6.971813-98.948569C46.755917 188.315693 186.575938 49.519058 387.031539 6.217066 411.145056 0.908254 424.768873 0.012792 477.98491 0.012792 547.703036-0.243054 569.897705 3.210871 631.428748 22.655193c72.084704 23.473901 128.690705 57.949194 185.360668 112.764271 69.718126 67.543432 111.037308 142.442446 132.208592 238.832551 9.018583 39.912028 9.914045 131.760861 1.790924 170.201772-4.669196 22.386554-4.669196 25.712556-0.639615 33.068139 4.989003 9.594237 4.669196 9.338391 74.131474 27.119711 52.576421 13.559856 58.97258 16.693973 62.746313 31.660984 4.093541 15.862473-33.707754 97.861222-68.247009 147.87918-84.877021 123.190009-217.085613 206.595913-370.785297 233.459778-30.829483 5.372773-123.445855 7.67539-155.426647 3.965618z m135.150825-195.082828a363.301792 363.301792 0 0 0 172.312505-86.156253c34.859063-31.149291 73.555821-85.708521 89.226408-126.643934 14.775126-38.440911 15.990396-37.609411-91.592987-64.473276-30.509675-7.931236-36.010371-16.118319-31.341176-48.354957 11.896854-81.678942-20.659591-171.864774-83.981558-231.54093a291.025203 291.025203 0 0 0-364.069331-28.207058c-82.510442 57.117694-126.132242 149.542181-121.2072 257.509333 4.093541 91.273179 40.103913 170.457619 106.623959 234.611087 84.557213 81.99875 206.020259 116.729889 324.02938 93.255988z" fill="#4D74FF"></path></svg>
</style></defs><path d="M492.50419 1021.607197c-175.510584-20.915438-326.587843-116.410081-416.96556-264.033415-31.341176-51.169266-57.245617-118.456852-70.357742-184.017474C1.21527 553.728217 0 533.452395 0 483.114629c0-57.117694 0.895462-68.950587 6.971813-98.948569C46.755917 188.315693 186.575938 49.519058 387.031539 6.217066 411.145056 0.908254 424.768873 0.012792 477.98491 0.012792 547.703036-0.243054 569.897705 3.210871 631.428748 22.655193c72.084704 23.473901 128.690705 57.949194 185.360668 112.764271 69.718126 67.543432 111.037308 142.442446 132.208592 238.832551 9.018583 39.912028 9.914045 131.760861 1.790924 170.201772-4.669196 22.386554-4.669196 25.712556-0.639615 33.068139 4.989003 9.594237 4.669196 9.338391 74.131474 27.119711 52.576421 13.559856 58.97258 16.693973 62.746313 31.660984 4.093541 15.862473-33.707754 97.861222-68.247009 147.87918-84.877021 123.190009-217.085613 206.595913-370.785297 233.459778-30.829483 5.372773-123.445855 7.67539-155.426647 3.965618z m135.150825-195.082828a363.301792 363.301792 0 0 0 172.312505-86.156253c34.859063-31.149291 73.555821-85.708521 89.226408-126.643934 14.775126-38.440911 15.990396-37.609411-91.592987-64.473276-30.509675-7.931236-36.010371-16.118319-31.341176-48.354957 11.896854-81.678942-20.659591-171.864774-83.981558-231.54093a291.025203 291.025203 0 0 0-364.069331-28.207058c-82.510442 57.117694-126.132242 149.542181-121.2072 257.509333 4.093541 91.273179 40.103913 170.457619 106.623959 234.611087 84.557213 81.99875 206.020259 116.729889 324.02938 93.255988z" fill="#4D74FF" p-id="1669"></path></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M896 117.333333A32 32 0 0 1 928 149.333333v618.666667a32 32 0 0 1-32 32H654.272l-117.589333 118.528a32 32 0 0 1-42.794667 2.389333l-2.453333-2.197333-119.786667-118.72H128a32 32 0 0 1-31.850667-28.928L96 768V149.333333A32 32 0 0 1 128 117.333333zM544 597.333333h-64v64h64v-64z m0-330.666666h-64v256h64v-256z" fill="#111111"></path></svg> <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M896 117.333333A32 32 0 0 1 928 149.333333v618.666667a32 32 0 0 1-32 32H654.272l-117.589333 118.528a32 32 0 0 1-42.794667 2.389333l-2.453333-2.197333-119.786667-118.72H128a32 32 0 0 1-31.850667-28.928L96 768V149.333333A32 32 0 0 1 128 117.333333zM544 597.333333h-64v64h64v-64z m0-330.666666h-64v256h64v-256z" fill="#111111"></path></svg>

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 627 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2839" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M512 1024C229.222 1024 0 794.778 0 512S229.222 0 512 0s512 229.222 512 512-229.222 512-512 512z m259.149-568.883h-290.74a25.293 25.293 0 0 0-25.292 25.293l-0.026 63.206c0 13.952 11.315 25.293 25.267 25.293h177.024c13.978 0 25.293 11.315 25.293 25.267v12.646a75.853 75.853 0 0 1-75.853 75.853h-240.23a25.293 25.293 0 0 1-25.267-25.293V417.203a75.853 75.853 0 0 1 75.827-75.853h353.946a25.293 25.293 0 0 0 25.267-25.292l0.077-63.207a25.293 25.293 0 0 0-25.268-25.293H417.152a189.62 189.62 0 0 0-189.62 189.645V771.15c0 13.977 11.316 25.293 25.294 25.293h372.94a170.65 170.65 0 0 0 170.65-170.65V480.384a25.293 25.293 0 0 0-25.293-25.267z" fill="#0056ff" p-id="2840"></path></svg> <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M512 1024C229.222 1024 0 794.778 0 512S229.222 0 512 0s512 229.222 512 512-229.222 512-512 512z m259.149-568.883h-290.74a25.293 25.293 0 0 0-25.292 25.293l-0.026 63.206c0 13.952 11.315 25.293 25.267 25.293h177.024c13.978 0 25.293 11.315 25.293 25.267v12.646a75.853 75.853 0 0 1-75.853 75.853h-240.23a25.293 25.293 0 0 1-25.267-25.293V417.203a75.853 75.853 0 0 1 75.827-75.853h353.946a25.293 25.293 0 0 0 25.267-25.292l0.077-63.207a25.293 25.293 0 0 0-25.268-25.293H417.152a189.62 189.62 0 0 0-189.62 189.645V771.15c0 13.977 11.316 25.293 25.294 25.293h372.94a170.65 170.65 0 0 0 170.65-170.65V480.384a25.293 25.293 0 0 0-25.293-25.267z" fill="#0056ff"></path></svg>

Before

Width:  |  Height:  |  Size: 967 B

After

Width:  |  Height:  |  Size: 930 B

View File

@@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2487" width="200" height="200"><path d="M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z" fill="#0056ff" p-id="2488"></path></svg> <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z" fill="#0056ff"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 960c-246.4 0-448-201.6-448-448s201.6-448 448-448 448 201.6 448 448-201.6 448-448 448z" fill="#C71D23"></path><path d="M721.664 467.968h-235.52a22.272 22.272 0 0 0-20.736 20.736v51.776c0 10.368 10.368 20.736 20.736 20.736H628.48c10.368 0 20.736 10.304 20.736 20.672v10.368c0 33.664-28.48 62.08-62.144 62.08H392.896a22.272 22.272 0 0 1-20.672-20.672V436.928c0-33.664 28.48-62.08 62.08-62.08h287.36a22.272 22.272 0 0 0 20.736-20.736v-51.84a22.272 22.272 0 0 0-20.736-20.672h-287.36A152.96 152.96 0 0 0 281.6 434.368v287.36c0 10.304 10.368 20.672 20.736 20.672h302.848c75.072 0 137.216-62.08 137.216-137.216v-116.48a22.272 22.272 0 0 0-20.736-20.736z" fill="#FFFFFF"></path></svg>

After

Width:  |  Height:  |  Size: 971 B

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 85.333333C276.266667 85.333333 85.333333 276.266667 85.333333 512a426.410667 426.410667 0 0 0 291.754667 404.821333c21.333333 3.712 29.312-9.088 29.312-20.309333 0-10.112-0.554667-43.690667-0.554667-79.445333-107.178667 19.754667-134.912-26.112-143.445333-50.133334-4.821333-12.288-25.6-50.133333-43.733333-60.288-14.933333-7.978667-36.266667-27.733333-0.554667-28.245333 33.621333-0.554667 57.6 30.933333 65.621333 43.733333 38.4 64.512 99.754667 46.378667 124.245334 35.2 3.754667-27.733333 14.933333-46.378667 27.221333-57.045333-94.933333-10.666667-194.133333-47.488-194.133333-210.688 0-46.421333 16.512-84.778667 43.733333-114.688-4.266667-10.666667-19.2-54.4 4.266667-113.066667 0 0 35.712-11.178667 117.333333 43.776a395.946667 395.946667 0 0 1 106.666667-14.421333c36.266667 0 72.533333 4.778667 106.666666 14.378667 81.578667-55.466667 117.333333-43.690667 117.333334-43.690667 23.466667 58.666667 8.533333 102.4 4.266666 113.066667 27.178667 29.866667 43.733333 67.712 43.733334 114.645333 0 163.754667-99.712 200.021333-194.645334 210.688 15.445333 13.312 28.8 38.912 28.8 78.933333 0 57.045333-0.554667 102.912-0.554666 117.333334 0 11.178667 8.021333 24.490667 29.354666 20.224A427.349333 427.349333 0 0 0 938.666667 512c0-235.733333-190.933333-426.666667-426.666667-426.666667z" fill="#000000"></path></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64z" fill="#3DAB53"></path><path d="M508.032 598.912c-47.744 0-87.808-30.784-89.344-89.344-3.072-53.888 44.672-90.88 90.88-92.416 52.352-1.536 84.736 58.56 84.736 58.56l135.552-49.28S674.368 281.6 521.856 281.6C380.16 283.136 281.6 380.16 281.6 512.64c0 117.12 92.416 235.712 235.648 229.504 158.72-6.144 212.608-144.768 212.608-144.768l-140.16-46.208c1.536 1.536-27.776 47.744-81.664 47.744" fill="#FFFFFF"></path></svg>

After

Width:  |  Height:  |  Size: 757 B

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512.268258 64.433103c-247.183323 0-447.569968 200.380501-447.569968 447.563825 0 247.189467 200.385621 447.570992 447.569968 447.570992s447.569968-200.380501 447.569968-447.569968c0-247.184347-200.386645-447.564849-447.569968-447.564849z m252.85872 584.692787c-18.997168 16.287968-43.668709-53.628042-47.2134-42.875198-8.642616 26.161294-12.695154 43.646184-38.148944 72.127602-1.35972 1.521494 29.43056 12.647032 38.148944 36.396051 8.346713 22.756875 24.596797 58.811973-81.725503 70.125906-62.389428 6.635801-107.471099-33.244533-111.964932-32.85648-8.325212 0.734126-4.618747 0-13.568528 0-7.321804 0-7.807126 0.534468-14.69685 0-1.899307-0.140272-22.632985 32.85648-115.364231 32.85648-71.878798 0-90.48177-45.243445-76.032701-70.125906 14.464428-24.877342 38.579999-32.122354 35.176604-36.06636-16.73643-19.39546-28.287904-40.1404-35.176604-58.882621-1.705793-4.666869-3.135137-9.209848-4.262434-13.574672-2.611931-10.008479-22.627866 58.76385-44.111028 42.875198-21.483162-15.883533-19.567472-56.309597-5.659014-95.003248 14.033372-39.006959 49.37687-76.562049 49.771065-84.854496 1.412962-30.849665-3.044011-35.975235 0-44.078263 6.780169-18.149391 15.034732-11.190043 15.034733-20.609788 0-118.64476 88.172909-214.829571 196.933079-214.829571 108.755051 0 196.928984 96.184811 196.928984 214.829571 0 4.554242 11.815637 0 17.474651 20.609788 1.165181 4.256291 1.968931 20.684531 0.58771 44.078263-0.658358 11.238165 29.954789 24.914202 45.777913 84.854496 15.845649 59.945414 0 88.215912-7.909514 95.003248z" fill="#68A5E1"></path></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,8 +1,28 @@
<button class="btn-third-party" id="btn_gitee" onclick="thirdPartyLogin('gitee')">Gitee</button> <style>
<button class="btn-third-party" id="btn_oschina" onclick="thirdPartyLogin('OSCHINA')">OSCHINA</button> .btn-third-party {
<button class="btn-third-party" id="btn_feishu" onclick="thirdPartyLogin('feishu')">飞书</button> border: 0;
<button class="btn-third-party" id="btn_github" onclick="thirdPartyLogin('GitHub')">GitHub(不稳定)</button> width: 30px;
<button class="btn-third-party" id="btn_qq" onclick="thirdPartyLogin('qq')">QQ</button> height: 30px;
user-select: none;
cursor: pointer;
margin-right: 5px;
margin-left: 5px;
vertical-align: middle;
transition: all 0.2s;
}
.btn-third-party:hover {
transform: scale(1.2) rotate(-6deg);
}
</style>
<div style="color: #ebebeb;">
<img class="btn-third-party" id="btn_gitee" src="/assets/image/svg/third-party-login/gitee.svg" onclick="thirdPartyLogin('gitee')" alt="Gitee" /> |
<img class="btn-third-party" id="btn_oschina" src="/assets/image/svg/third-party-login/oschina.svg" onclick="thirdPartyLogin('OSCHINA')" alt="OSCHINA" /> |
<img class="btn-third-party" id="btn_feishu" src="/assets/image/svg/third-party-login/feishu.svg" onclick="thirdPartyLogin('feishu')" alt="飞书" /> |
<img class="btn-third-party" id="btn_github" src="/assets/image/svg/third-party-login/github.svg" onclick="thirdPartyLogin('GitHub')" alt="GitHub (不稳定)" /> |
<img class="btn-third-party" id="btn_qq" src="/assets/image/svg/third-party-login/qq.svg" onclick="thirdPartyLogin('qq')" alt="QQ (不稳定)" />
</div>
<script> <script>
// 第三方授权登录逻辑 // 第三方授权登录逻辑
function thirdPartyLogin(platform) { function thirdPartyLogin(platform) {

View File

@@ -1,7 +1,7 @@
<div> <div>
<h2>第三方账号管理</h2> <h2>第三方账号管理</h2>
<%- include("../component/third-party-manage.html"); %> <%- include("../component/third-party-manage.html"); %>
<hr> <!-- <hr>
<h2>注销账号</h2> <h2>注销账号</h2>
<%- include("../component/account-cancellation.html"); %> <%- include("../component/account-cancellation.html"); %> -->
</div> </div>

View File

@@ -65,11 +65,13 @@
</div> </div>
<button class="btn-submit">登录</button> <button class="btn-submit">登录</button>
<p> <p>
快捷登录:<%- include("./dashboard/component/third-party-login-button.html"); %> <a href="/register">注册账号</a>
</p>
<p>
<a href="/register">注册</a>
</p> </p>
<hr style="opacity: .3;">
<div>
<p style="margin-bottom: 0;">快捷登录</p>
<%- include("./dashboard/component/third-party-login-button.html"); %>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -85,8 +87,8 @@
var isOnLogin = false; var isOnLogin = false;
// 用户正常登录逻辑 // 用户正常登录逻辑
$("#username").val("xiaomo"); // $("#username").val("xiaomo");
$("#password").val("123456"); // $("#password").val("123456");
$("#username").keydown(function (event) { $("#username").keydown(function (event) {
if (event.keyCode === 13) { if (event.keyCode === 13) {
if ($("#password").val() === "") { if ($("#password").val() === "") {

View File

@@ -1484,7 +1484,7 @@ GET /api/file/getFileByBookId
|=== |===
|类型|名称|说明|类型 |类型|名称|说明|类型
|**Query**|**bookId** + |**Query**|**bookId** +
__可选__|bookId|integer (int32) __必填__|bookId|integer (int32)
|=== |===
@@ -1509,7 +1509,7 @@ __可选__|bookId|integer (int32)
====== 请求 path ====== 请求 path
---- ----
/api/file/getFileByBookId /api/file/getFileByBookId?bookId=0
---- ----

View File

@@ -4474,7 +4474,7 @@ table.CodeRay td.code>pre{padding:0}
</div></div></td> </div></div></td>
<td class="tableblock halign-left valign-middle"><div><div class="paragraph"> <td class="tableblock halign-left valign-middle"><div><div class="paragraph">
<p><strong>bookId</strong><br> <p><strong>bookId</strong><br>
<em>可选</em></p> <em>必填</em></p>
</div></div></td> </div></div></td>
<td class="tableblock halign-left valign-middle"><div><div class="paragraph"> <td class="tableblock halign-left valign-middle"><div><div class="paragraph">
<p>bookId</p> <p>bookId</p>
@@ -4565,7 +4565,7 @@ table.CodeRay td.code>pre{padding:0}
<h6 id="_请求_path_21">请求 path</h6> <h6 id="_请求_path_21">请求 path</h6>
<div class="listingblock"> <div class="listingblock">
<div class="content"> <div class="content">
<pre>/api/file/getFileByBookId</pre> <pre>/api/file/getFileByBookId?bookId=0</pre>
</div> </div>
</div> </div>
</div> </div>
@@ -7270,7 +7270,7 @@ table.CodeRay td.code>pre{padding:0}
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2022-04-23 22:13:02 SGT Last updated 2022-04-29 17:55:55 CST
</div> </div>
</div> </div>
</body> </body>