<template>
    <div class="">
        <div class="header">
            <div class="mask"></div>
        </div>
        <section>
            <div class="flex flex-y m-bot10">
                <div class="house_base flex">
                    <img src="@/assets/images/houseQR/house.png" alt="">
                    <div class="flex flex-y flex-center1 flex1">
                        <div class="van-multi-ellipsis--l2">青岛市市北区重青岛市市北区重庆南路青岛市市北区重庆南路庆南路青岛市市北区重庆南路</div>
                        <div>120号205户</div>
                    </div>
                </div>
                <div class="card flex flex-y basi_content content">
                    <div class="flex flex-center">
                        <div class="label">
                            <img src="@/assets/images/icons/community.png" class="img_16 m-right10" alt="">
                            <span class="gray">所属社区：</span>
                        </div>
                        <div class="value flex1">市北区</div>
                    </div>
                    <div class="flex flex-center m-top15">
                        <div class="label">
                            <img src="@/assets/images/icons/grid.png" class="img_16 m-right10" alt="">
                            <span class="gray">所属网格：</span>
                        </div>
                        <span class="value flex1">第一网格</span>
                    </div>
                    <div class="flex flex-center2 flex-end m-top15">
                        <div class="flex">
                            <div class="label">
                                <img src="@/assets/images/icons/grid.png" class="img_16 m-right10" alt="">
                                <span class="gray">社区电话：</span>
                            </div>
                            <div class="value ">0532-66778080</div>
                        </div>
                        <a :href='`tel:0532-66778080`'>拨打</a>
                    </div>
                </div>
            </div>
            <div class="content card ">
                <div class="title">
                    <span>我的社区</span>
                </div>
                <div class="my_community flex flex-wrap">
                    <div style="width: 25%;" class="flex flex-y flex-center1 flex-center2"
                        v-for="(item, index) in myCommunity" :key="index">
                        <img :src="item.imgSrc" class="img_33 m-top16" alt="">
                        <span class="font-size14 m-top10">{{ item.title }}</span>
                    </div>
                </div>
            </div>
            <div class="content card" style="margin-top: 10px;">
                <div class="title"><span>服务矩阵</span></div>
                <div class="my_community flex flex-wrap">
                    <div style="width: 25%;" class="flex flex-y flex-center1 flex-center2"
                        v-for="(item, index) in serverList" :key="index">
                        <img :src="item.imgSrc" class="img_33 m-top16" alt="">
                        <span class="font-size14 m-top10">{{ item.title }}</span>
                    </div>
                </div>
            </div>
        </section>
    </div>
</template>

<script>
export default {
    name: 'houseQR',
    data() {
        return {
            houesId: this.$route.query.houseId,
            myCommunity: [
                {
                    imgSrc: require('@/assets/images/houseQR/1.png'),
                    title: '二维码下载'
                },
                {
                    imgSrc: require('@/assets/images/houseQR/2.png'),
                    title: '我有诉求'
                }, {
                    imgSrc: require('@/assets/images/houseQR/3.png'),
                    title: '社区讯息'
                }, {
                    imgSrc: require('@/assets/images/houseQR/4.png'),
                    title: '社区活动'
                }, {
                    imgSrc: require('@/assets/images/houseQR/5.png'),
                    title: '居民议事'
                }, {
                    imgSrc: require('@/assets/images/houseQR/6.png'),
                    title: '满意度测评'
                }, {
                    imgSrc: require('@/assets/images/houseQR/7.png'),
                    title: '可享服务'
                }, {
                    imgSrc: require('@/assets/images/houseQR/8.png'),
                    title: '身边网格员'
                }
            ],
            serverList: [
                {
                    imgSrc: require('@/assets/images/houseQR/bot_1.png'),
                    title: '户政服务'
                }, {
                    imgSrc: require('@/assets/images/houseQR/bot_2.png'),
                    title: '身份证业务'
                }, {
                    imgSrc: require('@/assets/images/houseQR/bot_3.png'),
                    title: '公积金'
                }, {
                    imgSrc: require('@/assets/images/houseQR/bot_4.png'),
                    title: '电子社保'
                },
            ]
        }
    },
    created() {
        console.log(this.$route, '房屋Id');
    },
    mounted() {

    }
}
</script>

<style scoped lang="less" scoped>
@import './index';
</style>