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 @@