Explorar el Código

更新 版本日志徽章样式

wzh hace 3 años
padre
commit
d9b2286bce
Se han modificado 1 ficheros con 11 adiciones y 1 borrados
  1. 11 1
      src/components/Header.vue

+ 11 - 1
src/components/Header.vue

@@ -44,7 +44,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>
@@ -234,6 +236,14 @@ export default {
   margin-right: 16px;
 }
 
+.log {
+  margin-right: 4px;
+}
+
+.quit {
+  margin-left: 26px;
+}
+
 .log-card p {
   font-size: 10px;
 }