From 05b0f6104cc5e1ac06c8d1f553bbc3e32f6e6521 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 01 Nov 2024 10:43:02 +0800
Subject: [PATCH] 布局容器样式调整
---
src/views/survey/components/box/fireTrend.vue | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/views/survey/components/box/fireTrend.vue b/src/views/survey/components/box/fireTrend.vue
index 4c78ed6..af85115 100644
--- a/src/views/survey/components/box/fireTrend.vue
+++ b/src/views/survey/components/box/fireTrend.vue
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2023-03-13 14:54:26
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-01 09:41:25
+ * @LastEditTime: 2024-11-01 10:28:42
* @FilePath: \bigScreen\src\views\survey\components\box\fireTrend.vue
* @Description:
*
@@ -45,7 +45,7 @@
<template>
<public-content>
<template #content>
- <div class="box-content">
+ <div class="box-content w100 h100 flex f-d-c">
<div>
<div class="search-container">
<input type="text" v-model="searchQuery" placeholder="请输入企业名称" class="search-input" />
@@ -77,11 +77,8 @@
}
.data-content-list {
- height: 50%;
- overflow: scroll;
- // 隐藏滚动条
- scrollbar-width: none;
- text-indent: 1em;
+ flex: 1;
+ overflow-y: auto;
}
.search-input {
@@ -113,8 +110,6 @@
padding: 5px 0;
background-color: #747bff;
justify-content: space-between;
- // 超过高度自动显示滚动条
- overflow-y: auto;
border-radius: 5px;
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3