feat: 升级vue3版本和router版本,主框架调整,页面样式统一

This commit is contained in:
rd
2025-08-16 17:01:06 +08:00
parent f14a525828
commit b4bca57f04
47 changed files with 503 additions and 586 deletions

View File

@ -59,7 +59,7 @@
</div>
</template>
</a-table>
<div v-if="pageInfo.total > 0" class="pagination-box flex justify-end">
<div v-if="pageInfo.total > 0" class="pagination-row flex justify-end">
<a-pagination
:total="pageInfo.total"
size="mini"

View File

@ -16,12 +16,7 @@
font-weight: 400;
line-height: 22px; /* 157.143% */
}
.pagination-box {
display: flex;
width: 100%;
padding: 16px 24px;
justify-content: flex-end;
align-items: center;
.pagination-row {
.arco-pagination {
.arco-pagination-list {
.arco-pagination-item {

View File

@ -4,7 +4,7 @@
-->
<template>
<div class="account-data-wrap">
<div class="filter-wrap bg-#fff rounded-8px pb-24px mb-16px">
<div class="filter-wrap bg-#fff rounded-8px pb-24px mb-16px">
<a-tabs v-model="activeTab" @tab-click="handleTabClick">
<a-tab-pane key="1" title="账户"></a-tab-pane>
<a-tab-pane key="2" title="计划"></a-tab-pane>
@ -25,9 +25,7 @@
@onReset="init"
/>
</div>
<div
class="table-wrap bg-#fff rounded-8px px-24px py-24px flex-1 flex flex-col"
>
<div class="table-wrap bg-#fff rounded-8px px-24px py-24px flex flex-col">
<component
:is="isAccountTab ? BoardTable : PlanTable"
ref="accountTableRef"
@ -36,7 +34,7 @@
@sorterChange="handleSorterChange"
@selectionChange="handleSelectionChange"
/>
<div v-if="pageInfo.total > 0" class="pagination-box">
<div v-if="pageInfo.total > 0" class="pagination-row">
<a-pagination
:total="pageInfo.total"
size="mini"

View File

@ -1,5 +1,4 @@
.account-data-wrap {
height: 100%;
display: flex;
flex-direction: column;
.filter-wrap {
@ -37,12 +36,5 @@
.table-wrap {
width: 100%;
.pagination-box {
display: flex;
width: 100%;
padding: 16px 24px;
justify-content: flex-end;
align-items: center;
}
}
}

View File

@ -70,7 +70,7 @@
/>
<NoData v-else />
<div v-if="pageInfo.total > 0" class="pagination-box">
<div v-if="pageInfo.total > 0" class="pagination-row">
<a-pagination
:total="pageInfo.total"
size="mini"

View File

@ -51,12 +51,5 @@
.card-wrap {
display: flex;
flex-direction: column;
.pagination-box {
display: flex;
width: 100%;
padding: 16px 24px;
justify-content: flex-end;
align-items: center;
}
}
}

View File

@ -6,7 +6,7 @@
.pagination-box {
display: flex;
width: 100%;
padding: 16px 24px;
padding: 4px 24px 24px;
justify-content: flex-end;
align-items: center;
}
@ -75,7 +75,7 @@
.pagination-box {
display: flex;
width: 100%;
padding: 16px 24px;
padding: 4px 24px 24px;
justify-content: flex-end;
align-items: center;
}
@ -84,7 +84,7 @@
.pagination-box {
display: flex;
width: 100%;
padding: 16px 24px;
padding: 4px 24px 24px;
justify-content: flex-end;
align-items: center;