格式处理

This commit is contained in:
wuhongjian 2022-06-14 13:57:04 +08:00
parent b5e820c639
commit 85d714d7eb
1 changed files with 109 additions and 74 deletions

View File

@ -247,11 +247,12 @@
top: 50%; top: 50%;
margin-left: -2.6rem; margin-left: -2.6rem;
margin-top: -1.44rem; margin-top: -1.44rem;
font-size: .14rem; font-size: 0.14rem;
font-weight: 500; font-weight: 500;
.ant-radio-inner { .ant-radio-inner {
height: .16rem; height: 0.16rem;
width: .16rem; width: 0.16rem;
} }
.ant-radio-inner::after { .ant-radio-inner::after {
background-color: unset; background-color: unset;
@ -260,46 +261,50 @@
background-position: center; background-position: center;
} }
.ant-modal-content { .ant-modal-content {
border-radius: .1rem; border-radius: 0.1rem;
.ability-to-type, .ability-to-type,
.component-type { .component-type {
display: flex; display: flex;
margin-top: .2rem; margin-top: 0.2rem;
.title { .title {
white-space: nowrap; white-space: nowrap;
margin-right: .2rem; margin-right: 0.2rem;
display: flex; display: flex;
align-items: center; align-items: center;
height: .26rem; height: 0.26rem;
} }
.content { .content {
width: 100%; width: 100%;
.ant-radio-group { .ant-radio-group {
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
grid-gap: .15rem; grid-gap: 0.15rem;
} }
} }
} }
.ability-to-type { .ability-to-type {
.content { .content {
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
div { div {
margin-right: .15rem; margin-right: 0.15rem;
cursor: pointer; cursor: pointer;
font-size: .14rem; font-size: 0.14rem;
width: .9rem; width: 0.9rem;
height: .26rem; height: 0.26rem;
border-radius: .13rem; border-radius: 0.13rem;
color: #333333; color: #333333;
background: #f5f5f5; background: #f5f5f5;
border: .01rem #cccccc solid; border: 0.01rem #cccccc solid;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-weight: 500; font-weight: 500;
} }
.ability-to-type-down { .ability-to-type-down {
background: #0087ff; background: #0087ff;
color: #fff; color: #fff;
@ -307,26 +312,30 @@
} }
} }
} }
.ant-modal-title { .ant-modal-title {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.ant-modal-footer { .ant-modal-footer {
border: 0; border: 0;
text-align: center; text-align: center;
padding-bottom: .2rem; padding-bottom: 0.2rem;
button { button {
margin-right: .2rem; margin-right: 0.2rem;
border-radius: .08rem; border-radius: 0.08rem;
} }
} }
.showBg { .showBg {
height: .24rem; height: 0.24rem;
width: .24rem; width: 0.24rem;
background: url('~@/assets/home/shenqing.png') no-repeat; background: url('~@/assets/home/shenqing.png') no-repeat;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
margin-right: .1rem; margin-right: 0.1rem;
} }
} }
</style> </style>
@ -335,106 +344,121 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding-bottom: .8rem; padding-bottom: 0.8rem;
padding-top: .78rem; padding-top: 0.78rem;
.title { .title {
font-size: .3rem; font-size: 0.3rem;
font-family: 'convergence-typeface'; font-family: 'convergence-typeface';
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin-bottom: .32rem; margin-bottom: 0.32rem;
.title-son { .title-son {
width: .34rem; width: 0.34rem;
height: .03rem; height: 0.03rem;
background: #0058e1; background: #0058e1;
border-radius: .01rem; border-radius: 0.01rem;
margin-top: .18rem; margin-top: 0.18rem;
} }
} }
.content { .content {
width: 13rem; width: 13rem;
height: 4.8rem; height: 4.8rem;
display: flex; display: flex;
padding-left: .2rem; padding-left: 0.2rem;
.content-empty { .content-empty {
height: 2.2rem; height: 2.2rem;
padding-top: .49rem; padding-top: 0.49rem;
} }
} }
.content > div { .content > div {
background: #f3f5f9; background: #f3f5f9;
border: #eaedf2 .01rem solid; border: #eaedf2 0.01rem solid;
} }
.content > div:hover { .content > div:hover {
border-radius: .02rem; border-radius: 0.02rem;
border: .01rem solid #0058e1; border: 0.01rem solid #0058e1;
box-shadow: 0rem .08rem .2rem rgba(0, 88, 225, 0.3); box-shadow: 0rem 0.08rem 0.2rem rgba(0, 88, 225, 0.3);
} }
.content-miaoshui { .content-miaoshui {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding-top: .2rem; padding-top: 0.2rem;
align-items: center; align-items: center;
padding-bottom: .1rem; padding-bottom: 0.1rem;
.content-miaoshui-title { .content-miaoshui-title {
padding-left: .05rem; padding-left: 0.05rem;
padding-right: .05rem; padding-right: 0.05rem;
font-size: .18rem; font-size: 0.18rem;
font-weight: bold; font-weight: bold;
height: .3rem; height: 0.3rem;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-bottom: .12rem; margin-bottom: 0.12rem;
word-break: break-all; word-break: break-all;
} }
.content-miaoshui-content { .content-miaoshui-content {
height: 1.2rem; height: 1.2rem;
width: 2.98rem; width: 2.98rem;
margin: .12rem .1rem .1rem .1rem; margin: 0.12rem 0.1rem 0.1rem 0.1rem;
font-family: text-typeface; font-family: text-typeface;
font-size: .14rem; font-size: 0.14rem;
line-height: .2rem; line-height: 0.2rem;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 6; -webkit-line-clamp: 6;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
margin-bottom: .12rem; margin-bottom: 0.12rem;
word-break: break-all; word-break: break-all;
cursor: pointer; cursor: pointer;
} }
} }
.shijain { .shijain {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: bottom; align-items: bottom;
margin-right: .16rem; margin-right: 0.16rem;
margin-left: .16rem; margin-left: 0.16rem;
div:first-child { div:first-child {
margin-left: .16rem; margin-left: 0.16rem;
} }
} }
.shijain-content-bootom { .shijain-content-bootom {
margin-right: .16rem; margin-right: 0.16rem;
width: .8rem; width: 0.8rem;
height: .24rem; height: 0.24rem;
text-align: center; text-align: center;
border: .01rem solid #0058e1; border: 0.01rem solid #0058e1;
cursor: pointer; cursor: pointer;
color: #0058e1; color: #0058e1;
} }
.shijain-content-bootom:hover { .shijain-content-bootom:hover {
background: rgba(0, 88, 225, 0.3); background: rgba(0, 88, 225, 0.3);
} }
.content > div > div { .content > div > div {
height: 2.4rem; height: 2.4rem;
width: 100%; width: 100%;
} }
.one { .one {
height: 2.4rem; height: 2.4rem;
display: flex; display: flex;
@ -442,10 +466,12 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background-size: 100%; background-size: 100%;
padding-top: .15rem; padding-top: 0.15rem;
.shijain { .shijain {
margin-top: .2rem; margin-top: 0.2rem;
} }
:deep(.ant-imag) { :deep(.ant-imag) {
text-align: center; text-align: center;
} }
@ -458,32 +484,37 @@
max-width: 2.98rem; max-width: 2.98rem;
} }
} }
.bottom { .bottom {
height: .24rem; height: 0.24rem;
font-size: .16rem; font-size: 0.16rem;
width: 1rem; width: 1rem;
margin-top: .4rem; margin-top: 0.4rem;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
color: #000000; color: #000000;
.gengduo { .gengduo {
display: inline-block; display: inline-block;
margin-left: .04rem; margin-left: 0.04rem;
width: .1rem; width: 0.1rem;
height: .1rem; height: 0.1rem;
background: url('~@/assets/newHome/gd2.png') no-repeat; background: url('~@/assets/newHome/gd2.png') no-repeat;
background-position: center; background-position: center;
} }
} }
.bottom:hover { .bottom:hover {
border-radius: .02rem; border-radius: 0.02rem;
background-color: rgba(1, 102, 255, 0.1); background-color: rgba(1, 102, 255, 0.1);
} }
.content > div { .content > div {
height: 4.8rem; height: 4.8rem;
width: 3.1rem; width: 3.1rem;
margin-right: .2rem; margin-right: 0.2rem;
} }
.fixedmount { .fixedmount {
height: 1.5rem; height: 1.5rem;
display: flex; display: flex;
@ -495,39 +526,43 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.fixedmount div { .fixedmount div {
width: .7rem; width: 0.7rem;
height: .7rem; height: 0.7rem;
border-radius: .04rem; border-radius: 0.04rem;
border: .01rem #94aac9 solid; border: 0.01rem #94aac9 solid;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
// justify-content: center; // justify-content: center;
align-items: center; align-items: center;
padding-top: .13rem; padding-top: 0.13rem;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
background: #e3edfc; background: #e3edfc;
} }
.fixedmount div p:nth-child(2) { .fixedmount div p:nth-child(2) {
position: absolute; position: absolute;
bottom: 0rem; bottom: 0rem;
height: .14rem; height: 0.14rem;
font-size: .14rem; font-size: 0.14rem;
line-height: .14rem; line-height: 0.14rem;
color: #000000; color: #000000;
// margin-top: .08rem; // margin-top: .08rem;
} }
.fixedmount div:nth-child(1) p:nth-child(1) { .fixedmount div:nth-child(1) p:nth-child(1) {
height: .24rem; height: 0.24rem;
width: .24rem; width: 0.24rem;
background: url('~@/assets/home/shenqing.png') no-repeat; background: url('~@/assets/home/shenqing.png') no-repeat;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
.fixedmount div:nth-child(2) p:nth-child(1) { .fixedmount div:nth-child(2) p:nth-child(1) {
height: .24rem; height: 0.24rem;
width: .24rem; width: 0.24rem;
background: url('~@/assets/home/shangjia.png') no-repeat; background: url('~@/assets/home/shangjia.png') no-repeat;
} }
} }