From c29b3a0013c4ec39fd672451be90fcb19ccfedad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 19 Jun 2023 11:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 8 ++++++++ src/views/index.vue | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index ddeb3bac..592f9251 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -16,3 +16,11 @@ export function newDetails(id) { method: 'get', }) } + +//新闻详情 +export function websiteConfig() { + return request({ + url: '/transaction/website/config', + method: 'get', + }) +} diff --git a/src/views/index.vue b/src/views/index.vue index a675579c..c9b41e42 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -4,7 +4,7 @@ - 农村产权交易服务平台 + {{titleHead}} @@ -68,7 +68,7 @@