Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
ymh0000123 committed Feb 22, 2024
1 parent ec019b6 commit 761935f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions vuepress/src/.vuepress/public/announcement/list.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[list.txt](https://github.moeyy.xyz/https://raw.githubusercontent.com/ymh0000123/XPMSL/main/announcement/list.txt)
[README.md](https://github.moeyy.xyz/https://raw.githubusercontent.com/ymh0000123/XPMSL/main/README.md)
[模块列表.txt](https://github.moeyy.xyz/https://raw.githubusercontent.com/ymh0000123/XPMSL/main/announcement/list.txt)
[Github-XPMSL-module-frp-tools.exe](https://github.com/ymh0000123/XPMSL-module-frp-tools/releases/download/V1.0/XPMSL-module-frp-tools.exe)
[镜像-XPMSL-module-frp-tools.exe](https://github.com/ymh0000123/XPMSL-module-frp-tools/releases/download/V1.0/XPMSL-module-frp-tools.exe)
5 changes: 4 additions & 1 deletion vuepress/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ title: HOME
heroImage: /ico.png
heroText: XPMSL
tagline: XPMSL官方文档
bgImage: https://xiaofeishu-picture.pages.dev/picture/bj.png
bgImage: https://xiaofeishu-picture2.pages.dev/picture/bj.webp
bgImageStyle:
background-attachment: fixed
actions:
- text: 快速上手⏱
link: /zh-cn/
type: primary

- text: 模块列表
link: /zh-cn/files
features:
- title: 简单快速
details: 使用python编写,并且有gui操作界面。
Expand Down
10 changes: 5 additions & 5 deletions vuepress/src/zh-cn/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
},
methods: {
async fetchData() {
const response = await fetch('https://xpmsl.pages.dev/announcement/list.txt');
const response = await fetch('../announcement/list.txt');
const text = await response.text();
this.items = text.split('\n').map(line => {
const match = line.match(/\[(.*?)\]\((.*?)\)/);
Expand All @@ -31,9 +31,9 @@ export default {
gap: 16px;
}
.card {
background-color: var(--info-border-color);
background: var(--info-bg-color);
border: 1px solid #4cb3d4;
background-color: var(--important-border-color);
background: var(--important-bg-color);
border: 1px solid var(--important-border-color);
padding: 16px;
width: 200px;
border-radius: 8px; /* 添加圆角 */
Expand All @@ -45,7 +45,7 @@ export default {
.box {
display: inline-block;
padding: 10px 20px; /* 设置内边距,以控制链接框大小 */
background-color: var(--info-border-color); /* 设置背景色 */
background-color: var(--important-border-color); /* 设置背景色 */
border-radius: 10px; /* 设置圆角为 10px */
color: white; /* 设置文本颜色为白色 */
text-decoration: none; /* 移除下划线 */
Expand Down
Empty file added vuepress/src/zh-cn/test.md
Empty file.

0 comments on commit 761935f

Please sign in to comment.