Skip to content

Commit 8fed161

Browse files
committed
new(guides/tutorials/office-blank-icon): 新增修复 Office 文件图标变白的教程
添加分类 guides/tutorials,用于收纳小教程 将 windows-install 文章排序设为 1.5,以使教程目录排在首位
1 parent 4f75fb0 commit 8fed161

File tree

6 files changed

+124
-2
lines changed

6 files changed

+124
-2
lines changed

src/.vuepress/navbar.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
import { navbar } from "vuepress-theme-hope";
22

3-
export default navbar(["intro", "/", "guides/", "contact"]);
3+
export default navbar([
4+
"intro",
5+
"/",
6+
{
7+
text: "指南",
8+
icon: "laptop-code",
9+
link: "/guides/",
10+
children: ["/guides/", "/guides/tutorials/"],
11+
},
12+
"contact",
13+
]);

src/guides/tutorials/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: 教程
3+
index: false
4+
article: false
5+
timeline: false
6+
icon: book-open
7+
dir:
8+
order: 1
9+
---
10+
11+
<!-- markdownlint-disable MD033 -->
12+
13+
<Catalog />
14+
15+
<!-- markdownlint-enable MD033 -->
38.8 KB
Loading
38.4 KB
Loading
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
---
2+
title: Office文件图标异常(变白)修复指南
3+
author: 月見団子
4+
isOriginal: true
5+
icon: file
6+
date: 2025-11-20
7+
category: 教程
8+
tag:
9+
- Windows
10+
- Office
11+
order: 1
12+
---
13+
14+
## 问题描述
15+
16+
在卸载 WPS Office 后,原本正常的 Microsoft Office(Word, Excel, PowerPoint)文件图标变为白色,无法正常显示。
17+
18+
![变白的图标](./assets/5ae36bdea52f0bacabf3d2090d32f296.png)
19+
20+
虽并不妨碍正常使用,但无法通过文件图标辅助判断文件内容却是一件令笔者难以接受的事情。
21+
22+
<!-- more -->
23+
24+
## 修复方法
25+
26+
请按照以下顺序依次尝试,若上一种方法无效,再尝试下一种。
27+
28+
### 方法一:重置默认应用
29+
30+
这是最安全、首选的解决方法。
31+
32+
1. 打开 `设置` > `应用` > `默认应用`
33+
2. 在搜索栏中分别搜索 `.docx`, `.xlsx`, `.pptx` 等文件类型,将其默认打开程序修改为对应的 Microsoft Office 应用程序。
34+
35+
> 如果此方法无效,请尝试方法二。
36+
37+
### 方法二:修复 Microsoft Office 程序
38+
39+
此方法可以修复 Office 本身的关联设置。
40+
41+
1. 打开 `控制面板` > `程序` > `程序和功能`
42+
2. 在程序列表中找到 `Microsoft Office` 程序。
43+
3. 右键点击它,选择 `更改`
44+
4. 在弹出的窗口中选择 `快速修复` 并按照提示完成操作。如果快速修复无效,可以尝试 `联机修复`
45+
46+
> 如果上述方法均无效,则可能需要使用方法三来清除更深层的注册表关联。
47+
48+
### 方法三:手动清理注册表并修复
49+
50+
::: warning
51+
此操作涉及修改系统注册表,存在一定风险。请在操作时务必谨慎,建议备份整个注册表。
52+
:::
53+
54+
**操作步骤:**
55+
56+
1. 打开注册表编辑器并做好备份
57+
- 按下 `Win+R` 键打开“运行”对话框。
58+
- 输入 `regedit` 并按下回车。
59+
- 右键最外层的 `计算机` 项,选择 `导出` 到桌面即可。
60+
2. 清理 `HKEY_CLASSES_ROOT` 下的关联
61+
- 展开 `HKEY_CLASSES_ROOT` 项。
62+
- 找到并依次选中以下 **12个** 子项:
63+
- `.doc`
64+
- `.docx`
65+
- `.ppt`
66+
- `.pptx`
67+
- `.xls`
68+
- `.xlsx`
69+
- `Excel.Sheet.8`
70+
- `Excel.Sheet.12`
71+
- `PowerPoint.Show.8`
72+
- `PowerPoint.Show.12`
73+
- `Word.Document.8`
74+
- `Word.Document.12`
75+
- 选中后,按下键盘上的 `Delete` 键,在弹出的确认窗口中确认进行删除。
76+
3. 清理 `HKEY_CURRENT_USER` 下的文件扩展名记录
77+
- 展开 `HKEY_CURRENT_USER`
78+
- 依次展开以下路径:
79+
`Software` > `Microsoft` > `Windows` > `CurrentVersion` > `Explorer` > `FileExts`
80+
-`FileExts` 子项下,找到并依次选中以下 **6个** 子项:
81+
- `.doc`
82+
- `.docx`
83+
- `.ppt`
84+
- `.pptx`
85+
- `.xls`
86+
- `.xlsx`
87+
- 选中后,同样按下 `Delete` 键删除它们。
88+
4. 再次修复 Office 程序
89+
- 返回 `控制面板` > `程序` > `程序和功能`
90+
- 再次找到 `Microsoft Office` 程序,右键选择 `更改` > `修复`
91+
5. 完成
92+
- 此时通常无需重启,文件图标即可恢复正常显示。
93+
- 但为了确保系统稳定,**建议重启电脑**后再开始使用 Office 套件。
94+
95+
这样,Office 就能恢复正常的图标 Ciallo~ (∠・ω< )⌒★
96+
97+
![修复完成后的图标](./assets/c7751663ce959fc8d8627ce5490192f7.png)

src/guides/windows-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ date: 2025-03-09
77
category: 教程
88
tag:
99
- Windows
10-
order: 1
10+
order: 1.5
1111
---
1212

1313
本文介绍了 Windows 安装/重新安装的基本方式。

0 commit comments

Comments
 (0)