修改页面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

@@ -372,18 +372,18 @@ export default defineComponent({
</script>
<style lang="less">
.my_material_modal{
height: 30rem;
height: calc(30rem*1.2);
overflow-x: hidden;
border-right: 1px solid #e5e5e5;
flex: 1;
border-radius: 0;
&.my_material_modal::-webkit-scrollbar{display: none;}
.ant-modal-close{
width: 3.6rem;
height: 3.6rem;
width: calc(3.6rem*1.2);
height: calc(3.6rem*1.2);
position: absolute;
top: -1.8rem;
right: -1.8rem;
top: calc(-1.8rem*1.2);
right: calc(-1.8rem*1.2);
}
.ant-modal-header{
@@ -393,7 +393,7 @@ export default defineComponent({
.ant-modal-body{
background: #F2F3FB;
height: 80vh;
min-height: 72rem;
min-height: calc(72rem*1.2);
overflow-y: hidden;
padding: 0;
}
@@ -405,8 +405,8 @@ export default defineComponent({
width: 100%;
height: auto;
padding: 0;
padding-top: 2.5rem;
padding-bottom: 2rem;
padding-top: calc(2.5rem*1.2);
padding-bottom: calc(2rem*1.2);
background-color: #fff;
position: sticky;
top: 0;
@@ -417,20 +417,20 @@ export default defineComponent({
align-items: center;
.content_search_block{
margin-right: 5rem;
margin-right: calc(5rem*1.2);
display: flex;
.search_input{
width: 15rem;
padding-left: 1.5rem;
// height: 4rem;
// line-height: 3.8rem;
width: calc(15rem*1.2);
padding-left: calc(1.5rem*1.2);
// height: 4rem*1.2);
// line-height: 3.8rem*1.2);
// background: #FFFFFF;
border: 0.1rem solid #F1F1F1;
// font-size: 1.6rem;
font-size: 1.2rem;
border:calc( 0.1rem*1.2) solid #F1F1F1;
// font-size: 1.6rem*1.2);
font-size: calc(1.2rem*1.2);
font-weight: 400;
height: 3rem;
height: calc(3rem*1.2);
&::placeholder {
color: #C2C2C2;
@@ -438,15 +438,15 @@ export default defineComponent({
}
.search_icon_block{
width: 5rem;
height: 3rem;
line-height: 3rem;
width: calc(5rem*1.2);
height: calc(3rem*1.2);
line-height: calc(3rem*1.2);
text-align: center;
background: #343579;
cursor: pointer;
.icon-sousuo{
font-size: 2rem;
font-size: calc(2rem*1.2);
color: #FFFFFF;
}
}
@@ -454,7 +454,7 @@ export default defineComponent({
.icon_close{
color: rgba(174, 178, 183, 1);
font-size: 2.4rem;
font-size: calc(2.4rem*1.2);
cursor: pointer;
}
}
@@ -463,22 +463,22 @@ export default defineComponent({
}
.my_material_content{
// padding: 0 3rem 3.5rem 3rem;
// padding: 0 3rem*1.2) 3.5rem*1.2) 3rem*1.2);
padding: 0;
// height: calc(100% - 6.6rem);
// height: calc(100% - 6.6rem*1.2));
height: auto;
position: relative;
.material_content_top{
padding: 1.3rem 0 2.1rem;
height: 7rem;
padding: calc(1.3rem*1.2) 0 calc(2.1rem*1.2);
height: calc(7rem*1.2);
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
.material_content_top_title{
font-size: 2rem;
font-size: calc(2rem*1.2);
color: #030303;
}
@@ -489,7 +489,7 @@ export default defineComponent({
.select_block{
background: #FFFFFF;
color: #1A1A1A !important;
margin-right: 2.3rem;
margin-right: calc(2.3rem*1.2);
.icon-xiala{
color: #1A1A1A !important;
@@ -499,7 +499,7 @@ export default defineComponent({
.check_all_block{
display: flex;
align-items: center;
font-size: 1.6rem;
font-size: calc(1.6rem*1.2);
color: #64686D;
cursor: pointer;
@@ -508,12 +508,12 @@ export default defineComponent({
}
.check_block{
width: 2.4rem;
height: 2.4rem;
width: calc(2.4rem*1.2);
height: calc(2.4rem*1.2);
background: #EBECF4;
border: 0.1rem solid #64686D;
padding: 0.3rem;
margin-right: 0.7rem;
border: calc(0.1rem*1.2) solid #64686D;
padding: calc(0.3rem*1.2);
margin-right:calc( 0.7rem*1.2);
.check_block_body{
width: 100%;
@@ -528,18 +528,18 @@ export default defineComponent({
.material_content_body{
width: 100%;
// height: calc(100% - 19rem);
// height: calc(100% - 19rem*1.2));
height: 100%;
overflow-y: auto;
position: relative;
height: 30rem;
height: calc(30rem*1.2);
&.material_content_body::-webkit-scrollbar{display: none;}
.content_img_item{
margin: 0 2rem 5rem 0;
margin: 0 calc(2rem*1.2) calc(5rem*1.2) 0;
display: inline-block;
width: 10rem;
height: 10rem;
width: calc(10rem*1.2);
height: calc(10rem*1.2);
border: 1px solid #f5f5f5;
position: relative;
cursor: pointer;
@@ -550,30 +550,30 @@ export default defineComponent({
height: 100%;
}
&.moodb{
margin: 0 2rem 2rem 0;
margin: 0 calc(2rem*1.2) calc(2rem*1.2) 0;
}
.pin_block{
.ant-checkbox-wrapper{
height: 2.2rem;
height:calc(2.2rem*1.2);
align-items: center;
span{
font-size: 1.4rem;
line-height: 2.3rem;
font-size: calc(1.4rem*1.2);
line-height: calc(2.3rem*1.2);
}
.ant-checkbox-inner{
width: 1.6rem;
height: 1.6rem;
width:calc( 1.6rem*1.2);
height: calc(1.6rem*1.2);
}
.ant-checkbox-inner::after{
width: .571428571rem;
height: .914285714rem;
width: calc(.571428571rem*1.2);
height: calc(.914285714rem*1.2);
}
}
}
&.active{
opacity: 0.5;
// border: 2px solid;
border-radius: 1rem;
border-radius: calc(1rem*1.2);
transform: scale(0.9);
img {
}
@@ -587,21 +587,21 @@ export default defineComponent({
}
}
.content_img_name{
width: 16.5rem;
height: 3.5rem;
line-height: 3.5rem;
width: calc(16.5rem*1.2);
height: calc(3.5rem*1.2);
line-height: calc(3.5rem*1.2);
white-space: nowrap;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1.4rem;
font-size: calc(1.4rem*1.2);
color: #030303;
}
}
.material_content_list_loding{
text-align: center;
img{
height: 10rem;
height: calc(10rem*1.2);
}
}
@@ -624,25 +624,25 @@ export default defineComponent({
}
.material_confirm{
width: 9.8rem;
height: 3.6rem;
line-height: 3.6rem;
font-size: 1.4rem;
width: calc(9.8rem*1.2);
height: calc(3.6rem*1.2);
line-height: calc(3.6rem*1.2);
font-size: calc(1.4rem*1.2);
text-align: center;
margin: 0 auto;
color: #FFFFFF;
background: #343579;
cursor: pointer;
margin-top: 2rem;
margin-top: calc(2rem*1.2);
}
.table_pagination{
position: absolute;
bottom: 3.5rem;
bottom: calc(3.5rem*1.2);
left: 0;
width: 100%;
text-align: center;
margin-top: 5rem;
margin-top: calc(5rem*1.2);
}
}
}