提交 99be6521 authored 作者: caicai's avatar caicai

1

上级 aa4a66cc
...@@ -42,20 +42,20 @@ export default { ...@@ -42,20 +42,20 @@ export default {
.item_wrap { .item_wrap {
cursor: pointer; cursor: pointer;
flex-shrink: 0; flex-shrink: 0;
margin-right: 15px; // margin-right: 15px;
// margin-right: 8px; margin-right: 8px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
padding-top: 10px; padding-top: 10px;
// padding-bottom: 10px; padding-bottom: 10px;
box-sizing: border-box; box-sizing: border-box;
// max-width: 110px; // max-width: 110px;
width: 110px; // width: 110px;
height: 110px; // height: 110px;
border-radius: 12px 12px 12px 12px; border-radius: 12px 12px 12px 12px;
// width: calc(33.3% - 6px); width: calc(33.3% - 6px);
&:nth-child(3n) { &:nth-child(3n) {
margin-right: 0; margin-right: 0;
} }
......
...@@ -20,22 +20,25 @@ export default { ...@@ -20,22 +20,25 @@ export default {
float: left; float: left;
// width: 460px; // width: 460px;
// width: 43%; // width: 43%;
width: 49%; // width: 49%;
box-sizing: border-box;
width: 100%;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 24px; margin-top: 24px;
padding: 30px 15px 18px; padding: 30px 15px 18px;
background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.5) 100%); background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.5) 100%);
box-shadow: 0px 4px 4px 0px rgba(10,78,141,0.1); box-shadow: 0px 4px 4px 0px rgba(10,78,141,0.1);
border-radius: 20px 20px 20px 20px; border-radius: 20px;
margin: 24px 12px 0; // margin: 24px 12px 0;
margin-top: 24px;
&.noList { &.noList {
padding-bottom: 30px; padding-bottom: 30px;
} }
&:nth-child(2n+1) { &:nth-child(2n+1) {
// margin-left: 30px; // margin-left: 30px;
// width: 346px; // width: 346px;
width: 37%; // width: 37%;
} }
} }
</style> </style>
\ No newline at end of file
...@@ -204,6 +204,7 @@ export default { ...@@ -204,6 +204,7 @@ export default {
} }
} }
.dragbox_cate { .dragbox_cate {
width: 100%;
.dragbox_cate_name { .dragbox_cate_name {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -231,6 +232,7 @@ export default { ...@@ -231,6 +232,7 @@ export default {
border: 1px solid #C6D3EA; border: 1px solid #C6D3EA;
} }
.dragbox_cate_list { .dragbox_cate_list {
width: 100%;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
......
...@@ -45,12 +45,16 @@ export default { ...@@ -45,12 +45,16 @@ export default {
justify-content: flex-start; justify-content: flex-start;
padding-top: 10px; padding-top: 10px;
box-sizing: border-box; box-sizing: border-box;
width: 110px; // width: 110px;
height: 110px; // height: 110px;
width: calc(33.3% - 4px);
border-radius: 12px 12px 12px 12px; border-radius: 12px 12px 12px 12px;
&:hover { &:hover {
background: rgba(57, 157, 249, 0.1); background: rgba(57, 157, 249, 0.1);
} }
&:nth-child(3n) {
margin-right: 0;
}
} }
.item_img { .item_img {
padding: 4px; padding: 4px;
......
...@@ -165,7 +165,8 @@ export default { ...@@ -165,7 +165,8 @@ export default {
} }
.resource_item { .resource_item {
margin-top: 25px; margin-top: 25px;
margin-left: 90px; // margin-left: 90px;
margin-left: 10px;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
......
...@@ -33,6 +33,9 @@ export default { ...@@ -33,6 +33,9 @@ export default {
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
min-height: 40px; min-height: 40px;
min-width: max-content;
margin-bottom: 15px;
margin-right: 20px;
.school_item_img { .school_item_img {
width: 40px; width: 40px;
height: 40px; height: 40px;
......
...@@ -78,8 +78,8 @@ export default { ...@@ -78,8 +78,8 @@ export default {
this.ipcRenderer.send("window-new", { this.ipcRenderer.send("window-new", {
title: "管理页面", title: "管理页面",
route: "/manage", route: "/manage",
width: 1200, // width: 1200,
// width: 600, width: 600,
height: 700, height: 700,
backgroundColor: "#DBE4F6", backgroundColor: "#DBE4F6",
resizable: false, resizable: false,
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论