Skip to content

Commit 74592a8

Browse files
committed
Update: 新主题(待完善)已完成目录栏与大纲栏
1 parent 8f67d60 commit 74592a8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+570
-282
lines changed

.vitepress/sidebar/bugs.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { bugIcon, elementIcon, htmlIcon, tsIcon, uniAppIcon, webIcon } from './i
44
const bugsSidebar: DefaultTheme.SidebarItem[] = [
55
{
66
text: bugIcon + 'BUG处理',
7-
link: '/bugs/'
7+
link: '/bugs/',
8+
items: []
89
},
910
{
1011
text: webIcon + '前端',
@@ -16,7 +17,7 @@ const bugsSidebar: DefaultTheme.SidebarItem[] = [
1617
collapsed: true,
1718
items: [
1819
{
19-
text: '🔹 img 标签加载对象存储图片后再使用 canvas 调用当前图片,导致图片跨域的问题',
20+
text: '🔹img 标签加载对象存储图片后再使用 canvas 调用当前图片,导致图片跨域的问题',
2021
link: '/bugs/web/html/canvas-use-object-storage-image-cross-domain'
2122
}
2223
]
@@ -26,7 +27,7 @@ const bugsSidebar: DefaultTheme.SidebarItem[] = [
2627
collapsed: true,
2728
items: [
2829
{
29-
text: '🔹 代码警告:TS2307: Cannot find module \'xxx\' or its corresponding type declarations.',
30+
text: '🔹代码警告:TS2307: Cannot find module \'xxx\' or its corresponding type declarations.',
3031
link: '/bugs/web/typescript/warning_ts2307'
3132
}
3233
]
@@ -36,19 +37,19 @@ const bugsSidebar: DefaultTheme.SidebarItem[] = [
3637
collapsed: true,
3738
items: [
3839
{
39-
text: '🔹 MessageBox报错Uncaught (in promise) cancel',
40+
text: '🔹MessageBox报错Uncaught (in promise) cancel',
4041
link: '/bugs/web/element-ui/messagebox_report_error_uncaught_(in_promise)_cancel'
4142
},
4243
{
43-
text: '🔹 Error: for nested data item, row-key is required.',
44+
text: '🔹Error: for nested data item, row-key is required.',
4445
link: '/bugs/web/element-ui/table_tree_json_error'
4546
},
4647
{
47-
text: '🔹 头像组件第一次地址加载报错后,数据再次获取后无法重新加载',
48+
text: '🔹头像组件第一次地址加载报错后,数据再次获取后无法重新加载',
4849
link: '/bugs/web/element-ui/el-avatar_not_update_after_refetching_the_data'
4950
},
5051
{
51-
text: '🔹 el-form 自定义一个非输入选择的值的规则,但是无法生效的问题',
52+
text: '🔹el-form 自定义一个非输入选择的值的规则,但是无法生效的问题',
5253
link: '/bugs/web/element-ui/el-form_customize_rule'
5354
}
5455
]
@@ -58,7 +59,7 @@ const bugsSidebar: DefaultTheme.SidebarItem[] = [
5859
collapsed: true,
5960
items: [
6061
{
61-
text: '🔹 新安装包覆盖安装,新增加的页面无法跳转',
62+
text: '🔹新安装包覆盖安装,新增加的页面无法跳转',
6263
link: '/bugs/web/uniapp/overwrite_install_newly_added_page_cannot_jump'
6364
}
6465
]

.vitepress/sidebar/learn.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ const learnSidebar: (DefaultTheme.SidebarItem & { icon?: string })[] = [
153153
text: gitIcon + 'Git',
154154
collapsed: true,
155155
items: [
156-
{ text: '🔸 Git常用命令', link: '/learn/version_control/git/git_common_commands' },
156+
{ text: '🔸Git常用命令', link: '/learn/version_control/git/git_common_commands' },
157157
{
158-
text: '🔸 Git将项目的某个目录分离成新的项目,并保留历史提交信息',
158+
text: '🔸Git将项目的某个目录分离成新的项目,并保留历史提交信息',
159159
link: '/learn/version_control/git/git_detached_directory_and_keep_historical_submission_records'
160160
}
161161
]
@@ -164,20 +164,20 @@ const learnSidebar: (DefaultTheme.SidebarItem & { icon?: string })[] = [
164164
text: githubIcon + 'Github',
165165
collapsed: true,
166166
items: [
167-
{ text: '🔹 README 说明文件美化教程', link: '/learn/version_control/github/readme_beautify' }
167+
{ text: '🔹README 说明文件美化教程', link: '/learn/version_control/github/readme_beautify' }
168168
]
169169
},
170170
{
171171
text: npmIcon + 'NPM',
172172
collapsed: true,
173173
items: [
174-
{ text: '🔹 NPM常用命令', link: '/learn/version_control/npm/npm_common_commands' },
174+
{ text: '🔹NPM常用命令', link: '/learn/version_control/npm/npm_common_commands' },
175175
{
176-
text: '🔸 devDependencies 和 dependencies 的区别',
176+
text: '🔸devDependencies 和 dependencies 的区别',
177177
link: '/learn/version_control/npm/the_difference_between_devDependencies_and_dependencies'
178178
},
179179
{
180-
text: '🔸 NPM 上传开源项目(或插件)',
180+
text: '🔸NPM 上传开源项目(或插件)',
181181
link: '/learn/version_control/npm/npm_upload_project'
182182
}
183183
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DefaultTheme } from 'vitepress/types/default-theme';
22

33
const androidStudioItems: DefaultTheme.SidebarItem[] = [
4-
{ text: '🔹 解决 SDK 无法下载的问题', link: '/learn/editor/android_studio/solve_sdk_unable_to_download' }
4+
{ text: '🔹解决 SDK 无法下载的问题', link: '/learn/editor/android_studio/solve_sdk_unable_to_download' }
55
]
66

77
export default androidStudioItems;

.vitepress/sidebar/learn/android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DefaultTheme } from 'vitepress/types/default-theme';
22

33
const androidItems: DefaultTheme.SidebarItem[] = [
44
{
5-
text: '🔹 通过 APK 反向编译获取 versionCode 和 versionName 等信息',
5+
text: '🔹通过 APK 反向编译获取 versionCode 和 versionName 等信息',
66
link: '/learn/web/android/get_versioncode_and_versionname_by_apk'
77
}
88
];

.vitepress/sidebar/learn/css.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const cssItems = [
2-
{ text: '🔥 Flex 布局', link: '/learn/web/css/flex' },
3-
{ text: '🔸 谈谈你对BFC的理解', link: '/learn/web/css/what_is_bfc' },
4-
{ text: '🔹 drop-shadow属性的使用', link: '/learn/web/css/the_use_of_drop_shadow' },
5-
{ text: '🔹 修改滚动条样式', link: '/learn/web/css/modify_scrollbar_style' },
6-
{ text: '🔹 文本多行自动省略号', link: '/learn/web/css/multiline_text_add_ellipsis' },
7-
{ text: '🔹 font-synthesis属性导致中文斜体不生效的问题', link: '/learn/web/css/font-synthesis_property' },
8-
{ text: '🔸 设置letter-spacing后文本无法居中的问题', link: '/learn/web/css/set_letter-spacing_text_cant_align_center' }
2+
{ text: '🔥Flex 布局', link: '/learn/web/css/flex' },
3+
{ text: '🔸谈谈你对BFC的理解', link: '/learn/web/css/what_is_bfc' },
4+
{ text: '🔹drop-shadow属性的使用', link: '/learn/web/css/the_use_of_drop_shadow' },
5+
{ text: '🔹修改滚动条样式', link: '/learn/web/css/modify_scrollbar_style' },
6+
{ text: '🔹文本多行自动省略号', link: '/learn/web/css/multiline_text_add_ellipsis' },
7+
{ text: '🔹font-synthesis属性导致中文斜体不生效的问题', link: '/learn/web/css/font-synthesis_property' },
8+
{ text: '🔸设置letter-spacing后文本无法居中的问题', link: '/learn/web/css/set_letter-spacing_text_cant_align_center' }
99
];
1010

1111
export default cssItems;

.vitepress/sidebar/learn/docker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { DefaultTheme } from 'vitepress/types/default-theme';
22

33
const dockerItem: DefaultTheme.SidebarItem[] = [
44
{
5-
text: '🔸 CentOS 安装 Docker',
5+
text: '🔸CentOS 安装 Docker',
66
link: '/learn/deploy/docker/centos_install_docker'
77
},
88
{
9-
text: '🔸 Docker 常用命令',
9+
text: '🔸Docker 常用命令',
1010
link: '/learn/deploy/docker/docker_common_command'
1111
}
1212
];
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DefaultTheme } from 'vitepress/types/default-theme';
22

33
const hBuilderXItems: DefaultTheme.SidebarItem[] = [
4-
{ text: '🔹 自用快捷键设置-仿IDEA', link: '/learn/editor/hbuilderx/hot_key_change' }
4+
{ text: '🔹自用快捷键设置-仿IDEA', link: '/learn/editor/hbuilderx/hot_key_change' }
55
];
66

77
export default hBuilderXItems;

.vitepress/sidebar/learn/html.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { DefaultTheme } from 'vitepress/types/default-theme';
22

33
const htmlItems: DefaultTheme.SidebarItem[] = [
4-
{ text: '🔸 HTML中DOCTYPE头的作用是什么?', link: '/learn/web/html/the_role_of_the_doctype_header_in_html' },
5-
{ text: '🔸 谈谈你对meta标签的理解', link: '/learn/web/html/the_role_of_meta_tags_in_html' },
4+
{ text: '🔸HTML中DOCTYPE头的作用是什么?', link: '/learn/web/html/the_role_of_the_doctype_header_in_html' },
5+
{ text: '🔸谈谈你对meta标签的理解', link: '/learn/web/html/the_role_of_meta_tags_in_html' },
66
{ text: '🔸HTML5新增了哪些新特性?', link: '/learn/web/html/what_new_features_have_been_added_in_html_5' },
77
{ text: '🔸语义化标签有哪些', link: '/learn/web/html/what_are_the_semantic_tags' },
88
{
9-
text: '🔥 cookie、localStorage、sessionStorage的区别',
9+
text: '🔥cookie、localStorage、sessionStorage的区别',
1010
link: '/learn/web/html/the_difference_between_cookie_localstorage_and_sessionstorage',
1111
collapsed: false,
1212
items: [
13-
{ text: '🔥 关于Cookie', link: '/learn/web/html/about_cookie' }
13+
{ text: '🔥关于Cookie', link: '/learn/web/html/about_cookie' }
1414
]
1515
}
1616
];

.vitepress/sidebar/learn/http.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const httpItems = [
2-
{ text: '⭐ tcp/ip协议', link: '/learn/web/http/tcp_and_ip_protocol' },
3-
{ text: '🔥 什么是三次握手四次挥手?', link: '/learn/web/http/what_is_three-way_handshake_and_four-way_wave' },
4-
{ text: '🔥 什么是跨域?如何解决跨域问题?', link: '/learn/web/http/what_is_cross_domain' }
2+
{ text: '⭐tcp/ip协议', link: '/learn/web/http/tcp_and_ip_protocol' },
3+
{ text: '🔥什么是三次握手四次挥手?', link: '/learn/web/http/what_is_three-way_handshake_and_four-way_wave' },
4+
{ text: '🔥什么是跨域?如何解决跨域问题?', link: '/learn/web/http/what_is_cross_domain' }
55
];
66

77
export default httpItems;

.vitepress/sidebar/learn/idea.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { DefaultTheme } from 'vitepress/types/default-theme';
22

33
const ideaItems: DefaultTheme.SidebarItem[] = [
4-
{ text: '🔹 IDEA 插件收集', link: '/learn/editor/intellij-idea/idea-plugins' },
5-
{ text: '🔹 IDEA 常用快捷键', link: '/learn/editor/intellij-idea/hotkey' },
6-
{ text: '🔹 多行光标选中并编辑', link: '/learn/editor/intellij-idea/multi_line_cursor_selection_and_editing' }
4+
{ text: '🔹IDEA 插件收集', link: '/learn/editor/intellij-idea/idea-plugins' },
5+
{ text: '🔹IDEA 常用快捷键', link: '/learn/editor/intellij-idea/hotkey' },
6+
{ text: '🔹多行光标选中并编辑', link: '/learn/editor/intellij-idea/multi_line_cursor_selection_and_editing' }
77
];
88

99
export default ideaItems;

0 commit comments

Comments
 (0)