|
@ -68,12 +68,16 @@ function writeWorks(id,sub){ |
|
|
|
|
|
|
|
|
<style scoped> |
|
|
<style scoped> |
|
|
.container { |
|
|
.container { |
|
|
width: 27%; /* 假设桌面布局的容器宽度为 80% */ |
|
|
|
|
|
margin: 0 auto; /* 居中对齐 */ |
|
|
|
|
|
|
|
|
width: 27%; |
|
|
|
|
|
/* 假设桌面布局的容器宽度为 80% */ |
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
/* 居中对齐 */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
body { |
|
|
body { |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-name { |
|
|
.work-name { |
|
|
opacity: 1; |
|
|
opacity: 1; |
|
|
/** 文本1 */ |
|
|
/** 文本1 */ |
|
@ -85,7 +89,7 @@ body{ |
|
|
/*左对齐*/ |
|
|
/*左对齐*/ |
|
|
vertical-align: top; |
|
|
vertical-align: top; |
|
|
/* 这个属性在 Flex 容器中不起作用,将被移除 */ |
|
|
/* 这个属性在 Flex 容器中不起作用,将被移除 */ |
|
|
display: flex; |
|
|
|
|
|
|
|
|
/* display: flex; */ |
|
|
/* 启用 Flexbox 布局 */ |
|
|
/* 启用 Flexbox 布局 */ |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
/* 垂直居中 */ |
|
|
/* 垂直居中 */ |
|
@ -93,6 +97,7 @@ body{ |
|
|
/* 设置高度,根据需要调整 */ |
|
|
/* 设置高度,根据需要调整 */ |
|
|
width: 50%; |
|
|
width: 50%; |
|
|
/* 如果需要,也可以设置宽度 */ |
|
|
/* 如果需要,也可以设置宽度 */ |
|
|
|
|
|
padding-top: 4%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -115,6 +120,7 @@ body{ |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
margin: auto; |
|
|
margin: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.works { |
|
|
.works { |
|
|
/* ../api/ShowApi |
|
|
/* ../api/ShowApi |
|
|
work\src\assets\bg@3x.png */ |
|
|
work\src\assets\bg@3x.png */ |
|
@ -158,6 +164,7 @@ body{ |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-name { |
|
|
.work-name { |
|
|
opacity: 1; |
|
|
opacity: 1; |
|
|
/** 文本1 */ |
|
|
/** 文本1 */ |
|
@ -215,6 +222,7 @@ body{ |
|
|
opacity: 2; |
|
|
opacity: 2; |
|
|
margin-left: 5px; |
|
|
margin-left: 5px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-status2 { |
|
|
.work-status2 { |
|
|
font-size: 3.8vw; |
|
|
font-size: 3.8vw; |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
@ -266,6 +274,7 @@ body{ |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
margin: auto; |
|
|
margin: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.works { |
|
|
.works { |
|
|
/* ../api/ShowApi |
|
|
/* ../api/ShowApi |
|
|
work\src\assets\bg@3x.png */ |
|
|
work\src\assets\bg@3x.png */ |
|
@ -309,6 +318,7 @@ body{ |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-name { |
|
|
.work-name { |
|
|
opacity: 1; |
|
|
opacity: 1; |
|
|
/** 文本1 */ |
|
|
/** 文本1 */ |
|
@ -329,6 +339,7 @@ body{ |
|
|
width: 50%; |
|
|
width: 50%; |
|
|
/* 如果需要,也可以设置宽度 */ |
|
|
/* 如果需要,也可以设置宽度 */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-content { |
|
|
.work-content { |
|
|
width: 90%; |
|
|
width: 90%; |
|
|
height: 35%; |
|
|
height: 35%; |
|
@ -361,6 +372,7 @@ body{ |
|
|
opacity: 2; |
|
|
opacity: 2; |
|
|
margin-left: 5px; |
|
|
margin-left: 5px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-status2 { |
|
|
.work-status2 { |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
|
background: #ffe1ae; |
|
|
background: #ffe1ae; |
|
@ -404,12 +416,14 @@ body{ |
|
|
color: rgba(255, 255, 255, 1); |
|
|
color: rgba(255, 255, 255, 1); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 电脑 */ |
|
|
/* 电脑 */ |
|
|
@media (min-width: 1280px) { |
|
|
@media (min-width: 1280px) { |
|
|
.container { |
|
|
.container { |
|
|
width: 27%; |
|
|
width: 27%; |
|
|
margin: auto; |
|
|
margin: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.works { |
|
|
.works { |
|
|
/* ../api/ShowApi |
|
|
/* ../api/ShowApi |
|
|
work\src\assets\bg@3x.png */ |
|
|
work\src\assets\bg@3x.png */ |
|
@ -421,6 +435,7 @@ body{ |
|
|
margin: auto; |
|
|
margin: auto; |
|
|
background-size: 100% 100%; |
|
|
background-size: 100% 100%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-name { |
|
|
.work-name { |
|
|
opacity: 1; |
|
|
opacity: 1; |
|
|
/** 文本1 */ |
|
|
/** 文本1 */ |
|
@ -472,6 +487,7 @@ body{ |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
border-radius: 10px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-content { |
|
|
.work-content { |
|
|
width: 90%; |
|
|
width: 90%; |
|
|
height: 35%; |
|
|
height: 35%; |
|
@ -506,6 +522,7 @@ body{ |
|
|
opacity: 2; |
|
|
opacity: 2; |
|
|
margin-left: 5px; |
|
|
margin-left: 5px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-status2 { |
|
|
.work-status2 { |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
|
background: #ffe1ae; |
|
|
background: #ffe1ae; |
|
@ -517,6 +534,7 @@ body{ |
|
|
opacity: 2; |
|
|
opacity: 2; |
|
|
margin-left: 5px; |
|
|
margin-left: 5px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.work-bottem { |
|
|
.work-bottem { |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
display: flex; |
|
|
display: flex; |
|
@ -553,11 +571,4 @@ body{ |
|
|
.work-list { |
|
|
.work-list { |
|
|
margin-top: 12%; |
|
|
margin-top: 12%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |