diff --git a/src/image/user.png b/src/image/user.png new file mode 100644 index 0000000..f586ac0 Binary files /dev/null and b/src/image/user.png differ diff --git a/src/views/Index.vue b/src/views/Index.vue index c0c18e0..c445b04 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -37,17 +37,24 @@ @@ -95,9 +102,9 @@ export default { box-sizing: border-box; } -/* 导航栏的样式 */ -.header { - background-color: beige; +/* 首页左右区域样式 */ +.item { + padding: 0; } /* 侧栏样式 */ @@ -107,13 +114,21 @@ export default { text-align: center; } -.item { - padding: 0; +/* 导航栏的样式 */ +.header { + background-color: beige; } - - +/* 输入容器高度 */ #Navin { height: 40px; } + +/* 用户头像的样式 */ +#userImage img { + width: 40px; + height: 40px; + object-fit: contain; + border-radius: 50%; +} \ No newline at end of file