Files
dvcp_v2_wxcp_app/src/apps/AppVillagersCircle/AppVillagersCircle.vue

64 lines
1.2 KiB
Vue
Raw Normal View History

2022-02-15 15:55:09 +08:00
<template>
<div class="AppVillagersCircle">
2022-02-18 14:33:36 +08:00
<div class="banner" v-for="(item, index) in bannerList" :key="index" @click="linkTo(item.linkUrl)">
<img :src="item.img" alt="">
<p>{{item.title}}</p>
2022-02-15 15:55:09 +08:00
</div>
</div>
</template>
<script>
export default {
name: 'AppVillagersCircle',
2022-02-18 14:33:36 +08:00
appName: '村民圈审核',
data() {
2022-02-15 15:55:09 +08:00
return {
2022-02-18 14:33:36 +08:00
bannerList: [
{
img: require('./img/blue.png'),
title: '发布信息审核',
linkUrl: './infoList'
},
{
img: require('./img/green.png'),
title: '评论审核',
linkUrl: './commentList'
}
]
2022-02-15 15:55:09 +08:00
}
},
2022-02-18 14:33:36 +08:00
onShow() {
document.title = '村民圈审核'
2022-02-17 19:45:25 +08:00
},
2022-02-15 15:55:09 +08:00
methods: {
2022-02-18 14:33:36 +08:00
linkTo(url) {
uni.navigateTo({url})
2022-02-15 15:55:09 +08:00
}
},
}
</script>
<style lang="scss" scoped>
2022-02-18 14:33:36 +08:00
.AppVillagersCircle{
height: 100%;
padding-top: 16px;
.banner{
padding: 32px 40px 0;
position: relative;
img{
width: 100%;
height: 228px;
2022-02-15 15:55:09 +08:00
}
2022-02-18 14:33:36 +08:00
p{
position: absolute;
top: 120px;
left: 88px;
font-size: 44px;
font-family: PingFang-SC-Heavy, PingFang-SC;
font-weight: 800;
color: #FFF;
line-height: 60px;
2022-02-15 15:55:09 +08:00
}
}
}
2022-02-18 14:33:36 +08:00
</style>