处理问题
This commit is contained in:
parent
629735732b
commit
97652aa50d
@ -1,5 +1,5 @@
|
|||||||
// const publishUrl = 'http://v3.xzszwhy.cn/'
|
// 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 url = `${publishUrl}xzszwhy/`
|
||||||
const liveUrl = `${publishUrl}live/`
|
const liveUrl = `${publishUrl}live/`
|
||||||
const shopUrl = `${publishUrl}xzshop/`
|
const shopUrl = `${publishUrl}xzshop/`
|
||||||
|
@ -52,7 +52,6 @@ export default {
|
|||||||
var self = this
|
var self = this
|
||||||
axios.get(`${common.url}app/newsdirectories/list/areaplate/release/${common.area.areaCode}`, {}).then(function (res) {
|
axios.get(`${common.url}app/newsdirectories/list/areaplate/release/${common.area.areaCode}`, {}).then(function (res) {
|
||||||
self.newsTypeList = res.data
|
self.newsTypeList = res.data
|
||||||
console.log(self.newsTypeList)
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getActivityList: function () {
|
getActivityList: function () {
|
||||||
|
@ -69,6 +69,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(function (res) {
|
}).then(function (res) {
|
||||||
var picNews = res.data.rows.splice(0, 1)[0]
|
var picNews = res.data.rows.splice(0, 1)[0]
|
||||||
|
self.picNews = picNews
|
||||||
self.picNews.newsContentCoverList = picNews.newsContentCoverList[0].contentCoverId
|
self.picNews.newsContentCoverList = picNews.newsContentCoverList[0].contentCoverId
|
||||||
for (var i = 0; i < res.data.rows.length; i++) {
|
for (var i = 0; i < res.data.rows.length; i++) {
|
||||||
var date = res.data.rows[i].newsContentPublishTime.split('-')[2]
|
var date = res.data.rows[i].newsContentPublishTime.split('-')[2]
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="exhibition">
|
<div class="exhibition">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news,idx) in newsList" :key="idx" @click="goDetail(news.newsContentLink, list.templateRecordUrl)" :title="news.newsContentTitle">
|
<li v-for="(news,idx) in newsList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl)" :title="news.newsContentTitle">
|
||||||
<div class="exhibition-img">
|
<div class="exhibition-img">
|
||||||
<img :src="url + 'route/file/download/false/' + news.newsContentCoverList" alt="">
|
<img :src="url + 'route/file/download/false/' + news.newsContentCoverList" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user