智慧园区前端大屏
linwe
2024-10-31 91049bfd147ab0af4a81da8ba6cc90dbfc04fc52
src/views/survey/components/box/dataContent.vue
@@ -11,7 +11,7 @@
<script setup>
import publicContent from './publicContent.vue'
// import { ref, reactive } from 'vue'
import { ref, reactive } from 'vue'
import { getPage } from '../../../../api/indParkInfo'
@@ -26,8 +26,8 @@
function getPages() {
    getPage().then(res => {
        parkQy = res.data.data.records
        console.log(res)
        parkQy.value = res.data.data.records
        // console.log(res)
    }).catch(err => {
        console.log(err)
    })
@@ -58,11 +58,13 @@
.data-content-item {
    display: flex;
    margin: 2px 2px;
    margin: 2px 10px;
    padding: 5px 0;
    text-indent: 1em;
    background-color: #747bff;
    justify-content: space-between;
    // 超过高度自动显示滚动条
    overflow-y: auto;
    border-radius: 5px;
}
</style>