warrior пре 7 месеци
родитељ
комит
6c2cb57544

+ 1 - 1
projects/textbook/src/app/comp-nav/comp-nav.component.html

@@ -8,7 +8,7 @@
   <div class="user">
     <div class="name">{{ tbookSer.profile?.user?.name || "未认证用户" }}<nz-tag [nzColor]="'red'">{{tbookSer.profile?.identity}}</nz-tag></div>
     <div class="email">
-      {{ tbookSer.profile?.user?.email || "test@edu.com" }}
+      {{ tbookSer.profile?.user?.email || "-" }}
     </div>
   </div>
   <div class="more">

+ 2 - 1
projects/textbook/src/app/comp-nav/comp-nav.component.scss

@@ -9,7 +9,8 @@
     display: flex;
     flex-direction: column;
     margin: 0 10px;
-    flex: 1;
+    // flex: 1;
+    width: 134px;
     .name {
       font-family: PingFang SC;
       font-size: 14px;