修改页面整体样式

This commit is contained in:
2026-05-20 15:48:23 +08:00
commit 8395202d97
29 changed files with 285 additions and 118 deletions

View File

@ -42,7 +42,7 @@ body,
height: 100%; height: 100%;
main { main {
padding: 20px; padding: 12px;
overflow: auto; overflow: auto;
height: 100%; height: 100%;
width: 100%; width: 100%;

View File

@ -103,7 +103,19 @@
} }
.table_form-container { .table_form-container {
background-color: #fff;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
padding: 16px;
--el-card-border-color: var(--el-border-color-light);
--el-card-border-radius: 4px;
--el-card-padding: 20px;
--el-card-bg-color: var(--el-fill-color-blank);
background-color: var(--el-card-bg-color);
border: 1px solid var(--el-card-border-color);
border-radius: var(--el-card-border-radius);
color: var(--el-text-color-primary);
overflow: hidden;
transition: var(--el-transition-duration);
} }

View File

@ -100,7 +100,7 @@ const handleCurrentChange = (val: number) => {
// float: right; // float: right;
width: 100%; width: 100%;
display: flex; display: flex;
padding: 10px; padding: 10px 10px 0px 10px;
background-color: #fff; background-color: #fff;
justify-content: flex-end; justify-content: flex-end;
align-items: flex-end; align-items: flex-end;

View File

@ -5,16 +5,16 @@
<div class="logo-section"> <div class="logo-section">
<img src="@/assets/images/logo.webp" alt="logo" class="logo-img" /> <img src="@/assets/images/logo.webp" alt="logo" class="logo-img" />
<span class="system-name">Admin System</span> <span class="system-name">Admin System</span>
<!-- 菜单收缩按钮 - 在标题右边 -->
<el-button
class="collapse-btn"
:icon="sidebarCollapsed ? Expand : Fold"
@click="toggleSidebar"
text
/>
</div> </div>
</div> </div>
<!-- 菜单收缩按钮 - 在标题右边 -->
<el-button
class="collapse-btn"
:icon="sidebarCollapsed ? Expand : Fold"
@click="toggleSidebar"
text
/>
<!-- 中间面包屑导航 --> <!-- 中间面包屑导航 -->
<div class="header-center"> <div class="header-center">
<Breadcrumb /> <Breadcrumb />
@ -154,8 +154,7 @@ const handleLogout = () => {
border-bottom: 1px solid var(--el-border-color-light); border-bottom: 1px solid var(--el-border-color-light);
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 0 16px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
position: fixed; position: fixed;
top: 0; top: 0;
@ -166,6 +165,8 @@ const handleLogout = () => {
.header-left { .header-left {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 16px;
box-sizing: border-box;
width: 200px; width: 200px;
flex-shrink: 0; flex-shrink: 0;
@ -182,12 +183,12 @@ const handleLogout = () => {
} }
.system-name { .system-name {
font-size: 8px; font-size: 12px;
font-weight: 600; font-weight: 600;
color: var(--el-text-color-primary); color: var(--el-text-color-primary);
white-space: nowrap; white-space: nowrap;
overflow: hidden; // overflow: hidden;
text-overflow: ellipsis; // text-overflow: ellipsis;
flex: 1; flex: 1;
} }

View File

@ -11,7 +11,7 @@
<!-- 右侧内容区页签 + 主体内容 --> <!-- 右侧内容区页签 + 主体内容 -->
<section class="content-container"> <section class="content-container">
<!-- 页签标签栏 --> <!-- 页签标签栏 -->
<!-- <Tabs /> --> <Tabs />
<!-- 主体内容区 --> <!-- 主体内容区 -->
<main class="main-content"> <main class="main-content">
@ -81,10 +81,9 @@ const handleToggleSidebar = (collapsed: boolean) => {
.main-content { .main-content {
flex: 1; flex: 1;
padding: 16px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
background: var(--el-bg-color-page); // background: white;
} }
} }
} }

View File

@ -7,15 +7,17 @@
<!-- 标签列表区域 --> <!-- 标签列表区域 -->
<div class="tabs-scroll-area" ref="tabsContainerRef"> <div class="tabs-scroll-area" ref="tabsContainerRef">
<draggable <draggable
v-model="tabsList" v-model="tabsList"
item-key="path" item-key="path"
class="tabs-list" class="tabs-list"
:animation="300" :animation="300"
ghost-class="ghost" ghost-class="ghost"
chosen-class="chosen" chosen-class="chosen"
drag-class="drag" drag-class="drag"
handle=".tab-label" handle=".tab-label"
:move="checkDragMove"
@start="handleDragStart"
@end="handleDragEnd" @end="handleDragEnd"
> >
<template #item="{ element: tab }"> <template #item="{ element: tab }">
@ -74,8 +76,8 @@
<!-- 右键菜单 --> <!-- 右键菜单 -->
<teleport to="body"> <teleport to="body">
<div <div
v-if="contextMenuVisible" v-if="contextMenuVisible"
class="context-menu-dropdown" class="context-menu-dropdown"
:style="contextMenuStyle" :style="contextMenuStyle"
@click.stop @click.stop
@ -84,19 +86,35 @@
<el-icon><Refresh /></el-icon> <el-icon><Refresh /></el-icon>
<span>刷新当前页</span> <span>刷新当前页</span>
</div> </div>
<div class="context-menu-item" @click="handleContextMenuCommand('close')"> <div
class="context-menu-item"
:class="{ 'is-disabled': !canCloseCurrent }"
@click="canCloseCurrent && handleContextMenuCommand('close')"
>
<el-icon><Close /></el-icon> <el-icon><Close /></el-icon>
<span>关闭当前</span> <span>关闭当前</span>
</div> </div>
<div class="context-menu-item" @click="handleContextMenuCommand('closeOther')"> <div
class="context-menu-item"
:class="{ 'is-disabled': !canCloseOther }"
@click="canCloseOther && handleContextMenuCommand('closeOther')"
>
<el-icon><Switch /></el-icon> <el-icon><Switch /></el-icon>
<span>关闭其他</span> <span>关闭其他</span>
</div> </div>
<div class="context-menu-item" @click="handleContextMenuCommand('closeLeft')"> <div
class="context-menu-item"
:class="{ 'is-disabled': !canCloseLeft }"
@click="canCloseLeft && handleContextMenuCommand('closeLeft')"
>
<el-icon><ArrowLeft /></el-icon> <el-icon><ArrowLeft /></el-icon>
<span>关闭左侧</span> <span>关闭左侧</span>
</div> </div>
<div class="context-menu-item" @click="handleContextMenuCommand('closeRight')"> <div
class="context-menu-item"
:class="{ 'is-disabled': !canCloseRight }"
@click="canCloseRight && handleContextMenuCommand('closeRight')"
>
<el-icon><ArrowRight /></el-icon> <el-icon><ArrowRight /></el-icon>
<span>关闭右侧</span> <span>关闭右侧</span>
</div> </div>
@ -111,11 +129,56 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { useTabsStore } from '@/stores/modules/tabs' import { useTabsStore, fixedTabs, isFixedTab } from '@/stores/modules/tabs'
import type { TabItem } from '@/stores/modules/tabs' import type { TabItem } from '@/stores/modules/tabs'
import draggable from 'vuedraggable' import draggable from 'vuedraggable'
import { Close, Refresh, Switch, ArrowLeft, ArrowRight, FolderRemove, MoreFilled } from '@element-plus/icons-vue' import { Close, Refresh, Switch, ArrowLeft, ArrowRight, FolderRemove, MoreFilled } from '@element-plus/icons-vue'
//
const canCloseCurrent = computed(() => {
const path = contextMenuPath.value || tabsStore.activeTab || ''
return !isFixedTab(path)
})
//
const canCloseOther = computed(() => {
const path = contextMenuPath.value || tabsStore.activeTab || ''
// - - > 0
const fixedCount = tabsStore.tabs.filter(t => isFixedTab(t.path)).length
const otherCount = tabsStore.tabs.length - fixedCount - (isFixedTab(path) ? 0 : 1)
return otherCount > 0
})
//
const canCloseLeft = computed(() => {
const path = contextMenuPath.value || tabsStore.activeTab || ''
const rightClickIndex = tabsStore.tabs.findIndex(t => t.path === path)
if (rightClickIndex <= 0) return false
//
for (let i = 0; i < rightClickIndex; i++) {
const tab = tabsStore.tabs[i]
if (tab && !isFixedTab(tab.path)) {
return true
}
}
return false
})
//
const canCloseRight = computed(() => {
const path = contextMenuPath.value || tabsStore.activeTab || ''
const rightClickIndex = tabsStore.tabs.findIndex(t => t.path === path)
if (rightClickIndex === -1 || rightClickIndex >= tabsStore.tabs.length - 1) return false
//
for (let i = rightClickIndex + 1; i < tabsStore.tabs.length; i++) {
const tab = tabsStore.tabs[i]
if (tab && !isFixedTab(tab.path)) {
return true
}
}
return false
})
const router = useRouter() const router = useRouter()
const route = useRoute() const route = useRoute()
const tabsStore = useTabsStore() const tabsStore = useTabsStore()
@ -276,10 +339,55 @@ const closePageDropdown = () => {
} }
} }
//
const handleDragStart = () => {
closeContextMenu()
}
//
const checkDragMove = (evt: any) => {
const draggedPath = evt.draggedContext.element.path
//
if (isFixedTab(draggedPath)) {
return false
}
//
const toIndex = evt.draggedContext.toIndex
//
for (let i = 0; i < toIndex; i++) {
const tab = tabsStore.tabs[i]
if (tab && isFixedTab(tab.path)) {
//
return false
}
}
return true
}
// //
const handleDragEnd = () => { const handleDragEnd = () => {
// tabsStore.setTabs computed //
const fixedTabsList: TabItem[] = []
const otherTabsList: TabItem[] = []
for (const tab of tabsStore.tabs) {
if (isFixedTab(tab.path)) {
fixedTabsList.push(tab)
} else {
otherTabsList.push(tab)
}
}
//
const firstTab = tabsStore.tabs[0]
if (firstTab && !isFixedTab(firstTab.path)) {
tabsStore.setTabs([...fixedTabsList, ...otherTabsList])
}
} }
// //
const handleContextMenuCommand = (command: string) => { const handleContextMenuCommand = (command: string) => {
@ -293,9 +401,11 @@ const handleContextMenuCommand = (command: string) => {
break break
case 'close': case 'close':
if (currentPath) { if (currentPath) {
//
const willCloseCurrentPage = currentPath === route.path
handleTabRemove(currentPath) handleTabRemove(currentPath)
// //
if (currentPath === route.path && tabsStore.activeTab) { if (willCloseCurrentPage && tabsStore.activeTab) {
const newTab = tabsStore.tabs.find(item => item.path === tabsStore.activeTab) const newTab = tabsStore.tabs.find(item => item.path === tabsStore.activeTab)
if (newTab) { if (newTab) {
router.push({ path: newTab.path, query: newTab.query }) router.push({ path: newTab.path, query: newTab.query })
@ -305,26 +415,9 @@ const handleContextMenuCommand = (command: string) => {
break break
case 'closeOther': case 'closeOther':
if (currentPath) { if (currentPath) {
//
const willCloseCurrentPage = route.path !== currentPath
tabsStore.closeOtherTabs(currentPath) tabsStore.closeOtherTabs(currentPath)
//
if (currentPath !== tabsStore.activeTab && tabsStore.activeTab) {
const newTab = tabsStore.tabs.find(item => item.path === tabsStore.activeTab)
if (newTab) {
router.push({ path: newTab.path, query: newTab.query })
}
}
}
break
case 'closeLeft':
if (currentPath) {
//
const currentIndex = tabsStore.tabs.findIndex(item => item.path === route.path)
const rightClickIndex = tabsStore.tabs.findIndex(item => item.path === currentPath)
//
const willCloseCurrentPage = currentIndex > rightClickIndex
tabsStore.closeLeftTabs(currentPath)
// //
if (willCloseCurrentPage) { if (willCloseCurrentPage) {
const targetTab = tabsStore.tabs.find(item => item.path === currentPath) const targetTab = tabsStore.tabs.find(item => item.path === currentPath)
@ -334,18 +427,37 @@ const handleContextMenuCommand = (command: string) => {
} }
} }
break break
case 'closeLeft':
if (currentPath) {
//
const rightClickIndex = tabsStore.tabs.findIndex(item => item.path === currentPath)
const tabsToClose = tabsStore.tabs.slice(0, rightClickIndex).filter(item => item.path !== '/dashboard')
//
const currentTab = tabsToClose.find(item => item.path === route.path)
tabsStore.closeLeftTabs(currentPath)
//
if (currentTab) {
const targetTab = tabsStore.tabs.find(item => item.path === currentPath)
if (targetTab) {
router.push({ path: targetTab.path, query: targetTab.query })
}
}
}
break
case 'closeRight': case 'closeRight':
if (currentPath) { if (currentPath) {
// //
const currentIndex = tabsStore.tabs.findIndex(item => item.path === route.path)
const rightClickIndex = tabsStore.tabs.findIndex(item => item.path === currentPath) const rightClickIndex = tabsStore.tabs.findIndex(item => item.path === currentPath)
// const tabsToClose = tabsStore.tabs.slice(rightClickIndex + 1).filter(item => item.path !== '/dashboard')
const willCloseCurrentPage = currentIndex < rightClickIndex //
const currentTab = tabsToClose.find(item => item.path === route.path)
tabsStore.closeRightTabs(currentPath) tabsStore.closeRightTabs(currentPath)
// //
if (willCloseCurrentPage) { if (currentTab) {
const targetTab = tabsStore.tabs.find(item => item.path === currentPath) const targetTab = tabsStore.tabs.find(item => item.path === currentPath)
if (targetTab) { if (targetTab) {
router.push({ path: targetTab.path, query: targetTab.query }) router.push({ path: targetTab.path, query: targetTab.query })
@ -408,7 +520,7 @@ const closeContextMenu = () => {
height: 42px; height: 42px;
box-sizing: content-box; box-sizing: content-box;
background: var(--el-bg-color); background: var(--el-bg-color);
border-bottom: 1px solid var(--el-border-color-light); // border-bottom: 1px solid var(--el-border-color-light);
padding: 0 40px; padding: 0 40px;
position: relative; position: relative;
z-index: 10; z-index: 10;
@ -480,7 +592,7 @@ const closeContextMenu = () => {
padding: 0 12px; padding: 0 12px;
background: var(--el-fill-color-light); background: var(--el-fill-color-light);
border: 1px solid var(--el-border-color-light); border: 1px solid var(--el-border-color-light);
border-bottom: none; // border-bottom: none;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
color: var(--el-text-color-regular); color: var(--el-text-color-regular);
font-size: 13px; font-size: 13px;
@ -616,11 +728,17 @@ const closeContextMenu = () => {
cursor: pointer; cursor: pointer;
transition: all 0.15s ease; transition: all 0.15s ease;
&:hover { &:hover:not(.is-disabled) {
background: var(--el-fill-color-light); background: var(--el-fill-color-light);
color: var(--el-color-primary); color: var(--el-color-primary);
} }
&.is-disabled {
color: var(--el-text-color-placeholder);
cursor: not-allowed;
pointer-events: none;
}
.el-icon { .el-icon {
font-size: 14px; font-size: 14px;
} }
@ -638,7 +756,7 @@ const closeContextMenu = () => {
padding: 8px 12px; padding: 8px 12px;
font-size: 12px; font-size: 12px;
color: var(--el-text-color-secondary); color: var(--el-text-color-secondary);
border-bottom: 1px solid var(--el-border-color-light); // border-bottom: 1px solid var(--el-border-color-light);
background: var(--el-fill-color-lighter); background: var(--el-fill-color-lighter);
} }

View File

@ -2,6 +2,12 @@ import { defineStore } from 'pinia'
import { getStorage, setStorage, removeStorage } from '@/utils/storage' import { getStorage, setStorage, removeStorage } from '@/utils/storage'
import { useUserStore } from './user' import { useUserStore } from './user'
// 固定标签页列表
export const fixedTabs = ['/dashboard']
// 检查是否是固定标签页
export const isFixedTab = (path: string) => fixedTabs.includes(path)
export interface BreadcrumbItem { export interface BreadcrumbItem {
title: string title: string
path: string path: string
@ -154,41 +160,77 @@ export const useTabsStore = defineStore('tabs', () => {
} }
} }
// 关闭其他页签 // 关闭其他页签(保留固定标签页和当前标签)
const closeOtherTabs = (path: string) => { const closeOtherTabs = (path: string) => {
const currentTab = tabs.value.find(item => item.path === path) const currentTab = tabs.value.find(item => item.path === path)
if (currentTab) { if (currentTab) {
tabs.value = [currentTab] // 获取所有固定标签页
const fixedTabItems = tabs.value.filter(item => isFixedTab(item.path))
// 合并固定标签页和当前标签(去重)
const newTabs = [...fixedTabItems]
if (!isFixedTab(path)) {
newTabs.push(currentTab)
}
tabs.value = newTabs
activeTab.value = path activeTab.value = path
saveTabs() saveTabs()
} }
} }
// 关闭所有页签 // 关闭所有页签(只保留固定标签页)
const closeAllTabs = () => { const closeAllTabs = () => {
// 保留首页 // 保留所有固定标签页
tabs.value = [{ const fixedTabItems = tabs.value.filter(item => isFixedTab(item.path))
title: '首页', // 如果没有固定标签页,添加首页
path: '/dashboard' if (fixedTabItems.length === 0) {
}] fixedTabItems.push({
title: '首页',
path: '/dashboard'
})
}
tabs.value = fixedTabItems
activeTab.value = '/dashboard' activeTab.value = '/dashboard'
saveTabs() saveTabs()
} }
// 关闭左侧页签 // 关闭左侧页签(保留所有固定标签页)
const closeLeftTabs = (path: string) => { const closeLeftTabs = (path: string) => {
const index = tabs.value.findIndex(item => item.path === path) const index = tabs.value.findIndex(item => item.path === path)
if (index > 0) { if (index > 0) {
tabs.value = tabs.value.slice(index) // 收集要保留的标签:所有固定标签页 + 从右键点击位置开始的标签
const tabsToKeep: TabItem[] = []
for (let i = 0; i < tabs.value.length; i++) {
const tab = tabs.value[i]
if (!tab) continue
if (isFixedTab(tab.path) || i >= index) {
// 固定标签页或位于/右侧的标签保留
tabsToKeep.push(tab)
}
}
tabs.value = tabsToKeep
saveTabs() saveTabs()
} }
} }
// 关闭右侧页签 // 关闭右侧页签(保留所有固定标签页)
const closeRightTabs = (path: string) => { const closeRightTabs = (path: string) => {
const index = tabs.value.findIndex(item => item.path === path) const index = tabs.value.findIndex(item => item.path === path)
if (index !== -1 && index < tabs.value.length - 1) { if (index !== -1) {
tabs.value = tabs.value.slice(0, index + 1) // 收集要保留的标签:所有固定标签页 + 从右键点击位置开始的标签
const tabsToKeep: TabItem[] = []
for (let i = 0; i < tabs.value.length; i++) {
const tab = tabs.value[i]
if (!tab) continue
if (isFixedTab(tab.path) || i <= index) {
// 固定标签页或位于左侧的标签保留
tabsToKeep.push(tab)
}
}
tabs.value = tabsToKeep
saveTabs() saveTabs()
} }
} }

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="table_form-container">
<!-- 搜索 --> <!-- 搜索 -->
<CustomerListSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch" <CustomerListSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch"
@reset="handleReset"></CustomerListSearch> @reset="handleReset"></CustomerListSearch>

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="table_form-container">
<!-- 搜索 --> <!-- 搜索 -->
<FundDetailSearch <FundDetailSearch
:search-form="searchForm" :search-form="searchForm"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="deposit-channel"> <div class="deposit-channel table_form-container">
<div class="bar"> <div class="bar">
<el-button type="primary" @click="handleAdd" v-auth="'channel_createChannel'">添加</el-button> <el-button type="primary" @click="handleAdd" v-auth="'channel_createChannel'">添加</el-button>
<el-button type="primary" @click="handleEdit" v-auth="'channel_editChannel'">编辑</el-button> <el-button type="primary" @click="handleEdit" v-auth="'channel_editChannel'">编辑</el-button>

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="rechange-check"> <div class="rechange-check table_form-container">
<!-- 搜索区域默认把当天 0 点到当前时间写入时间输入框 --> <!-- 搜索区域默认把当天 0 点到当前时间写入时间输入框 -->
<RechangeSearch <RechangeSearch
:search-form="searchForm" :search-form="searchForm"
@ -257,13 +257,7 @@ const handlePaginationChange = (page: { currentPage: number; pageSize: number })
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.rechange-check { .rechange-check {
height: 100%;
display: flex;
flex-direction: column;
min-width: 0;
padding-bottom: 70px;
box-sizing: border-box;
// //
:deep(.search-container .el-form) { :deep(.search-container .el-form) {

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="transfer"> <div class="transfer table_form-container">
<div class="title">转账</div> <div class="title">转账</div>
<el-card class="transfer-card"> <el-card class="transfer-card">
<div class="transfer-item"> <div class="transfer-item">
@ -451,6 +451,8 @@ const handleSubmit = async () => {
<style scoped lang="scss"> <style scoped lang="scss">
.transfer { .transfer {
height: 100%;
overflow-y: scroll;
.title { .title {
margin-bottom: 10px; margin-bottom: 10px;
} }

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="withdraw-page"> <div class="withdraw-page table_form-container">
<Table <Table
ref="tableRef" ref="tableRef"
:table-data="tableData" :table-data="tableData"
@ -114,7 +114,6 @@ onMounted(() => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.withdraw-page { .withdraw-page {
padding: 20px;
} }
</style> </style>

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="withdraw-channel"> <div class="withdraw-channel table_form-container">
<div class="bar"> <div class="bar">
<el-button type="primary" @click="handleAdd" v-auth="'channel_createChannel'">添加</el-button> <el-button type="primary" @click="handleAdd" v-auth="'channel_createChannel'">添加</el-button>
<el-button type="primary" @click="handleEdit" v-auth="'channel_editChannel'">编辑</el-button> <el-button type="primary" @click="handleEdit" v-auth="'channel_editChannel'">编辑</el-button>

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="withdraw-check"> <div class="withdraw-check table_form-container">
<!-- 搜索区域复用项目内搜索组件 --> <!-- 搜索区域复用项目内搜索组件 -->
<WithdrawSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch" @reset="handleReset"> <WithdrawSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch" @reset="handleReset">
<template #button> <template #button>
@ -315,10 +315,7 @@ const handlePaginationChange = (page: { currentPage: number; pageSize: number })
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.withdraw-check { .withdraw-check {
height: 100%;
padding-bottom: 70px;
box-sizing: border-box;
// //
:deep(.search-container .el-form) { :deep(.search-container .el-form) {

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="mould-fee"> <div class="mould-fee table_form-container">
<header> <header>
<div class="header-actions"> <div class="header-actions">
<el-button type="primary" @click="addFee" v-auth="'feeHandl_createFeeSetting'" <el-button type="primary" @click="addFee" v-auth="'feeHandl_createFeeSetting'"
@ -234,8 +234,8 @@ onMounted(() => {
<style scoped lang="scss"> <style scoped lang="scss">
.mould-fee { .mould-fee {
height: 100%; // height: 100%;
overflow: hidden; // overflow: hidden;
} }
header { header {
margin-bottom: 8px; margin-bottom: 8px;

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="table_form-container">
<!-- 搜索 --> <!-- 搜索 -->
<CustomerTradeOrderSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch" <CustomerTradeOrderSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch"
@reset="handleReset" @blur-input="getSubAccountList"> @reset="handleReset" @blur-input="getSubAccountList">

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="position-stat"> <div class="position-stat table_form-container">
<!-- 搜索 --> <!-- 搜索 -->
<PositionStatSearch <PositionStatSearch
:search-form="searchForm" :search-form="searchForm"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="order-rechange-page"> <div class="order-rechange-page table_form-container">
<!-- 搜索区域按接口参数保留订单号用户名称状态开始/结束时间 --> <!-- 搜索区域按接口参数保留订单号用户名称状态开始/结束时间 -->
<OrderRechangeSearch <OrderRechangeSearch
:search-form="searchForm" :search-form="searchForm"
@ -194,7 +194,7 @@ const handleAudit = async (row: RechangeOrderItem, status: number) => {
<style scoped lang="scss"> <style scoped lang="scss">
.order-rechange-page { .order-rechange-page {
min-height: 100%; // min-height: 100%;
// //
:deep(.search-container .el-form) { :deep(.search-container .el-form) {

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="table_form-container">
<!-- 搜索 --> <!-- 搜索 -->
<TransferSearch <TransferSearch
:search-form="searchForm" :search-form="searchForm"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="order-withdraw-page"> <div class="order-withdraw-page table_form-container">
<!-- 搜索区域按设计图保留订单号开始时间结束时间并补一个导出按钮 --> <!-- 搜索区域按设计图保留订单号开始时间结束时间并补一个导出按钮 -->
<OrderWithdrawSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch" <OrderWithdrawSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch"
@reset="handleReset"> @reset="handleReset">
@ -153,7 +153,7 @@ const handlePaginationChange = (page: { currentPage: number; pageSize: number })
<style scoped lang="scss"> <style scoped lang="scss">
.order-withdraw-page { .order-withdraw-page {
min-height: 100%; // min-height: 100%;
// //
:deep(.search-container .el-form) { :deep(.search-container .el-form) {

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="table_form-container">
<!-- 搜索 --> <!-- 搜索 -->
<CustomerListSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch" <CustomerListSearch :search-form="searchForm" :search-options="searchOptions" @search="handleSearch"
@reset="handleReset"></CustomerListSearch> @reset="handleReset"></CustomerListSearch>

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="archives"> <div class="archives table_form-container">
<div class="bar"> <div class="bar">
<h4>档案管理</h4> <h4>档案管理</h4>
<span :class="['status', isActive === true ? 'active' : '']">{{ <span :class="['status', isActive === true ? 'active' : '']">{{

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="personal-center"> <div class="personal-center table_form-container">
<div class="page-header"> <div class="page-header">
<h2>{{ t('personalCenter.pageTitle') }}</h2> <h2>{{ t('personalCenter.pageTitle') }}</h2>
</div> </div>

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="client"> <div class="client table_form-container">
<!-- 搜索组件 --> <!-- 搜索组件 -->
<ClientSearch <ClientSearch
:search-form="clientSearchForm" :search-form="clientSearchForm"
@ -522,10 +522,7 @@ const handleAdjustAmountClose = () => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.client{ .client{
height: 100%;
display: flex;
flex-direction: column;
} }
:deep(.el-form-item__content) { :deep(.el-form-item__content) {
margin-left: 0 !important; margin-left: 0 !important;

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="table_form-container">
<!-- 搜索 --> <!-- 搜索 -->
<NoticeSearch <NoticeSearch
:search-form="searchForm" :search-form="searchForm"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="trade-software"> <div class="trade-software table_form-container">
<el-card> <el-card>
<div class="left"> <div class="left">
<el-icon> <el-icon>

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="trade-group"> <div class="trade-group table_form-container">
<el-form-item label="交易节假日时间设置"> <el-form-item label="交易节假日时间设置">
<el-button <el-button
style="margin-left: 18px" style="margin-left: 18px"
@ -220,6 +220,9 @@ onMounted(() => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.trade-group {
overflow-y: scroll;
}
/* 给 table 及所有 td 加边框 */ /* 给 table 及所有 td 加边框 */
table { table {
border-collapse: collapse; border-collapse: collapse;

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="trade-group"> <div class="trade-group table_form-container">
<el-form-item label="交易组时间设置"> <el-form-item label="交易组时间设置">
<el-button type="primary" @click="addTableItem" v-auth="'contractVariety_createGroup'" <el-button type="primary" @click="addTableItem" v-auth="'contractVariety_createGroup'"
>添加</el-button >添加</el-button
@ -295,6 +295,9 @@ onMounted(() => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.trade-group {
overflow-y: scroll;
}
/* 给 table 及所有 td 加边框 */ /* 给 table 及所有 td 加边框 */
table { table {
border-collapse: collapse; border-collapse: collapse;