浏览代码

头部样式调整

reloaded 5 年之前
父节点
当前提交
8389d05ae7
共有 1 个文件被更改,包括 7 次插入1 次删除
  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>