增加书签功能
This commit is contained in:
parent
c48a6442a3
commit
64887b3e11
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1 +1 @@
|
||||
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站OJ题库</title><script defer="defer" src="/js/chunk-vendors.dc7a4bb7.js"></script><script defer="defer" src="/js/app.f18ea87a.js"></script><link href="/css/chunk-vendors.26a88809.css" rel="stylesheet"><link href="/css/app.3a970ffa.css" rel="stylesheet"></head><body><noscript><strong>我们很抱歉,OJ题库在 JavaScript 未启用时无法正常工作。请启用它以继续。</strong></noscript><div id="app"></div></body></html>
|
||||
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站OJ题库</title><script defer="defer" src="/js/chunk-vendors.16c34fba.js"></script><script defer="defer" src="/js/app.7c9fb705.js"></script><link href="/css/chunk-vendors.26a88809.css" rel="stylesheet"><link href="/css/app.21c82230.css" rel="stylesheet"></head><body><noscript><strong>我们很抱歉,OJ题库在 JavaScript 未启用时无法正常工作。请启用它以继续。</strong></noscript><div id="app"></div></body></html>
|
2
dist/js/app.7c9fb705.js
vendored
Normal file
2
dist/js/app.7c9fb705.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
dist/js/app.f18ea87a.js
vendored
2
dist/js/app.f18ea87a.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -15,6 +15,7 @@
|
||||
<div class="nav-links">
|
||||
<router-link to="/problems" class="nav-item">题目列表</router-link>
|
||||
<router-link to="/my" class="nav-item">我标记的题目</router-link>
|
||||
<router-link to="/bookmarks" class="nav-item">我的书签</router-link>
|
||||
<router-link to="/about" class="nav-item">关于</router-link>
|
||||
</div>
|
||||
<div class="footer-info">
|
||||
|
409
src/components/BookMark.vue
Normal file
409
src/components/BookMark.vue
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,8 @@ import { createRouter, createWebHistory } from 'vue-router'
|
||||
import ProblemList from '../components/ProblemList.vue'
|
||||
import ProblemDetail from '../components/ProblemDetail.vue'
|
||||
import MyProblemList from '../components/MyProblemList.vue'
|
||||
import BookmarkList from '../components/BookMark.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
@ -25,6 +27,14 @@ const routes = [
|
||||
name: 'MyProblemList',
|
||||
component: MyProblemList
|
||||
},
|
||||
{
|
||||
path: '/bookmarks',
|
||||
name: 'BookmarkList',
|
||||
component: BookmarkList,
|
||||
meta: {
|
||||
title: '我的书签'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
name: 'About',
|
||||
|
Loading…
x
Reference in New Issue
Block a user