From 43721e4f784f32b77e71aba676cae5160da2ddba Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sat, 20 Dec 2025 15:34:56 +0800 Subject: [PATCH] wip --- src/pages/doc.vue | 306 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 243 insertions(+), 63 deletions(-) diff --git a/src/pages/doc.vue b/src/pages/doc.vue index b6a4e6a6..e08120f2 100644 --- a/src/pages/doc.vue +++ b/src/pages/doc.vue @@ -3,8 +3,34 @@ import { computed, ref } from 'vue' import BasePage from '@/components/BasePage.vue' import BaseButton from '@/components/BaseButton.vue' +// 类型定义 +interface Resource { + name: string + description?: string + difficulty?: string + link: string + author?: string + features?: string + suitable?: string +} + +interface Subcategory { + name: string + description?: string + resources: Resource[] +} + +interface Category { + id: string + name: string + icon: string + description?: string + resources?: Resource[] + subcategories?: Subcategory[] +} + // 资源分类 -const categories = ref([ +const categories = ref([ { id: 'new-concept', name: '新概念英语', @@ -42,68 +68,149 @@ const categories = ref([ link: 'https://pan.quark.cn/s/9de8d7967de2', }, { - name: '新概念英语1-4 教材高清PDF', - description: '仅 1-4 册的教材高清PDF', + name: '新概念英语1-4 教材高清 PDF', + description: '仅 1-4 册的教材高清扫描版 PDF', difficulty: '', link: 'https://pan.quark.cn/s/ec49145d6b00', }, { name: '新概念讲解视频', - description: '包含了 N 家机构/个人的讲解视频', + description: '多家机构/个人的讲解视频', difficulty: '', link: 'https://pan.quark.cn/s/09e98acd55b4', }, + { + name: '新概念合集', + description: '包含前面的内容', + difficulty: '', + link: 'https://pan.quark.cn/s/667e2e48eba4', + }, ], }, { id: 'exam', - name: '英语相关电视/电影', + name: '电视/电影', icon: '🎯', - description: '雅思、托福等考试备考资料', + description: '一些不错的美/英剧,可练听力和口语', resources: [ { name: '老友记', description: '', - difficulty: '经典', + difficulty: '喜剧/爱情', link: 'https://pan.quark.cn/s/674834e7a5b1', }, { name: '生活大爆炸', description: '', - difficulty: '经典', + difficulty: '喜剧/爱情', link: 'https://pan.quark.cn/s/0539c10704ba', }, { name: '是大臣/是首相', description: '', - difficulty: '经典', + difficulty: '喜剧/讽刺', link: 'https://pan.quark.cn/s/316323ce51d5', }, + { + name: '破产姐妹', + description: '', + difficulty: '喜剧', + link: 'https://pan.quark.cn/s/40af6faaa19a', + }, + { + name: '绝望主妇', + description: '', + difficulty: '悬疑', + link: 'https://pan.quark.cn/s/bcccdf9e788b', + }, + { + name: '纸牌屋', + description: '', + difficulty: '纸牌屋', + link: 'https://pan.quark.cn/s/d2f3082508fd', + }, + { + name: '电视/电影合集', + description: '包含前面的内容', + difficulty: '', + link: 'https://pan.quark.cn/s/84ecb30b700b', + }, ], }, { id: 'grammar', name: '语法学习', icon: '📝', - description: '系统性学习英语语法', - resources: [ + description: '', + subcategories: [ { - name: '剑桥中级英语语法', - description: '清晰讲解语法点,配有大量练习', - difficulty: '中级', - link: 'https://pan.baidu.com/s/xxx', + name: '经典教材', + description: '', + resources: [ + { + name: '英语语法新思维', + author: '张满胜', + features:'从思维角度讲解语法,注重理解而非死记硬背,分为初级、中级、高级三册,循序渐进', + suitable:'希望系统建立语法体系的学习者', + difficulty: '', + link: 'https://pan.quark.cn/s/d06abef6c737', + }, + { + name: '薄冰英语语法', + author: '薄冰', + features:'老牌经典,体系完整,分类非常细,查语法点方便', + suitable:'中学生或基础较弱的学习者', + difficulty: '', + link: 'https://pan.quark.cn/s/30777ceba5b9', + }, + { + name: '实用英语语法', + author: '张道真', + features:'国内经典语法教材,内容详实全面,例句丰富,适合作为工具书查阅', + suitable:'需要权威参考书的学生或教师', + difficulty: '', + link: 'https://pan.baidu.com/s/xxx', + }, + { + name: '旋元估文法', + author: '旋元估', + features:'以通俗易懂的语言解析复杂语法,强调“理解逻辑”,适合突破语法难点', + suitable:'对传统语法教学感到枯燥,想轻松掌握核心逻辑的学习者', + difficulty: '繁体中文版', + link: 'https://pan.quark.cn/s/0d0de559794e', + }, + ], }, { - name: 'English Grammar in Use', - description: '经典语法教材,适合自学', - difficulty: '中级', - link: 'https://pan.baidu.com/s/xxx', - }, - { - name: "Murphy's English Grammar", - description: '系统讲解英语语法,适合各类学习者', - difficulty: '全级别', - link: 'https://pan.baidu.com/s/xxx', + name: '进阶提升', + description: '', + resources: [ + { + name: '剑桥英语语法(English Grammar in Use)', + author: '剑桥大学出版', + features:'分为初级、中级、高级三册,经典畅销语法自学书,解释简明且有大量练习', + suitable:'需要结合国际考试的学习者', + description: '', + difficulty: '中文版', + link: 'https://pan.quark.cn/s/d4a6ef53c04d', + }, + { + name: 'Oxford English Grammar(牛津英语语法)', + author: 'Sidney Greenbaum & Gerald Nelson', + features:'分为基础、提升、高级三册,英式语法权威,解释清晰、例句地道,适合备考雅思/托福', + suitable:'想全面系统梳理语法体系的人', + difficulty: '英文版', + link: 'https://pan.quark.cn/s/ca505875e68c', + }, + { + name: '实用英语用法(Practical English Usage)', + author: 'Michael Swan', + features:'解释非常细致,尤其适合纠正常见错误和困惑', + suitable:'中高级学习者,适合作为语法问题的工具书', + difficulty: '中文版/英文版', + link: 'https://pan.quark.cn/s/05006e705a77', + }, + ], }, ], }, @@ -116,20 +223,20 @@ const categories = ref([ { name: 'VOA慢速英语合集', description: '新闻类听力材料,语速适中,内容丰富', - difficulty: '中级', - link: 'https://pan.baidu.com/s/xxx', + difficulty: '初级', + link: 'https://pan.quark.cn/s/23fc83043ca4', }, + // { + // name: 'BBC Learning English', + // description: 'BBC官方英语学习资源,涵盖多方面内容', + // difficulty: '中高级', + // link: 'https://pan.baidu.com/s/xxx', + // }, { - name: 'BBC Learning English', - description: 'BBC官方英语学习资源,涵盖多方面内容', - difficulty: '中高级', - link: 'https://pan.baidu.com/s/xxx', - }, - { - name: 'TED演讲精选', - description: '高质量演讲,锻炼听力同时开拓视野', - difficulty: '中高级', - link: 'https://pan.baidu.com/s/xxx', + name: 'TED-ED 科普动画', + description: 'TED-Ed 是一个专为初高中生所设计的在3到5分钟长的科普动画課程', + difficulty: '初级', + link: 'https://pan.quark.cn/s/e4c0182833ba', }, { name: '哈弗演讲', @@ -180,7 +287,7 @@ const getDifficultyClass = (difficulty: string) => {