Sfoglia il codice sorgente

头部样式调整

reloaded 5 anni fa
parent
commit
8389d05ae7
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7 1
      src/layout/live/head.vue

+ 7 - 1
src/layout/live/head.vue

@@ -9,7 +9,7 @@
           <p>
             欢迎来到吉林省计算中心科技平台
           </p>
-          <p>
+          <p class="username">
             <span v-if="user && user.name" @click="stnmae">{{ user.name }}</span>
             <span v-else>
               <button type="button" class="logininfo" @click="btnLogin">登录</button>
@@ -106,4 +106,10 @@ export default {
   font-size: 20px;
   margin: 0 0 0 5px;
 }
+.username span {
+  cursor: pointer;
+}
+/deep/ button {
+  cursor: pointer;
+}
 </style>