政策动态
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<image :src="$cdn + 'yjjk.png'"/>
|
||||
<h2>预警监控</h2>
|
||||
</div>
|
||||
<div class="info-top__item" @click="linkTo('../AppServicePublic/AppServicePublic?moduleId=c78bfb3e3bd6441f83fb2fb1eab8166e&listName=返贫动态')">
|
||||
<div class="info-top__item" @click="linkTo('../AppServicePublic/AppServicePublic?moduleId=ac80f2857f2c4e4d8f0e266a703aed7a&listName=政策动态')">
|
||||
<image :src="$cdn + 'news.png'"/>
|
||||
<h2>政策动态</h2>
|
||||
</div>
|
||||
@@ -18,7 +18,7 @@
|
||||
<h2>最新动态</h2>
|
||||
<div class="news-list">
|
||||
<div class="news-item" v-for="(item, index) in list" :key="index"
|
||||
@click="linkTo(`./NewsDetail?id=${item.id}`)">
|
||||
@click="linkTo(`../AppServicePublic/Detail?id=${item.id}&listName=政策动态`)">
|
||||
<div class="left">
|
||||
<h2>{{ item.title }}</h2>
|
||||
<div class="item-bottom">
|
||||
@@ -58,17 +58,29 @@ export default {
|
||||
uni.navigateTo({url})
|
||||
},
|
||||
getList() {
|
||||
this.$http.post(`/app/appnewscenterinfo/listForWx`, null, {
|
||||
this.$http.post('/app/appcontentinfo/list', null, {
|
||||
params: {
|
||||
size: 20,
|
||||
current: 1,
|
||||
size: 10,
|
||||
status: 1
|
||||
}
|
||||
}).then(res => {
|
||||
moduleId: 'ac80f2857f2c4e4d8f0e266a703aed7a',
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.list = res.data.records
|
||||
}
|
||||
})
|
||||
// this.$http.post(`/app/appnewscenterinfo/listForWx`, null, {
|
||||
// params: {
|
||||
// current: 1,
|
||||
// size: 10,
|
||||
// status: 1
|
||||
// }
|
||||
// }).then(res => {
|
||||
// if (res.code == 0) {
|
||||
// this.list = res.data.records
|
||||
// }
|
||||
// })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user