Skip to content

Commit 9940d9f

Browse files
committed
mod(web): add fonts.woff2
1 parent 5f5d920 commit 9940d9f

4 files changed

Lines changed: 21 additions & 4 deletions

File tree

public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ <h4>阿里云盘扫码登录v2</h4>
131131
<div class="google-consent-modal-content">
132132
<h4>隐私政策和使用条款</h4>
133133
<p style="text-align: left">
134-
请仔细阅读、理解并且同意OpenList应用的隐私政策和使用条款<br>
135-
要继续操作,我们需要您同意获取您谷歌账号以下的必要的权限</p>
134+
请仔细阅读并理解OpenList应用隐私政策和使用条款<br>
135+
要继续操作,需要同意获取您谷歌账号以下必要权限</p>
136136
<ul>
137-
<li style="text-align: left">谷歌云硬盘的读写权限</li>
137+
<li style="text-align: left">谷歌云硬盘读写权限</li>
138138
<li style="text-align: left">谷歌相册的读写权限</li>
139139
</ul>
140140
<p>

public/static/event.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ function onSelect() {
103103
}
104104
// Google弹出隐私政策和使用条款
105105
if (driver_txt_input.value === "googleui_go") {
106-
showGoogleConsent();
106+
if (server_use_input.checked)
107+
showGoogleConsent();
107108
}
108109
}

public/static/fonts.woff2

6.08 MB
Binary file not shown.

public/static/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,19 @@ a {
278278
background-color: #2a2a3b;
279279
color: #f0f0f0;
280280
}
281+
282+
283+
@font-face {
284+
font-family: 'MapleMono'; /* 自定义字体名称 */
285+
src: url('fonts.woff2') format('woff2'); /* 本地文件路径 */
286+
font-weight: normal; /* 字重 */
287+
font-style: normal; /* 样式 */
288+
font-display: swap; /* 优化加载(可选) */
289+
}
290+
291+
292+
* {
293+
font-family: "MapleMono", monospace;
294+
font-optical-sizing: auto;
295+
font-style: normal;
296+
}

0 commit comments

Comments
 (0)