From 55bfb8a59838e67b53707d474e9ade0c9ca6d1f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BD=B3=E7=A8=8B?= <484502012@qq.com> Date: Thu, 14 Nov 2024 15:38:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E4=B8=9C=E8=A5=BF=E6=94=BE=E5=85=A5vu?= =?UTF-8?q?e=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 8 ++ .idea/bloggingplatform.iml | 9 ++ .idea/inspectionProfiles/Project_Default.xml | 6 + .idea/misc.xml | 6 + .idea/modules.xml | 8 ++ .idea/vcs.xml | 6 + .gitignore => vue/.gitignore | 0 README.md => vue/README.md | 0 babel.config.js => vue/babel.config.js | 0 jsconfig.json => vue/jsconfig.json | 0 package-lock.json => vue/package-lock.json | 0 package.json => vue/package.json | 0 {public => vue/public}/favicon.ico | Bin {public => vue/public}/index.html | 0 {src => vue/src}/App.vue | 0 {src => vue/src}/assets/logo.png | Bin {src => vue/src}/components/BlogSearch.vue | 132 ++++++++++--------- {src => vue/src}/main.js | 0 vue.config.js => vue/vue.config.js | 0 yarn.lock => vue/yarn.lock | 0 20 files changed, 112 insertions(+), 63 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/bloggingplatform.iml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml rename .gitignore => vue/.gitignore (100%) rename README.md => vue/README.md (100%) rename babel.config.js => vue/babel.config.js (100%) rename jsconfig.json => vue/jsconfig.json (100%) rename package-lock.json => vue/package-lock.json (100%) rename package.json => vue/package.json (100%) rename {public => vue/public}/favicon.ico (100%) rename {public => vue/public}/index.html (100%) rename {src => vue/src}/App.vue (100%) rename {src => vue/src}/assets/logo.png (100%) rename {src => vue/src}/components/BlogSearch.vue (59%) rename {src => vue/src}/main.js (100%) rename vue.config.js => vue/vue.config.js (100%) rename yarn.lock => vue/yarn.lock (100%) diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/bloggingplatform.iml b/.idea/bloggingplatform.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/bloggingplatform.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0548357 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..eace56b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.gitignore b/vue/.gitignore similarity index 100% rename from .gitignore rename to vue/.gitignore diff --git a/README.md b/vue/README.md similarity index 100% rename from README.md rename to vue/README.md diff --git a/babel.config.js b/vue/babel.config.js similarity index 100% rename from babel.config.js rename to vue/babel.config.js diff --git a/jsconfig.json b/vue/jsconfig.json similarity index 100% rename from jsconfig.json rename to vue/jsconfig.json diff --git a/package-lock.json b/vue/package-lock.json similarity index 100% rename from package-lock.json rename to vue/package-lock.json diff --git a/package.json b/vue/package.json similarity index 100% rename from package.json rename to vue/package.json diff --git a/public/favicon.ico b/vue/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to vue/public/favicon.ico diff --git a/public/index.html b/vue/public/index.html similarity index 100% rename from public/index.html rename to vue/public/index.html diff --git a/src/App.vue b/vue/src/App.vue similarity index 100% rename from src/App.vue rename to vue/src/App.vue diff --git a/src/assets/logo.png b/vue/src/assets/logo.png similarity index 100% rename from src/assets/logo.png rename to vue/src/assets/logo.png diff --git a/src/components/BlogSearch.vue b/vue/src/components/BlogSearch.vue similarity index 59% rename from src/components/BlogSearch.vue rename to vue/src/components/BlogSearch.vue index cd7e7d3..896898e 100644 --- a/src/components/BlogSearch.vue +++ b/vue/src/components/BlogSearch.vue @@ -1,75 +1,73 @@ - - - - 搜索 - - - - - - - 搜索结果:“{{ searchTerm }}” + + + + + 搜索 - - - - - 排序方式: - - 相关性 - 发布日期(最新) - 发布日期(最旧) - 热度 - + + + + + 搜索结果:“{{ searchTerm }}” - - - 文章类别: - - 全部 - 美食 - 旅游 - 科技 - - 时间范围: - - 全部 - 本周 - 本月 - 本年内 - - + + + + + 排序方式: + + 相关性 + 发布日期(最新) + 发布日期(最旧) + 热度 + + - - 应用筛选 - 排序 - + + + 文章类别: + + 全部 + 美食 + 旅游 + 科技 + + 时间范围: + + 全部 + 本周 + 本月 + 本年内 + + - - - - - - - - 发布日期:{{ result.publishDate }} - - - + + 应用筛选 + 排序 + - - - 上一页 - 第{{ currentPage }}页 / 共{{ totalPages }}页 - 下一页 - + + + + + + + + 发布日期:{{ result.publishDate }} + + + - - - 返回搜索 + + + 上一页 + 第{{ currentPage }}页 / 共{{ totalPages }}页 + 下一页 + 返回搜索 + @@ -259,4 +257,12 @@ button { .back-button-area { margin-top: 20px; } +.bottom-navigation { + margin-top: 20px; + display: flex; + justify-content: space-between; + align-items: center; + border-top: 1px solid #ccc; + padding-top: 20px; +} \ No newline at end of file diff --git a/src/main.js b/vue/src/main.js similarity index 100% rename from src/main.js rename to vue/src/main.js diff --git a/vue.config.js b/vue/vue.config.js similarity index 100% rename from vue.config.js rename to vue/vue.config.js diff --git a/yarn.lock b/vue/yarn.lock similarity index 100% rename from yarn.lock rename to vue/yarn.lock
发布日期:{{ result.publishDate }}