处理问题

This commit is contained in:
wanggeng 2023-03-02 20:10:55 +08:00
parent 629735732b
commit 97652aa50d
4 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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 () {

View File

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

View File

@ -6,7 +6,7 @@
</div>
<div class="exhibition">
<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">
<img :src="url + 'route/file/download/false/' + news.newsContentCoverList" alt="">
</div>