zhangxiao
2024-08-26 57b66478e7e335379435b31c20da4619bd1411f5
src/views/oneThree/actualPopulation/index.vue
@@ -35,6 +35,29 @@
        </div>
        <the-a-tabs style="margin: 8px 0" :data="['流动人口', '实有人口']" :index="0" />
        <div class="main">
            <div class="menus">
                <div>
                    <the-a-select :data="['1号楼', '2号楼']" placeholder="请选择" title="居住地址"></the-a-select>
                </div>
                <div><the-a-select :data="['是', '否']" placeholder="请选择" title="实名状态"></the-a-select></div>
                <div>
                    <the-a-select :data="['重点', '非重点']" placeholder="请选择" title="重点类型"></the-a-select>
                </div>
                <div>
                    <the-a-select :data="['农业', '非农业']" placeholder="请选择" title="户籍类型"></the-a-select>
                </div>
                <div>
                    <the-a-select :data="['正序', '倒序']" placeholder="请选择" title="排序"></the-a-select>
                </div>
                <div class="right">
                    <div>
                        <icon-list size="20" />
                    </div>
                    <div class="active">
                        <icon-apps size="20" />
                    </div>
                </div>
            </div>
            <div class="cards">
                <a-card v-for="(item, key) in list" :key="key" class="card-box card-bg-custom">
                    <the-img-card :title="item.title" :icon="item.icon" :contents="item.contents"></the-img-card>
@@ -86,6 +109,24 @@
        ]
    })
);
const changeData = reactive([
    {
        name: "1天",
        value: "1"
    },
    {
        name: "2天",
        value: "2"
    },
    {
        name: "3天",
        value: "3"
    },
    {
        name: "自定义",
        value: "custom"
    }
]);
const cascaderData = reactive([
    {
        value: "beijing",
@@ -197,6 +238,30 @@
</script>
<style lang="scss" scoped>
.menus .right {
    background: var(--color-fill-2);
    padding: 2px;
    display: flex;
    position: absolute;
    right: 0;
    margin-right: 0;
    > div {
        width: 34px;
        height: 34px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        &.active {
            background: #1057fd;
            color: #fff;
        }
    }
}
.main .menus {
    padding: 0 !important;
    margin-bottom: 20px;
}
.comprehensive {
    display: flex;
    flex-direction: column;
@@ -207,12 +272,14 @@
        margin-top: 8px;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        position: relative;
        > div {
            margin-left: 20px;
            margin-right: 20px;
        }
    }
    .main {
        padding: 8px 20px;
        padding: 8px 12px;
        background: var(--color-bg-2);
        margin-top: 8px;
        flex: 1;
@@ -220,7 +287,7 @@
            overflow: hidden;
            > div {
                float: left;
                margin: 0 20px 20px 0;
                margin: 0 12px 12px 0;
            }
        }
    }