From 7446bd01fb7eb8ee4dd80176cd0dd5b049edee99 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 18 Jan 2024 16:24:49 +0800
Subject: [PATCH] 新增
---
src/views/homePage.vue | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/views/homePage.vue b/src/views/homePage.vue
index ae5bf05..ac24b1e 100644
--- a/src/views/homePage.vue
+++ b/src/views/homePage.vue
@@ -3,7 +3,7 @@
<!-- <img class="pics1" src="src/assets/images/login-data.png">-->
<!-- <img class="pics2" src="src/assets/images/login-search.png">-->
<div class="main-content">
- <div class="top">
+ <div class="top" style="z-index: 1">
<div class="top-cont">
<div class="logo blueFont">智慧安评</div>
<div class="time">
@@ -18,7 +18,7 @@
</div>
</div>
- <div class="nav blueBg">
+ <div class="nav blueBg" style="z-index: 1">
<div class="nav-cont">
<div :class="state.activeMenu == 1?'active': ''" @click="changeTab(1)">
<HomeFilled style="width: 1em; height: 1em; margin-right: 8px" />
@@ -167,7 +167,7 @@
justify-content: center;
.top-cont{
width: 1200px;
- height: 90px;
+ height: 80px;
display: flex;
align-items: center;
justify-content: space-between;
@@ -176,14 +176,14 @@
.logo{
font-size: 2rem;
font-weight: 800;
- height: 90px;
- line-height: 90px;
+ height: 80px;
+ line-height: 80px;
font-family: "PingFang SC";
}
.time{
font-size: 16px;
- height: 90px;
+ height: 80px;
display: flex;
flex-direction: column;
justify-content: center;
@@ -199,13 +199,13 @@
.nav{
width: 100%;
- height: 80px;
+ height: 70px;
position: fixed;
- top: 90px;
+ top: 80px;
left: 0;
.nav-cont{
width: 1200px;
- height: 80px;
+ height: 70px;
margin: 0 auto;
display: flex;
align-items: center;
@@ -215,7 +215,7 @@
height: 100%;
padding: 0 50px;
color: #ffffff;
- background-color: #5175C0;
+ background-color: #385ca7;
font-size: 20px;
text-decoration: none;
display: flex;
@@ -224,11 +224,11 @@
cursor: pointer;
&:hover{
- background: #425f9f;
+ background: #294582;
}
}
.active{
- background: #425f9f;
+ background: #294582;
}
}
}
@@ -250,14 +250,14 @@
}
.el-login-footer {
- height: 60px;
- line-height: 60px;
+ height: 40px;
+ line-height: 40px;
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
color: #fff;
- background: #5175C0;
+ background: #385ca7;
font-family: "PingFang SC";
font-size: 12px;
letter-spacing: 1px;
--
Gitblit v1.9.2