From 97652aa50dc6a1e74da4b1db93f1ebd4b1aabbb4 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Thu, 2 Mar 2023 20:10:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/components/common.js | 2 +- src/pages/Index/Index.vue | 1 - src/pages/Index/components/NewsView1.vue | 1 + src/pages/Index/components/NewsView3.vue | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/components/common.js b/src/common/components/common.js index 77dd27e..d8d27a4 100644 --- a/src/common/components/common.js +++ b/src/common/components/common.js @@ -1,5 +1,5 @@ // const publishUrl = 'http://v3.xzszwhy.cn/' -const publishUrl = 'http://192.168.0.120:8081/' +const publishUrl = 'http://192.168.0.120:80/' const url = `${publishUrl}xzszwhy/` const liveUrl = `${publishUrl}live/` const shopUrl = `${publishUrl}xzshop/` diff --git a/src/pages/Index/Index.vue b/src/pages/Index/Index.vue index cd1a6db..96a7839 100644 --- a/src/pages/Index/Index.vue +++ b/src/pages/Index/Index.vue @@ -52,7 +52,6 @@ export default { var self = this axios.get(`${common.url}app/newsdirectories/list/areaplate/release/${common.area.areaCode}`, {}).then(function (res) { self.newsTypeList = res.data - console.log(self.newsTypeList) }) }, getActivityList: function () { diff --git a/src/pages/Index/components/NewsView1.vue b/src/pages/Index/components/NewsView1.vue index ae94fae..5e40bf1 100644 --- a/src/pages/Index/components/NewsView1.vue +++ b/src/pages/Index/components/NewsView1.vue @@ -69,6 +69,7 @@ export default { } }).then(function (res) { var picNews = res.data.rows.splice(0, 1)[0] + self.picNews = picNews self.picNews.newsContentCoverList = picNews.newsContentCoverList[0].contentCoverId for (var i = 0; i < res.data.rows.length; i++) { var date = res.data.rows[i].newsContentPublishTime.split('-')[2] diff --git a/src/pages/Index/components/NewsView3.vue b/src/pages/Index/components/NewsView3.vue index a7cd780..85c44f9 100644 --- a/src/pages/Index/components/NewsView3.vue +++ b/src/pages/Index/components/NewsView3.vue @@ -6,7 +6,7 @@