完善新建项目弹窗

This commit is contained in:
liangbin 2025-08-26 17:56:00 +08:00
parent 62827114b6
commit 602d84ca24
1 changed files with 71 additions and 21 deletions

View File

@ -105,7 +105,6 @@
.contentBox { .contentBox {
padding: 10px; padding: 10px;
background: #ff8899;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
@ -116,7 +115,6 @@
.RightBox { .RightBox {
flex: 1; flex: 1;
height: 400px; height: 400px;
background: #ddd;
margin: 0 5px; margin: 0 5px;
border-radius: 4px; border-radius: 4px;
overflow: auto; overflow: auto;
@ -151,7 +149,8 @@
.CenterBox { .CenterBox {
padding: 0px 10px; padding: 0px 10px;
} }
.CenterBottom{
.CenterBottom {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 10px; gap: 10px;
@ -159,26 +158,22 @@
.CenterItem { .CenterItem {
width: calc(33.333% - 7px); width: calc(33.333% - 7px);
height: 120px; height: 90px;
background: #f5f5f5;
border-radius: 4px; border-radius: 4px;
padding: 10px;
box-sizing: border-box; box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
background: #9e9898;
color: #fff;
} }
.CenterItem:hover { .CenterItem:hover {
background: #e0e0e0; background: #9e9898;
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} }
.CenterItem img{ .CenterItem img {
width: 100%; width: 100%;
height: 60px; height: 60px;
object-fit: cover; object-fit: cover;
@ -187,10 +182,51 @@
} }
.CenterItem span { .CenterItem span {
display: block;
height: 30px;
font-size: 14px; font-size: 14px;
color: #333; color: #fff;
text-align: center; padding-left: 10px;
font-weight: 500; box-sizing: border-box;
}
.RightBox {
padding-top: 10px;
box-sizing: border-box;
color: #fff;
}
.RightBox img {
width: 100%;
height: 100px;
}
.RightBox h2 {
padding: 0px;
margin: 0px;
margin-top: 10px;
font-size: 16px;
font-weight: 600;
}
.RightBox p {
height: 110px;
padding: 0px;
margin: 0px;
margin-top: 10px;
font-size: 14px;
}
.NameBox h4 {
padding: 0px;
margin: 10px 0px;
}
.FootBtn {
margin-top: 10px;
display: flex;
justify-content: flex-end;
} }
</style> </style>
@ -224,12 +260,21 @@
</el-tabs> </el-tabs>
</div> </div>
</div> </div>
<div class="RightBox"></div> <div class="RightBox">
<img src="/src/assets/images/sjdp1.png" alt="">
<h2>基础大屏示列</h2>
<p>包含所有2D基础元素的大屏示列</p>
<div class="FileInfo">文件信息大小3MB</div>
<div class="NameBox">
<h4>项目名称</h4>
<el-input placeholder="请输入名称" />
</div>
<div class="FootBtn">
<el-button @click="handleClose">取消</el-button>
<el-button type="primary">创建项目</el-button>
</div>
</div>
</div> </div>
<template #footer>
<el-button @click="open = false">取消</el-button>
<el-button type="primary" @click="handleSubmit">创建项目</el-button>
</template>
</el-dialog> </el-dialog>
</div> </div>
@ -314,4 +359,9 @@ const handleSubmit = () => {
console.log('提交项目') console.log('提交项目')
open.value = false open.value = false
} }
//
const handleClose = () => {
open.value = false
}
</script> </script>