政策动态
This commit is contained in:
65
src/apps/AppPageRevitalize/AppPageRevitalize.vue
Normal file
65
src/apps/AppPageRevitalize/AppPageRevitalize.vue
Normal file
@@ -0,0 +1,65 @@
|
||||
<template>
|
||||
<div class="AppPageInteraction">
|
||||
<AiListPage :label="label" :appList="appList" :headerBg="headerBg"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'AppPageInteraction',
|
||||
appName: '工作台(振兴)',
|
||||
data() {
|
||||
return {
|
||||
label: '振兴',
|
||||
appList: [
|
||||
{
|
||||
name: '产业振兴',
|
||||
icon: require('./img/jmhd.png'),
|
||||
url: '../AppServicePublic/AppServicePublic?moduleId=c7d4e2c46b56477c9a581af7f16e10d9&listName=产业资讯'
|
||||
},
|
||||
{
|
||||
name: '组织振兴',
|
||||
icon: require('./img/jmys.png'),
|
||||
url: '../AppServicePublic/AppServicePublic?moduleId=a33a855416d44b77a006b93599c9618d&listName=组织动态'
|
||||
},
|
||||
{
|
||||
name: '人才振兴',
|
||||
icon: require('./img/xcxgg.png'),
|
||||
url: '../AppServicePublic/AppServicePublic?moduleId=6aa884de2b814967bdbb18a363904083&listName=人才工作'
|
||||
},
|
||||
{
|
||||
name: '文化振兴',
|
||||
icon: require('./img/xcxgg.png'),
|
||||
url: '../AppServicePublic/AppServicePublic?moduleId=feaf0264251f422db9b10c5e9f6c1c56&listName=生态建设'
|
||||
},
|
||||
{
|
||||
name: '生态振兴',
|
||||
icon: require('./img/xcxgg.png'),
|
||||
url: '../AppServicePublic/AppServicePublic?moduleId=95f0f1c509e44d528069bc9f9dc19e53&listName=党建要闻'
|
||||
}
|
||||
],
|
||||
headerBg: require('./img/header-bg.png'),
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
document.title = "振兴"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
uni-page-body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.AppPageInteraction {
|
||||
height: 100%;
|
||||
::v-deep .item{
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
::v-deep .item:nth-last-of-type(1),
|
||||
::v-deep .item:nth-last-of-type(2){
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
src/apps/AppPageRevitalize/img/header-bg.png
Normal file
BIN
src/apps/AppPageRevitalize/img/header-bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
src/apps/AppPageRevitalize/img/jmhd.png
Normal file
BIN
src/apps/AppPageRevitalize/img/jmhd.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
src/apps/AppPageRevitalize/img/jmys.png
Normal file
BIN
src/apps/AppPageRevitalize/img/jmys.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 684 KiB |
BIN
src/apps/AppPageRevitalize/img/xcxgg.png
Normal file
BIN
src/apps/AppPageRevitalize/img/xcxgg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
@@ -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