代码格式修改

This commit is contained in:
a0049873 2022-06-14 11:57:19 +08:00
parent 8b48a62f9c
commit e74c6ded3e
2 changed files with 44 additions and 44 deletions

View File

@ -36,7 +36,7 @@
</svg> </svg>
<!-- <a-avatar shape="square" size="large" /> --> <!-- <a-avatar shape="square" size="large" /> -->
</a-badge> </a-badge>
<a-badge :count="mynoticeNum" style="margin-left: .2rem"> <a-badge :count="mynoticeNum" style="margin-left: 0.2rem">
<svg <svg
t="1654051054113" t="1654051054113"
class="icon2" class="icon2"
@ -253,7 +253,7 @@
src: url('~@/assets/newHome/font/header-typeface.ttf'); src: url('~@/assets/newHome/font/header-typeface.ttf');
} }
.home-header { .home-header {
height: .64rem; height: 0.64rem;
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -265,17 +265,17 @@
top: 0; top: 0;
div { div {
color: #fff; color: #fff;
font-size: .16rem; font-size: 0.16rem;
} }
.name { .name {
font-size: .22rem; font-size: 0.22rem;
font-family: header-typeface; font-family: header-typeface;
margin-right: .2rem; margin-right: 0.2rem;
} }
.nav { .nav {
width: 1.2rem; width: 1.2rem;
height: .64rem; height: 0.64rem;
line-height: .64rem; line-height: 0.64rem;
text-align: center; text-align: center;
} }
.nav:hover { .nav:hover {
@ -289,31 +289,31 @@
} }
.info { .info {
width: 2rem; width: 2rem;
margin-left: .2rem; margin-left: 0.2rem;
display: flex; display: flex;
justify-content: center; justify-content: center;
.img { .img {
width: .3rem; width: 0.3rem;
height: .3rem; height: 0.3rem;
border-radius: .1rem; border-radius: 0.1rem;
background: url('~@/assets/newHome/user.png') no-repeat; background: url('~@/assets/newHome/user.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
span { span {
height: .3rem; height: 0.3rem;
line-height: .3rem; line-height: 0.3rem;
margin-left: .08rem; margin-left: 0.08rem;
margin-right: .06rem; margin-right: 0.06rem;
font-size: .16rem; font-size: 0.16rem;
} }
.name { .name {
max-width: .75rem; max-width: 0.75rem;
overflow: hidden; overflow: hidden;
} }
.out { .out {
cursor: pointer; cursor: pointer;
padding: 0 .16rem; padding: 0 0.16rem;
border-left: .01rem solid #666; border-left: 0.01rem solid #666;
} }
} }
} }
@ -358,9 +358,9 @@
width: 2.5rem; width: 2.5rem;
height: 3rem; height: 3rem;
background: #eee; background: #eee;
border-radius: .05rem; border-radius: 0.05rem;
position: absolute; position: absolute;
top: .45rem; top: 0.45rem;
right: 3.1rem; right: 3.1rem;
overflow-y: scroll; overflow-y: scroll;
} }
@ -368,13 +368,13 @@
display: none; display: none;
} }
:deep(.ant-list-item) { :deep(.ant-list-item) {
border-bottom: .01rem solid #ccc; border-bottom: 0.01rem solid #ccc;
} }
:deep(.ant-list-item-meta-title) { :deep(.ant-list-item-meta-title) {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
padding: 0 .05rem; padding: 0 0.05rem;
a { a {
width: 1.5rem; width: 1.5rem;
// ... // ...
@ -383,13 +383,13 @@
white-space: nowrap; white-space: nowrap;
} }
button { button {
width: .7rem; width: 0.7rem;
height: .25rem; height: 0.25rem;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
span { span {
font-size: .1rem; font-size: 0.1rem;
} }
} }
} }

View File

@ -116,7 +116,7 @@
src: url('~@/assets/newHome/font/header-typeface.ttf'); src: url('~@/assets/newHome/font/header-typeface.ttf');
} }
.home-header { .home-header {
height: .64rem; height: 0.64rem;
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -127,17 +127,17 @@
z-index: 1000; z-index: 1000;
div { div {
color: #fff; color: #fff;
font-size: .16rem; font-size: 0.16rem;
} }
.name { .name {
font-size: .22rem; font-size: 0.22rem;
font-family: header-typeface; font-family: header-typeface;
margin-right: .2rem; margin-right: 0.2rem;
} }
.nav { .nav {
width: 1.44rem; width: 1.44rem;
height: .64rem; height: 0.64rem;
line-height: .64rem; line-height: 0.64rem;
text-align: center; text-align: center;
} }
.nav:hover { .nav:hover {
@ -151,31 +151,31 @@
} }
.info { .info {
width: 2rem; width: 2rem;
margin-left: .2rem; margin-left: 0.2rem;
display: flex; display: flex;
justify-content: center; justify-content: center;
.img { .img {
width: .3rem; width: 0.3rem;
height: .3rem; height: 0.3rem;
border-radius: .1rem; border-radius: 0.1rem;
background: url('~@/assets/newHome/user.png') no-repeat; background: url('~@/assets/newHome/user.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
span { span {
height: .3rem; height: 0.3rem;
line-height: .3rem; line-height: 0.3rem;
margin-left: .08rem; margin-left: 0.08rem;
margin-right: .06rem; margin-right: 0.06rem;
font-size: .16rem; font-size: 0.16rem;
} }
.name { .name {
max-width: .75rem; max-width: 0.75rem;
overflow: hidden; overflow: hidden;
} }
.out { .out {
cursor: pointer; cursor: pointer;
padding: 0 .16rem; padding: 0 0.16rem;
border-left: .01rem solid #666; border-left: 0.01rem solid #666;
} }
} }
} }