diff --git a/src/assets/images/contact-info.png b/src/assets/images/contact-info.png index 1b8641e..ba4294a 100644 Binary files a/src/assets/images/contact-info.png and b/src/assets/images/contact-info.png differ diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 0a04182..344f16c 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -30,28 +30,31 @@ - + +
@@ -109,6 +112,10 @@ export default { this.qrcodeTop = (height > 0 ? height : 0) + 'px' this.setKeyword('') window.addEventListener('scroll', this.handleScroll) // 监听页面滚动 + document.body.addEventListener('click', e => { + e.stopPropagation() + this.modelType = false + }) }, methods: { ...mapMutations('content', [ @@ -241,6 +248,21 @@ $height: 90px; .search { margin-right: 43px; } + .mobile-tools { + display: inline-flex; + align-items: center; + .login { + font-size: 1.5rem; + color: #c1c1c1; + cursor: pointer; + } + } + .menu-icon { + margin-right: 10px; + font-size: 1.8rem; + color: #c1c1c1; + cursor: pointer; + } } .search-wrap { position: absolute; @@ -278,13 +300,6 @@ $height: 90px; font-size: 1rem; } } -.rightBox { - position: absolute; - right: 10px; - top: 2rem; - font-size: 2rem; - color: #c1c1c1; -} .contentBox { width: 100%; position: absolute; @@ -295,19 +310,6 @@ $height: 90px; max-height: 30rem; overflow-y: scroll; } -.searchBox, -.languageBox { - padding-left: 20px; - height: 56px; - line-height: 56px; -} -.modelBox { - position: relative; - padding-bottom: 20px; - .search-wrap { - top: 0; - } -} /deep/.qrcode-dia { .el-dialog__header, .el-dialog__body { @@ -336,14 +338,6 @@ $height: 90px; color: black !important; background-color: #fff; } - .contentBox { - .searchBox, - .languageBox { - padding-left: 20px; - height: 40px; - line-height: 40px; - } - } .search-wrap { right: 10px; top: 0; diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 7c02c76..49aee24 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -27,14 +27,13 @@