From 47750b2c01fef3b069e1a2b393949a6504d0caf9 Mon Sep 17 00:00:00 2001 From: Fox-33 <1466778434@qq.com> Date: Mon, 27 Oct 2025 11:13:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 2 +- api/model/other.js | 20 ++++++++++++++++++++ pages/index/center.vue | 35 ++++++++++++++++------------------- pages_order/center/serve.vue | 10 +++++----- 4 files changed, 42 insertions(+), 25 deletions(-) create mode 100644 api/model/other.js diff --git a/api/api.js b/api/api.js index 8ee2b7a..a954e08 100644 --- a/api/api.js +++ b/api/api.js @@ -5,7 +5,7 @@ import utils from '../utils/utils.js' let limit = {} let debounce = {} -const models = ['index', 'case', 'serve'] +const models = ['index', 'case', 'serve', 'other'] const config = { // 示例 diff --git a/api/model/other.js b/api/model/other.js new file mode 100644 index 0000000..8edbabc --- /dev/null +++ b/api/model/other.js @@ -0,0 +1,20 @@ +// 其他相关接口 + +const api = { + /** + * 其他-获取其他模块文章列表 + */ + queryOtherArticleList: { + url: '/index/queryOtherArticleList', + method: 'GET', + }, + /** + * 其他-获取其他模块文章详情 + */ + queryOtherArticleById: { + url: '/index/queryOtherArticleById', + method: 'GET', + }, +} + +export default api \ No newline at end of file diff --git a/pages/index/center.vue b/pages/index/center.vue index 9d2655d..f48ef94 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -15,16 +15,8 @@ - - - - - - - 其他服务 - Other services - - + + @@ -35,14 +27,18 @@