liujiangyong
2 years ago
7 changed files with 175 additions and 42 deletions
@ -1,45 +1,92 @@ |
|||||
.page { |
.page { |
||||
height: 100vh; |
height: 100vh; |
||||
background: #F0F2F5; |
background: #F0F2F5; |
||||
box-sizing: border-box; |
|
||||
|
|
||||
.personal { |
|
||||
padding: 20px; |
|
||||
|
|
||||
.info { |
|
||||
border-radius: 10px; |
|
||||
background: #fff; |
|
||||
height: 30vh; |
|
||||
display: flex; |
display: flex; |
||||
flex-direction: column; |
flex-direction: column; |
||||
align-items: center; |
|
||||
justify-content: center; |
|
||||
|
|
||||
.icon { |
.myBox { |
||||
width: 150px; |
width: 90%; |
||||
height: 150px; |
height: 300rpx; |
||||
border-radius: 50%; |
margin: 30rpx auto; |
||||
|
background: url('../../static/img/my/card-bg.svg') no-repeat; |
||||
|
background-size: 100%; |
||||
|
border-radius: 8rpx; |
||||
|
|
||||
|
.my-top { |
||||
|
overflow: hidden; |
||||
|
padding: 70rpx 0 28rpx 30rpx; |
||||
|
|
||||
|
.my-portrait { |
||||
|
width: 120rpx; |
||||
|
height: 120rpx; |
||||
|
display: block; |
||||
|
float: left; |
||||
|
} |
||||
|
|
||||
|
.my-item { |
||||
|
float: left; |
||||
|
margin-left: 32rpx; |
||||
|
width: 70%; |
||||
|
|
||||
|
.my-username { |
||||
|
font-size: 32rpx; |
||||
|
color: #FFFFFF; |
||||
|
margin-bottom: 24rpx; |
||||
|
margin-top: 6rpx; |
||||
|
display: -webkit-box; |
||||
|
-webkit-box-orient: vertical; |
||||
|
-webkit-line-clamp: 2; |
||||
|
overflow: hidden; |
||||
} |
} |
||||
|
|
||||
.name { |
.my-phone { |
||||
font-size: 30px; |
font-size: 28rpx; |
||||
margin-top: 30px; |
font-weight: bold; |
||||
|
color: #FFFFFF; |
||||
|
} |
||||
|
} |
||||
} |
} |
||||
} |
} |
||||
|
|
||||
|
.box { |
||||
|
overflow: hidden; |
||||
|
background-color: #fff; |
||||
|
width: 100%; |
||||
|
height: 92rpx; |
||||
|
line-height: 92rpx; |
||||
|
|
||||
|
.box-img { |
||||
|
width: 52rpx; |
||||
|
height: 52rpx; |
||||
|
display: block; |
||||
|
float: left; |
||||
|
padding: 20rpx 20rpx 20rpx 30rpx; |
||||
} |
} |
||||
|
|
||||
.logout { |
.box-txt { |
||||
box-sizing: border-box; |
float: left; |
||||
width: 100vw; |
font-size: 28rpx; |
||||
margin-top: 50px; |
color: #333333; |
||||
padding: 0 20px; |
} |
||||
|
|
||||
.btn { |
.img { |
||||
background: #fff; |
width: 52rpx; |
||||
font-size: 28px; |
height: 52rpx; |
||||
padding: 8px 0; |
display: block; |
||||
|
float: right; |
||||
|
padding: 20rpx 30rpx 20rpx 0; |
||||
} |
} |
||||
} |
} |
||||
|
|
||||
|
.logout { |
||||
|
width: 550rpx; |
||||
|
height: 80rpx; |
||||
|
line-height: 80rpx; |
||||
|
background: #346FC2; |
||||
|
border-radius: 8rpx; |
||||
|
font-size: 28rpx; |
||||
|
color: #FFFFFF; |
||||
|
margin: 98rpx auto 0; |
||||
|
text-align: center; |
||||
|
} |
||||
} |
} |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 889 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in new issue