代码格式修改

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

View File

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