.userinfo { position: relative; width: 100%; background: #fff; text-align: center; padding: 30rpx 0; } .userinfo .userinfo-avatar { overflow: hidden; display: block; width: 160rpx; height: 160rpx; border-radius: 50%; box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); margin: auto; } .userinfo .userinfo-name { font-size: 30rpx; font-weight: bold; margin-top: 20rpx; }