From 20bf8e325691f148ce15155b9c6e44f04c48b4dd Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: Thu, 05 Jan 2023 10:41:42 +0800
Subject: [PATCH] 修改时间戳格式,批量优化前端问题。
---
src/views/layout/Layout.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/views/layout/Layout.vue b/src/views/layout/Layout.vue
index 99ba467..05a2816 100644
--- a/src/views/layout/Layout.vue
+++ b/src/views/layout/Layout.vue
@@ -2,7 +2,7 @@
<el-container >
<div v-title :data-title="titleName" class="main"/>
<div :class="classObj" class="app-wrapper">
- <el-header style="text-align: left; padding: 0">
+ <el-header style="text-align: left; padding: 0;height:80px">
<navbar />
</el-header>
<el-container>
@@ -19,9 +19,9 @@
</el-container>
<div v-if="device==='mobile'&&sidebar.opened" class="drawer-bg" @click="handleClickOutside" />
</div>
- <el-footer height="20px">
+ <el-footer height="auto">
<div class="bottom-container">
- <span>Copyright©2017 中国科学院苏州纳米技术与纳米仿生研究所 苏ICP备10220403号-6</span>
+ <span>Copyright ©2020-{{nowadayYear}} 中国科学院苏州纳米技术与纳米仿生研究所</span>
</div>
</el-footer>
</el-container>
@@ -63,6 +63,10 @@
device() {
return this.$store.state.app.device
},
+ nowadayYear(){
+ let date=new Date();
+ return date.getFullYear()
+ },
classObj() {
return {
// hideSidebar: this.sidebar.opened,
@@ -102,7 +106,9 @@
z-index: 999;
}
.bottom-container{
- position: absolute;
- left: 35%;
+ padding:25px;
+ text-align: center;
+ font-size:12px;
+ margin-left: 15%;
}
</style>
--
Gitblit v1.9.2