This commit is contained in:
Zy
2026-04-06 14:45:50 +08:00
commit f414026af8
373 changed files with 30667 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
<template>
<div class="UnitBox">
<div class="Unit_top flex align-center justify-between">
<div>
<span class="text-size-16px text-color-black text-widget-bold mr-30px">
<strong>B栋</strong>
</span>
<span class="mr-30px">楼栋朝向:西南</span>
<span class="mr-30px">楼高30</span>
<span class="mr-30px">楼栋结构框架 </span>
</div>
<div class="rightActions">
<span class="mr-20px" @click="handleAddHouse">+增加房屋</span>
<span class="mr-20px">收费标准设置</span>
<span>删除</span>
</div>
</div>
<div class="UnitBody">
<TableUnit></TableUnit>
</div>
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import TableUnit from './components/table.vue';
const router = useRouter();
function handleAddHouse() {
console.log('add house');
router.push({
path: '/house/addHouse'
});
}
</script>
<style scoped lang="scss">
$primary_color: #1978fe;
.UnitBox {
flex: 1;
height: 100%;
max-width: 100%;
border-radius: 2px;
font-size: 14px;
background-color: #fff;
display: flex;
flex-direction: column;
overflow: hidden;
.Unit_top {
padding: 20px;
height: 60px;
color: rgba(102, 102, 102, 1);
.rightActions {
color: $primary_color;
}
}
.UnitBody {
flex: 1;
}
}
</style>