修改页面detail和coll字体以及比例

This commit is contained in:
X1627315083
2024-01-10 14:09:44 +08:00
parent 59c5e59347
commit 46a02478b6
35 changed files with 1191 additions and 1305 deletions

View File

@@ -757,22 +757,22 @@ export default defineComponent({
position: sticky;
top: 0;
background: #fff;
padding-top: 2.5rem;
padding-bottom: 2rem;
padding-top: calc(2.5rem*1.2);
padding-bottom: calc(2rem*1.2);
z-index: 2;
}
.generate_checkbox {
div {
margin-right: 4rem;
margin-right: calc(4rem*1.2);
label {
display: flex;
cursor: pointer;
input {
margin-right: 0.5rem;
padding-left: 1.5rem;
margin-right: calc(0.5rem*1.2);
padding-left: calc(1.5rem*1.2);
}
span {
font-size: 1.2rem;
font-size: calc(1.2rem*1.2);
font-weight: 500;
}
}
@@ -780,25 +780,25 @@ export default defineComponent({
}
.printModel{
>div{
width: 13rem;
width: calc(13rem*1.2);
// display: flex;
display: block;
border-radius: 1rem;
border-radius: calc(1rem*1.2);
margin: 0;
border: 2px solid;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 1rem;
padding: 0 calc(1rem*1.2);
text-align: center;
}
ul{
position: absolute;
width: 13rem;
width: calc(13rem*1.2);
text-align: center;
margin-top: .3rem;
border-radius: 1rem;
margin-top: calc(.3rem*1.2);
border-radius: calc(1rem*1.2);
overflow: hidden;
li{
background: rgba(0,0,0,.2);
@@ -807,7 +807,7 @@ export default defineComponent({
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 1rem;
padding: 0 calc(1rem*1.2);
&.printModel_item:hover{
background: rgba(0,0,0,.4);
}
@@ -824,12 +824,12 @@ export default defineComponent({
flex: 1;
.generage_img_item {
cursor: pointer;
margin: 0 2rem 2rem 0;
margin: 0 calc(2rem*1.2) calc(2rem*1.2) 0;
position: relative;
&.active {
opacity: 0.5;
// border: 2px solid;
border-radius: 1rem;
border-radius: calc(1rem*1.2);
img {
transform: scale(0.9);
}
@@ -838,17 +838,17 @@ export default defineComponent({
}
}
img {
width: 10rem;
height: 10rem;
width: calc(10rem*1.2);
height: calc(10rem*1.2);
}
.delete_like_file_block{
top: 0.9rem;
right: 0.9rem;
top: calc(0.9rem*1.2);
right: calc(0.9rem*1.2);
&.left{
left: .9rem;
left: calc(.9rem*1.2);
}
i{
font-size: 1.6rem;
font-size: calc(1.6rem*1.2);
color: #fff;
&.fi-rr-heart{
@@ -899,18 +899,18 @@ export default defineComponent({
.delete_file_block {
display: none;
width: 3.2rem;
height: 3.2rem;
width: calc(3.2rem*1.2);
height: calc(3.2rem*1.2);
background: rgba(0, 0, 0, 0.6);
border-radius: 0.4rem;
border-radius: calc(0.4rem*1.2);
position: absolute;
top: 0.9rem;
right: 0.9rem;
top: calc(0.9rem*1.2);
right: calc(0.9rem*1.2);
text-align: center;
line-height: 3.2rem;
line-height: calc(3.2rem*1.2);
left: auto;
.icon-shanchu {
font-size: 1.6rem;
font-size: calc(1.6rem*1.2);
color: #fff;
}
}
@@ -923,238 +923,5 @@ export default defineComponent({
}
}
}
.my_material_modal {
border-radius: 2rem;
.ant-modal-close {
width: 3.6rem;
height: 3.6rem;
position: absolute;
top: -1.8rem;
right: -1.8rem;
}
.ant-modal-header {
display: none;
}
.ant-modal-body {
background: #f2f3fb;
height: 80vh;
min-height: 72rem;
overflow-y: hidden;
padding: 0;
}
.my_material_header {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 6.6rem;
background: #f7f7f7;
padding: 0 3.4rem 0 3.1rem;
.my_material_title {
font-size: 1.8rem;
color: #030303;
font-weight: 500;
}
.my_material_header_right {
display: flex;
justify-content: space-between;
align-items: center;
.content_search_block {
margin-right: 5rem;
display: flex;
.search_input {
width: 30rem;
padding-left: 1.5rem;
height: 4rem;
line-height: 3.8rem;
background: #ffffff;
border: 0.1rem solid #f1f1f1;
font-size: 1.6rem;
font-weight: 400;
&::placeholder {
color: #c2c2c2;
}
}
.search_icon_block {
width: 6rem;
height: 4rem;
line-height: 4rem;
text-align: center;
background: #343579;
cursor: pointer;
.icon-sousuo {
font-size: 2rem;
color: #ffffff;
}
}
}
.icon_close {
color: rgba(174, 178, 183, 1);
font-size: 2.4rem;
cursor: pointer;
}
}
}
.my_material_content {
padding: 0 3rem 3.5rem 3rem;
height: calc(100% - 6.6rem);
position: relative;
.material_content_top {
padding: 1.3rem 0 2.1rem;
height: 7rem;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
.material_content_top_title {
font-size: 2rem;
color: #030303;
}
.material_content_top_right {
display: flex;
align-items: center;
.select_block {
background: #ffffff;
color: #1a1a1a !important;
margin-right: 2.3rem;
.icon-xiala {
color: #1a1a1a !important;
}
}
.check_all_block {
display: flex;
align-items: center;
font-size: 1.6rem;
color: #64686d;
cursor: pointer;
&.check_all {
color: #1a1a1a;
}
.check_block {
width: 2.4rem;
height: 2.4rem;
background: #ebecf4;
border: 0.1rem solid #64686d;
padding: 0.3rem;
margin-right: 0.7rem;
.check_block_body {
width: 100%;
height: 100%;
background: #343579;
}
}
}
}
}
.material_content_body {
width: 100%;
height: calc(100% - 19rem);
overflow-y: auto;
position: relative;
.content_img_item {
display: inline-block;
vertical-align: top;
padding: 0 1.4rem;
margin-bottom: 2.8rem;
.content_img_item_block {
border: 0.1rem solid transparent;
width: 16.5rem;
height: 16.5rem;
display: flex;
align-items: center;
justify-content: center;
position: relative;
cursor: pointer;
&.select_item_img {
border-color: #343579;
}
.print_content_img {
width: 100%;
height: 100%;
}
.content_img {
max-width: 100%;
max-height: 100%;
}
}
.content_img_name {
width: 16.5rem;
height: 3.5rem;
line-height: 3.5rem;
white-space: nowrap;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1.4rem;
color: #030303;
}
}
}
.no_data_block {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
left: 0;
top: 0;
z-index: 99;
&.loading_block {
background: rgba(0, 0, 0, 0.2);
}
}
.material_confirm {
width: 9.8rem;
height: 3.6rem;
line-height: 3.6rem;
font-size: 1.4rem;
text-align: center;
margin: 0 auto;
color: #ffffff;
background: #343579;
cursor: pointer;
margin-top: 2rem;
}
.table_pagination {
position: absolute;
bottom: 3.5rem;
left: 0;
width: 100%;
text-align: center;
margin-top: 5rem;
}
}
}
</style>