提交 8911aba6 authored 作者: 李智林's avatar 李智林

“update”

上级 1c9f29b9
...@@ -573,7 +573,6 @@ ...@@ -573,7 +573,6 @@
</div> </div>
</div> </div>
<div class="right-footer"> <div class="right-footer">
<<<<<<< HEAD
<div class="total-count">{{ totalAll }}</div> <div class="total-count">{{ totalAll }}</div>
<el-pagination <el-pagination
v-model:current-page="currentPageAll" v-model:current-page="currentPageAll"
...@@ -583,11 +582,6 @@ ...@@ -583,11 +582,6 @@
background background
@current-change="handlePageChangeAll" @current-change="handlePageChangeAll"
/> />
=======
<div class="total-count">{{ totalAll }}项调查</div>
<el-pagination v-model:current-page="currentPageAll" :page-size="pageSizeAll" :total="totalAll"
layout="prev, pager, next" background @current-change="handlePageChangeAll" />
>>>>>>> bea204f6b0c426712984ef0245e831fffbbfef4d
</div> </div>
</div> </div>
</div> </div>
......
...@@ -291,6 +291,18 @@ watch([selectedDomain, onlyChina], () => { ...@@ -291,6 +291,18 @@ watch([selectedDomain, onlyChina], () => {
const handlePageChangeAll = val => { const handlePageChangeAll = val => {
currentPageAll.value = val; currentPageAll.value = val;
getSanctionUpdate(); getSanctionUpdate();
const container = document.querySelector(".entity-list");
const target = document.querySelector(".left-bottom");
if (container && target) {
const containerRect = container.getBoundingClientRect();
const targetRect = target.getBoundingClientRect();
// 148是吸顶头部的高度,减去它以避免标题被遮挡
const top = targetRect.top - containerRect.top + container.scrollTop - 148;
container.scrollTo({
top: top,
behavior: "smooth"
});
}
}; };
// 获取实体清单发布机构 // 获取实体清单发布机构
......
...@@ -514,7 +514,6 @@ onMounted(() => { ...@@ -514,7 +514,6 @@ onMounted(() => {
margin: 0 auto; margin: 0 auto;
padding-top: 16px; padding-top: 16px;
padding-bottom: 50px; padding-bottom: 50px;
<<<<<<< HEAD
.main { .main {
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -531,28 +530,6 @@ onMounted(() => { ...@@ -531,28 +530,6 @@ onMounted(() => {
box-shadow: 0px 0px 20px 0px rgba(25, 69, 130, 0.1); box-shadow: 0px 0px 20px 0px rgba(25, 69, 130, 0.1);
background-color: #fff; background-color: #fff;
margin-bottom: 16px; margin-bottom: 16px;
=======
.main {
width: 100%;
height: 100%;
display: flex;
justify-content: space-between;
.left {
width: 520px;
height: 1119px;
.left-top {
width: 100%;
height: 582px;
padding-bottom: 20px;
border-radius: 10px;
box-shadow: 0px 0px 20px 0px rgba(25, 69, 130, 0.1);
background-color: #fff;
margin-bottom: 16px;
>>>>>>> bea204f6b0c426712984ef0245e831fffbbfef4d
.left-top-title { .left-top-title {
padding: 22px 20px 22px 27px; padding: 22px 20px 22px 27px;
width: 100%; width: 100%;
...@@ -610,28 +587,8 @@ onMounted(() => { ...@@ -610,28 +587,8 @@ onMounted(() => {
&.tags { &.tags {
gap: 8px; gap: 8px;
<<<<<<< HEAD
flex-wrap: wrap; flex-wrap: wrap;
overflow: visible; overflow: visible;
=======
overflow-x: auto; // Allow horizontal scrolling
white-space: nowrap; // Prevent wrapping
padding-bottom: 4px; // Add some space for scrollbar
/* Custom Scrollbar */
&::-webkit-scrollbar {
height: 4px;
}
&::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 2px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
>>>>>>> bea204f6b0c426712984ef0245e831fffbbfef4d
.tag { .tag {
padding: 1px 8px; padding: 1px 8px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论