提交 ac11d349 authored 作者: 龙菲's avatar 龙菲

修改navbar

上级 7b933485
<template> <template>
<div :class="{ <div :class="{
nav: true, nav: true,
'header-absolute':true,
'header-fixed ': isFixed, 'header-fixed ': isFixed,
'home-nav': isHome || isBoutique, // 'header-absolute': isHome || isBoutique,
'show-themeColor': isFixed && isHome, 'show-themeColor': isFixed && isHome,
isChStyle: navbarStyle == '2', isChStyle: navbarStyle == '2',
isRedStyle: navbarStyle == '3', isRedStyle: navbarStyle == '3',
...@@ -28,7 +29,6 @@ ...@@ -28,7 +29,6 @@
style="transform: translate(30%,30%);cursor: pointer;"></i> style="transform: translate(30%,30%);cursor: pointer;"></i>
</div> </div>
</div> </div>
<div class="tools animate__animated animate__fadeInRight"> <div class="tools animate__animated animate__fadeInRight">
<div class="wrapper"> <div class="wrapper">
<el-dropdown trigger="click"> <el-dropdown trigger="click">
...@@ -474,7 +474,7 @@ export default { ...@@ -474,7 +474,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
// #2069c4: #2069c4; // #2069c4: #2069c4;
.home-nav { .header-absolute {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
...@@ -518,14 +518,12 @@ export default { ...@@ -518,14 +518,12 @@ export default {
} }
.nav { .nav {
height: 100px; height: 120px;
width: 100%; width: 100%;
transition: all 0.5s ease; transition: all 0.5s ease;
background-color: $themeColor; background-color: $themeColor;
// background-color: #fff;
// background-image: url('@/assets/imgs/home/panel-bg.png');
box-shadow: rgba(0, 0, 0, 0.3) 0 1px 5px 0px; box-shadow: rgba(0, 0, 0, 0.3) 0 1px 5px 0px;
padding: 10px 0;
.container { .container {
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -533,21 +531,15 @@ export default { ...@@ -533,21 +531,15 @@ export default {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 0 70px 0 100px; padding: 0 70px 0 100px;
flex-direction: column;
// overflow: hidden;
.logo-container { .logo-container {
// width: 380px;
// height: 74px;
display: flex; display: flex;
align-items: center; align-items: center;
img { img {
// width: 100%;
// height: 100%;
width: 50px; width: 50px;
height: 50px; height: 50px;
border-radius: 50%; border-radius: 50%;
// box-shadow: 2px 2px 3px 2px rgb(0 0 0 / 30%);
margin-right: 8px; margin-right: 8px;
} }
...@@ -567,12 +559,13 @@ export default { ...@@ -567,12 +559,13 @@ export default {
.tabs { .tabs {
display: flex; display: flex;
margin-right: 80px; // margin-right: 80px;
min-width: 512px; min-width: 900px;
height: 100%; height: 100%;
justify-content: space-between;
.tab-item { .tab-item {
margin-right: 70px; // margin-right: 70px;
color: #fff; color: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -611,26 +604,7 @@ export default { ...@@ -611,26 +604,7 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
// a {
// font-size: 18px;
// white-space: nowrap;
// transition: all 0.5s ease;
// color: #fff;
// text-decoration: none;
// }
// &:hover {
// a {
// // color: #182f68;
// color: #fff8a3;
// // color: #5a4609;
// text-shadow: 0 1px 2px #9fafcb, 1px 0px 2px #9fafcb;
// }
// }
.router-link-exact-active { .router-link-exact-active {
// color: #5a4609;
// color: #182f68;
color: #fff8a3; color: #fff8a3;
text-shadow: 0 1px 2px #9fafcb, 1px 0px 2px #9fafcb; text-shadow: 0 1px 2px #9fafcb, 1px 0px 2px #9fafcb;
} }
...@@ -679,6 +653,8 @@ export default { ...@@ -679,6 +653,8 @@ export default {
} }
::v-deep .tools { ::v-deep .tools {
position: absolute;
right: 10%;
.wrapper { .wrapper {
transform: translateY(4px); transform: translateY(4px);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论