From 5bd66255ccd4e995337b9039094964d2677db4cc Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期二, 22 二月 2022 17:19:06 +0800
Subject: [PATCH] 完善日志监控模块, 需要配合valog-server使用
---
src/pages/shuohuangMonitorAnalyze/components/topNav.vue | 34 +++++++++++++++++++++++++---------
1 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/src/pages/shuohuangMonitorAnalyze/components/topNav.vue b/src/pages/shuohuangMonitorAnalyze/components/topNav.vue
index 67805cd..03e1141 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/topNav.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/topNav.vue
@@ -1,35 +1,51 @@
<template>
<div class="top-nav">
- <div class="search-area">
+ <!-- <div class="search-area">
<i class="el-icon-search"></i>
</div>
<div class="notify">
<i class="el-icon-bell"></i>
- </div>
+ </div> -->
<div class="user-area">
- <img src alt />
- username
+ <el-avatar size="small" :src="pic"></el-avatar>
+ <span class="name">寮犱笁</span>
</div>
</div>
</template>
<script>
export default {
-
-}
+ data() {
+ return {};
+ },
+ computed: {
+ pic() {
+ return "/images/search/nobody.png";
+ },
+ },
+};
</script>
<style lang="scss">
.top-nav {
display: flex;
- height: 64px;
- padding-right: 20px;
+ height: 60px;
+ padding-right: 15px;
justify-content: flex-end;
align-items: center;
cursor: pointer;
- i[class^='el-icon-']{
+ box-shadow: 0px 3px 6px rgba(160, 174, 230, 0.56);
+ i[class^="el-icon-"] {
font-size: 20px;
padding: 14px;
}
+ .user-area {
+ span {
+ vertical-align: middle;
+ }
+ .name {
+ padding: 0 10px;
+ }
+ }
}
</style>
\ No newline at end of file
--
Gitblit v1.8.0