Ver código fonte

更新 版本日志徽章样式

wzh 3 anos atrás
pai
commit
d8f6cfe8b6
1 arquivos alterados com 16 adições e 1 exclusões
  1. 16 1
      src/components/Header.vue

+ 16 - 1
src/components/Header.vue

@@ -29,7 +29,9 @@
           </el-timeline-item>
         </el-timeline>
         <template #reference>
-          <div class="log">版本日志</div>
+          <el-badge value="new">
+            <div class="log">版本日志</div>
+          </el-badge>
         </template>
       </el-popover>
       <div class="quit" @click="quit">[退出]</div>
@@ -121,4 +123,17 @@ export default {
 .log-card p {
   font-size: 10px;
 }
+.user-icon {
+  width: 18px;
+  height: 18px;
+  margin-right: 16px;
+}
+
+.log {
+  margin-right: 4px;
+}
+
+.quit {
+  margin-left: 26px;
+}
 </style>