zhangnuoyan
2024-08-25 6f963e5ef3daa71aac6db339d27a6de21fe19b74
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",
@@ -207,8 +248,30 @@
        margin-top: 8px;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        position: relative;
        > div {
            margin-left: 20px;
            margin-right: 20px;
        }
        .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 {
@@ -216,6 +279,10 @@
        background: var(--color-bg-2);
        margin-top: 8px;
        flex: 1;
        .menus {
            padding: 0;
            margin-bottom: 20px;
        }
        .cards {
            overflow: hidden;
            > div {