From afbcec3f5a0aa2c19719d0d7a85e8abdad5646d2 Mon Sep 17 00:00:00 2001 From: haitao <1622138424@qq.com> Date: Tue, 4 Apr 2023 21:37:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=99=BE=E5=AE=9D=E7=AE=B1?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +- package-lock.json | 27 ++ package.json | 1 + src/assets/css/color.css | 3 + src/components/admin/resourceList.vue | 5 +- src/components/admin/resourcePathList.vue | 22 +- src/components/admin/sortList.vue | 15 +- src/components/admin/userList.vue | 38 +++ src/components/articleList.vue | 9 +- src/components/comment/commentBox.vue | 26 +- src/components/comment/graffiti.vue | 4 +- src/components/common/photo.vue | 4 +- src/components/common/treeHole.vue | 4 +- src/components/favorite.vue | 307 ++++++++++++++++++++++ src/components/friend.vue | 16 +- src/components/funny.vue | 30 +-- src/components/home.vue | 57 ++-- src/components/index.vue | 27 +- src/components/love.vue | 137 ++++++---- src/components/message.vue | 2 +- src/components/myAside.vue | 161 +++++++++++- src/components/user.vue | 10 - src/components/weiYan.vue | 16 -- src/router/index.js | 4 + src/store/index.js | 10 +- src/utils/constant.js | 11 +- 26 files changed, 765 insertions(+), 189 deletions(-) create mode 100644 src/components/favorite.vue diff --git a/README.md b/README.md index b791c05..d23512b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,12 @@ - 优化:前端美化 - 优化:留言分类与资源整合 +### 2023年4月1日更新 +- 新增:百宝箱(收藏夹) +- 优化:首页 +- 优化:前端美化 +- 优化:资源整合 + ### 首页 ![首页](首页.jpg) @@ -96,4 +102,4 @@ npm run build B站搜索用户【寻国记】,博客介绍与搭建教程。 【挑战最美博客!个人博客网站食用教程。这是一个 SpringBoot 与 Vue 的产物,在此公开,一起学习,共同成长。】 -https://www.bilibili.com/video/BV1eM41167Ks/?share_source=copy_web \ No newline at end of file +https://www.bilibili.com/video/BV1eM41167Ks/?share_source=copy_web diff --git a/package-lock.json b/package-lock.json index e668998..4d826d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "vue-baberrage": "^3.2.4", "vue-ripple-directive": "^2.0.1", "vue-router": "^3.2.0", + "vue-seamless-scroll": "^1.1.23", "vuex": "^3.4.0", "vuex-persistedstate": "^4.0.0" }, @@ -4531,6 +4532,11 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, + "node_modules/comutils": { + "version": "1.1.19", + "resolved": "https://registry.npmmirror.com/comutils/-/comutils-1.1.19.tgz", + "integrity": "sha512-JxXB67juILiwhdLwOsYyjUqwWEhHdObI0EClOPk+JDtEuTbac59s0pxGpfCBnNNQ5JommifmcMGneW/4Cg7YWw==" + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", @@ -14630,6 +14636,14 @@ "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.5.3.tgz", "integrity": "sha512-FUlILrW3DGitS2h+Xaw8aRNvGTwtuaxrRkNSHWTizOfLUie7wuYwezeZ50iflRn8YPV5kxmU2LQuu3nM/b3Zsg==" }, + "node_modules/vue-seamless-scroll": { + "version": "1.1.23", + "resolved": "https://registry.npmmirror.com/vue-seamless-scroll/-/vue-seamless-scroll-1.1.23.tgz", + "integrity": "sha512-HBjUub8WwsKJzbFCrwKPDrZn4e+SSbkKgwWtjKtfLwesiFGwSsVxP44/Z6d3kpXy94qIFOiflJH6l0/9pj7SGA==", + "dependencies": { + "comutils": "^1.1.9" + } + }, "node_modules/vue-style-loader": { "version": "4.1.3", "resolved": "https://registry.npmmirror.com/vue-style-loader/-/vue-style-loader-4.1.3.tgz", @@ -19472,6 +19486,11 @@ } } }, + "comutils": { + "version": "1.1.19", + "resolved": "https://registry.npmmirror.com/comutils/-/comutils-1.1.19.tgz", + "integrity": "sha512-JxXB67juILiwhdLwOsYyjUqwWEhHdObI0EClOPk+JDtEuTbac59s0pxGpfCBnNNQ5JommifmcMGneW/4Cg7YWw==" + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", @@ -27876,6 +27895,14 @@ "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.5.3.tgz", "integrity": "sha512-FUlILrW3DGitS2h+Xaw8aRNvGTwtuaxrRkNSHWTizOfLUie7wuYwezeZ50iflRn8YPV5kxmU2LQuu3nM/b3Zsg==" }, + "vue-seamless-scroll": { + "version": "1.1.23", + "resolved": "https://registry.npmmirror.com/vue-seamless-scroll/-/vue-seamless-scroll-1.1.23.tgz", + "integrity": "sha512-HBjUub8WwsKJzbFCrwKPDrZn4e+SSbkKgwWtjKtfLwesiFGwSsVxP44/Z6d3kpXy94qIFOiflJH6l0/9pj7SGA==", + "requires": { + "comutils": "^1.1.9" + } + }, "vue-style-loader": { "version": "4.1.3", "resolved": "https://registry.npmmirror.com/vue-style-loader/-/vue-style-loader-4.1.3.tgz", diff --git a/package.json b/package.json index 7d62aa0..bd3aab5 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "vue-baberrage": "^3.2.4", "vue-ripple-directive": "^2.0.1", "vue-router": "^3.2.0", + "vue-seamless-scroll": "^1.1.23", "vuex": "^3.4.0", "vuex-persistedstate": "^4.0.0" }, diff --git a/src/assets/css/color.css b/src/assets/css/color.css index 1379062..0b6e63a 100644 --- a/src/assets/css/color.css +++ b/src/assets/css/color.css @@ -2,6 +2,7 @@ /* 背景 */ --background: white; --gradualBackground: linear-gradient(to right bottom, #ee7752, #e73c7e, #23a6d5, #23d5ab); + --favoriteBg: #f7f9fe; /* 字体 */ --fontColor: black; @@ -75,6 +76,8 @@ --globalFont: SmileySans; --commentURL: url(../file/comment.jpg); + --springBg: url(../file/bg1.jpg); + --admireImage: url(../file/bg1.jpg); --toTop: url(../file/top.jpg); --bannerWave1: url(../file/bannerwave1.png) repeat-x; --bannerWave2: url(../file/bannerwave2.png) repeat-x; diff --git a/src/components/admin/resourceList.vue b/src/components/admin/resourceList.vue index 7ed1749..b1d5e3b 100644 --- a/src/components/admin/resourceList.vue +++ b/src/components/admin/resourceList.vue @@ -16,11 +16,12 @@ - - + + + 搜索 新增资源 diff --git a/src/components/admin/resourcePathList.vue b/src/components/admin/resourcePathList.vue index e2ebe4d..8175c78 100644 --- a/src/components/admin/resourcePathList.vue +++ b/src/components/admin/resourcePathList.vue @@ -20,6 +20,7 @@ + - +