邓洁 : 设备管理雏形

This commit is contained in:
邓洁
2023-12-16 16:33:54 +08:00
parent e8ac21d5be
commit a45afb9e6f
7 changed files with 141 additions and 41 deletions

View File

@@ -7,7 +7,7 @@
</div>
<div class="tunnel-title"></div>
<div class="all-del-btn">
<div class="all-btn" style=" margin-right: 40px;" v-if="!showAddIcon">
<div class="all-btn" style=" margin-right: 40px;" v-if="!showAddIcon" @click="handleAdd">
添加
</div>
<div class="all-btn">
@@ -98,7 +98,6 @@
<script setup>
import {editSite, getSiteDetail, getSiteList, addSite, deleteSite} from "@/api/site";
import {ElMessage, ElMessageBox} from "element-plus";
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
const router = useRouter()
const siteList = ref([])
@@ -237,22 +236,6 @@ const handleCurrentChange = async (val) => {
</script>
<style scoped lang="scss">
:deep(.el-checkbox__inner) {
width: 40px !important;
height: 40px !important;
border-radius: 25px;
}
:deep(.el-checkbox__input.is-checked .el-checkbox__inner ) {
width: 25px;
height: 25px;
background-color: #05FEFF;
}
:deep(.el-checkbox__input.is-checked .el-checkbox__inner::after) {
display: none;
}
.clickColor {
position: absolute;
top: 7px;
@@ -418,9 +401,9 @@ const handleCurrentChange = async (val) => {
.box-content {
display: flex;
flex-wrap: wrap;
padding-left: 70px;
padding-right: 70px;
//justify-content: space-between;
padding-left: 100px;
padding-right: 100px;
justify-content: space-between;
.add-box {
cursor: pointer;
@@ -442,7 +425,7 @@ const handleCurrentChange = async (val) => {
.site-box {
margin-top: 122px;
margin-right: 60px;
//margin-right: 60px;
padding: 40px 50px;
width: 1250px;
height: 750px;