From d71a11bb627fc7d8935d24402ab74225da4b520d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 21 Dec 2023 21:33:13 +0800
Subject: [PATCH] 搜索框,标签统计,轮播图位置
---
src/styles/top.scss | 3 ---
src/views/userHouse/lable/statistics.vue | 4 ++--
src/views/article/rotation.vue | 0
src/page/index/top/index.vue | 6 +++---
4 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index bf7e3e5..a9c377e 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -9,9 +9,6 @@
<div class="top-bar__item top-bar__item--show" v-if="showMenu">
<top-menu ref="topMenu"></top-menu>
</div>
- <span class="top-bar__item" v-if="showSearch">
- <top-search v-show="searchShow"></top-search>
- </span>
</div>
<div class="top-bar__right">
<!-- <el-tooltip v-if="showColor"
@@ -38,6 +35,9 @@
<top-lock></top-lock>
</div>
</el-tooltip> -->
+ <div style="position: relative;">
+ <top-search v-show="searchShow"></top-search>
+ </div>
<el-tooltip v-if="showTheme" effect="dark" content="搜索" placement="bottom">
<div class="top-bar__item top-bar__item--show">
<i style="font-size: 18px;" class="el-icon-search" @click="searchShow = !searchShow"></i>
diff --git a/src/styles/top.scss b/src/styles/top.scss
index 0224522..87a72b1 100644
--- a/src/styles/top.scss
+++ b/src/styles/top.scss
@@ -48,9 +48,6 @@
.top-search {
line-height: $height;
- position: absolute !important;
- left: 20px;
- top: 0;
width: 400px !important;
.el-input__inner {
diff --git a/src/views/rotation/index.vue b/src/views/article/rotation.vue
similarity index 100%
rename from src/views/rotation/index.vue
rename to src/views/article/rotation.vue
diff --git a/src/views/userHouse/lable/statistics.vue b/src/views/userHouse/lable/statistics.vue
index 60e273c..1baafea 100644
--- a/src/views/userHouse/lable/statistics.vue
+++ b/src/views/userHouse/lable/statistics.vue
@@ -24,7 +24,7 @@
</div>
<div v-if="index == 1">
- <box-title class="m10" :title="item.name"></box-title>
+ <box-title class="m10" :classVal="9" :title="item.name"></box-title>
<div class="grid-container">
<div v-for="(item1, childIndex) in item.children" :key="childIndex">
@@ -39,7 +39,7 @@
</div>
<div v-if="index == 2">
- <box-title class="m10" :title="item.name"></box-title>
+ <box-title class="m10" :classVal="9" :title="item.name"></box-title>
<div class="grid-container">
<div>
--
Gitblit v1.9.3