Skip to content

Commit 7edbdae

Browse files
authored
Refactor resource categories in doc.vue
Removed duplicate resource entries and updated links for categories.
1 parent ef141cd commit 7edbdae

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

src/pages/doc.vue

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,18 @@ interface Category {
3030
subcategories?: Subcategory[]
3131
}
3232
33-
// 资源分类
3433
const categories = ref<Category[]>([
3534
{
3635
id: 'new-concept',
3736
name: '新概念英语',
3837
description: '经典英语教材,适合系统学习',
3938
resources: [
39+
{
40+
name: '新概念资源合集',
41+
description: '',
42+
difficulty: '包含后面所有的内容',
43+
link: 'https://pan.quark.cn/s/6b12da160020',
44+
},
4045
{
4146
name: '新概念英语第一册',
4247
description: '适合英语初学者',
@@ -79,19 +84,19 @@ const categories = ref<Category[]>([
7984
difficulty: '',
8085
link: 'https://pan.quark.cn/s/07e25ee6de9f',
8186
},
82-
{
83-
name: '新概念资源合集',
84-
description: '',
85-
difficulty: '包含前面所有的内容',
86-
link: 'https://pan.quark.cn/s/6b12da160020',
87-
},
8887
],
8988
},
9089
{
9190
id: 'exam',
9291
name: '电视/电影',
9392
description: '一些不错的美/英剧,可练听力和口语',
9493
resources: [
94+
{
95+
name: '电视/电影资源合集',
96+
difficulty: '包含后面所有的内容',
97+
link: 'https://pan.quark.cn/s/84ecb30b700b', //159
98+
// link: 'https://pan.quark.cn/s/e9b62b79c48c',
99+
},
95100
{
96101
name: '老友记',
97102
description: '',
@@ -128,12 +133,6 @@ const categories = ref<Category[]>([
128133
difficulty: '纸牌屋',
129134
link: 'https://pan.quark.cn/s/5ba146c46180',
130135
},
131-
{
132-
name: '电视/电影资源合集',
133-
difficulty: '包含前面所有的内容',
134-
link: 'https://pan.quark.cn/s/84ecb30b700b', //159
135-
// link: 'https://pan.quark.cn/s/e9b62b79c48c',
136-
},
137136
],
138137
},
139138
{
@@ -245,8 +244,8 @@ const categories = ref<Category[]>([
245244
},
246245
],
247246
},
248-
])
249-
247+
])
248+
250249
// 当前选中的分类
251250
const selectedCategory = ref('all')
252251

0 commit comments

Comments
 (0)