Files
dvcp_v2_wxcp_app/src/apps/AppInfotainment/AppInfotainment.vue
shijingjing 036526071c 地区选择
2022-04-25 09:10:26 +08:00

91 lines
1.8 KiB
Vue

<template>
<div class="AppInfotainment">
<div class="fiveIndustry">
<div class="title">
<h2>{{ title }}</h2>
<p>实现乡村振兴的物质基础</p>
</div>
<div class="list">
<div class="item">
<span>产业资讯</span>
<span><u-icon name="arrow-right"></u-icon></span>
</div>
</div>
</div>
<!-- <AiEmpty description="暂无数据" v-else /> -->
</div>
</template>
<script>
export default {
name: 'AppInfotainment',
appName: '宣传资讯',
data() {
return {
fiveList: [],
title: '产业振兴',
current: 1,
categoryType: '0',
list: [],
}
},
onShow() {
document.title = this.title
this.getFiveList()
},
methods: {
getFiveList() {
this.$http.post('/app/apppublicitycategory/list',null,{
params: {
categoryType: '0',
}
}).then((res)=>{
console.log(res);
this.fiveList = res.data.records
})
}
},
}
</script>
<style lang="scss" scoped>
.AppInfotainment {
::v-deep .AppInfotainment {
background: none;
}
.fiveIndustry {
.title {
padding: 30px 32px;
box-sizing: border-box;
height: 256px;
background: #FFF url('./components/bg.png') no-repeat right;
background-size: 336px 256px;
h2 {
margin-top: 20px;
font-size: 50px;
font-weight: 800;
}
p {
margin-top: 16px;
font-size: 30px;
color: #999999;
}
}
.list {
margin-top: 24px;
background: #FFF;
padding: 0 32px 40px 32px;
box-sizing: border-box;
.item {
display: flex;
justify-content: space-between;
padding: 30px 0;
border-bottom: 1px solid #D8DDE6;
}
}
}
}
</style>