From f7d078f8850eef9c637435477053feca48de0d46 Mon Sep 17 00:00:00 2001 From: van Date: Mon, 6 Apr 2026 17:40:09 +0800 Subject: [PATCH] 1 --- src/views/system/jdorder/orderList.vue | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/src/views/system/jdorder/orderList.vue b/src/views/system/jdorder/orderList.vue index 0a4a5c9..0e2985f 100644 --- a/src/views/system/jdorder/orderList.vue +++ b/src/views/system/jdorder/orderList.vue @@ -141,7 +141,7 @@ @@ -1243,6 +1243,17 @@ export default { } }, methods: { + handleMainPagination() { + this.getList() + this.$nextTick(() => { + const el = this.$refs.profitSummaryBar + if (el && typeof el.scrollIntoView === 'function') { + el.scrollIntoView({ behavior: 'smooth', block: 'start' }) + } else if (typeof window !== 'undefined') { + window.scrollTo({ top: 0, behavior: 'smooth' }) + } + }) + }, /** 处理移动端操作菜单命令 */ handleActionCommand({ action, row }) { switch (action) { @@ -3265,6 +3276,17 @@ export default { font-size: 13px; color: #606266; } +.sticky-summary { + position: sticky; + top: 0; + z-index: 21; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); +} +.order-table ::v-deep .el-table__header-wrapper { + position: sticky; + top: 46px; + z-index: 20; +} .profit-summary-item { margin-right: 20px; }