Commit 5b061966 by 姜雷

修改顶部状态栏和logo

parent 8423817b
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
:title="title" :title="title"
> >
<div <div
class="com-logo" class="complate-logo"
slot="logo" slot="logo"
> >
<img <img
src="@/assets/images/pic_logo.png" src="@/assets/images/pic_logo@2x.png"
alt="logo" alt="logo"
> >
</div> </div>
...@@ -186,6 +186,7 @@ export default { ...@@ -186,6 +186,7 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
@import '@/assets/styles/variables.scss';
.AppTopBar { .AppTopBar {
flex: 1; flex: 1;
display: flex; display: flex;
...@@ -197,4 +198,21 @@ export default { ...@@ -197,4 +198,21 @@ export default {
.left-box { .left-box {
transition: all 0.48s; transition: all 0.48s;
} }
.topTitle {
.complate-logo {
width: 319px;
height: 80px;
}
.com-title {
display: none;
}
}
@media screen and (max-width: $bigScreenWidth) {
.topTitle {
.complate-logo {
width: 160px;
height: 40px;
}
}
}
</style> </style>
<template> <template>
<div class="avatar-container"> <div class="avatar-container">
<TimeBox />
<div class="avatar-name"> <div class="avatar-name">
<span>欢迎您,{{ userInfo.name }}</span> <span>欢迎您,{{ userInfo.name }}</span>
<span <span
...@@ -42,6 +41,7 @@ ...@@ -42,6 +41,7 @@
</div> </div>
</span> </span>
</div> </div>
<TimeBox />
<normal-dialog <normal-dialog
title="修改密码" title="修改密码"
...@@ -507,15 +507,13 @@ export default { ...@@ -507,15 +507,13 @@ export default {
<style lang="scss"> <style lang="scss">
@import '../../../assets/styles/variables.scss'; @import '../../../assets/styles/variables.scss';
.avatar-container { .avatar-container {
margin-left: 66px; margin-left: 44px;
display: flex; display: flex;
justify-content: center; align-items: center;
flex-direction: column;
color: #fff; color: #fff;
line-height: 22px; line-height: 22px;
font-size: 12px; font-size: 12px;
flex: 1; flex: 1;
justify-content: flex-end;
.avatar-container-line { .avatar-container-line {
margin: 0 20px; margin: 0 20px;
} }
...@@ -524,6 +522,7 @@ export default { ...@@ -524,6 +522,7 @@ export default {
align-items: center; align-items: center;
line-height: 20px; line-height: 20px;
font-size: 14px; font-size: 14px;
margin-right: 20px;
.avatar-name-icon { .avatar-name-icon {
position: relative; position: relative;
margin-left: 6px; margin-left: 6px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment