diff --git a/components.d.ts b/components.d.ts index 8d95d316..cefc3420 100644 --- a/components.d.ts +++ b/components.d.ts @@ -80,6 +80,7 @@ declare module 'vue' { IconFluentDismiss20Regular: typeof import('~icons/fluent/dismiss20-regular')['default'] IconFluentDismissCircle16Regular: typeof import('~icons/fluent/dismiss-circle16-regular')['default'] IconFluentDismissCircle20Filled: typeof import('~icons/fluent/dismiss-circle20-filled')['default'] + IconFluentDocument20Regular: typeof import('~icons/fluent/document20-regular')['default'] IconFluentErrorCircle20Filled: typeof import('~icons/fluent/error-circle20-filled')['default'] IconFluentErrorCircle20Regular: typeof import('~icons/fluent/error-circle20-regular')['default'] IconFluentEye16Regular: typeof import('~icons/fluent/eye16-regular')['default'] diff --git a/src/pages/doc.vue b/src/pages/doc.vue index caa7b9a7..b6a4e6a6 100644 --- a/src/pages/doc.vue +++ b/src/pages/doc.vue @@ -1,21 +1,263 @@ - - - 分享个人收藏的一些学习资料 - - 新概念相关 - + + + + 📚 英语学习资源分享 + + 以下是我整理的个人收藏的优质英语学习资源,希望对大家有所帮助! + + + + + + + 全部资源 + + + {{ category.icon }} {{ category.name }} + + + + + + + + {{ category.icon }} {{ category.name }} + {{ category.description }} + + + + + + + {{ resource.name }} + + + + {{ resource.difficulty }} + + {{ + resource.description + }} + + + + 打开链接 + + + + + + + + + + 💡 温馨提示 + + 所有资源均来自互联网收集,仅供学习交流使用 + 如果链接失效,请及时告知,我会尽快更新 + - - \ No newline at end of file diff --git a/src/pages/layout.vue b/src/pages/layout.vue index 759124db..6c1c96d8 100644 --- a/src/pages/layout.vue +++ b/src/pages/layout.vue @@ -1,111 +1,128 @@ - - + + - + - + 主页 - + 单词 - + - + 文章 - + 设置 - + - + 反馈 - + 帮助 - - - - - - - - + + + 资料 + + + + + - - - - + + + + - - + + - + - + - - + + 主页 - - + + 单词 - - + + 文章 - - + + 设置 - - - + + + - + @@ -134,7 +151,7 @@ function goHome() { .row { @apply cursor-pointer rounded-md text p-2 my-2 flex items-center gap-2 relative shrink-0; - transition: all .5s; + transition: all 0.5s; &:hover { background: var(--btn-primary); @@ -167,12 +184,12 @@ function goHome() { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 1000; transition: all 0.3s ease; - + .nav-items { display: flex; justify-content: space-around; padding: 0.5rem 0; - + .nav-item { display: flex; flex-direction: column; @@ -184,29 +201,30 @@ function goHome() { min-width: 44px; justify-content: center; position: relative; - + svg { font-size: 1.2rem; margin-bottom: 0.2rem; color: var(--color-main-text); } - + span { font-size: 0.7rem; color: var(--color-main-text); text-align: center; } - + &.active { - svg, span { + svg, + span { color: var(--color-select-bg); } } - + &:active { transform: scale(0.95); } - + .red-point { position: absolute; top: 0.2rem; @@ -218,7 +236,7 @@ function goHome() { } } } - + .nav-toggle { position: absolute; bottom: -1.5rem; @@ -231,20 +249,20 @@ function goHome() { padding: 0.3rem 0.8rem; cursor: pointer; transition: all 0.3s; - + svg { font-size: 1rem; color: var(--color-main-text); } - + &:active { transform: translateX(-50%) scale(0.95); } } - + &.collapsed { transform: translateY(calc(-100% + 1.5rem)); - + .nav-items { opacity: 0; pointer-events: none; @@ -264,11 +282,11 @@ function goHome() { .aside { display: none; } - + .aside.space { display: none; } - + .main-content { width: 100%; margin-left: 0;
+ 以下是我整理的个人收藏的优质英语学习资源,希望对大家有所帮助! +
{{ category.description }}
+ + {{ resource.difficulty }} + + {{ + resource.description + }} +