-
- {/* 金额汇总 */}
-
-
- 总订单金额(已支付):
+ {/* 金额汇总 */}
+
+
+ 总订单金额(已支付):
+
{summary.value.totalOrderAmount.toFixed(2)}元
-
- 总实付金额:
+
+
+ 总实付金额:
+
{summary.value.totalPaidAmount.toFixed(2)}元
-
- 总退款金额:
+
+
+ 总退款金额:
+
{summary.value.totalRefundAmount.toFixed(2)}元
-
+
+
-
-
- {{
- bodyCell: (args: any) =>
- renderBodyCell({
- ...args,
- onView: handleView,
- onReRefund: handleReRefund,
- }),
- }}
-
-
+
+
+ {{
+ bodyCell: (args: any) =>
+ renderBodyCell({
+ ...args,
+ onView: handleView,
+ onReRefund: handleReRefund,
+ }),
+ }}
+
+
- {/* 独立分页,右下方 */}
-
+ {/* 独立分页,右下方 */}
+
diff --git a/src/pages/events/users/index.module.less b/src/pages/events/users/index.module.less
deleted file mode 100644
index db8fd98..0000000
--- a/src/pages/events/users/index.module.less
+++ /dev/null
@@ -1,21 +0,0 @@
-.eventUsersMain {
- flex: 1;
- min-height: 0;
- display: flex;
- flex-direction: column;
-
- .tableBody {
- flex: 1;
- min-height: 0;
- overflow: hidden;
-
- :global {
- .ant-spin-nested-loading,
- .ant-spin-container,
- .ant-table,
- .ant-table-container {
- height: 100%;
- }
- }
- }
-}
diff --git a/src/pages/events/users/index.tsx b/src/pages/events/users/index.tsx
index ae8f63f..3823c06 100644
--- a/src/pages/events/users/index.tsx
+++ b/src/pages/events/users/index.tsx
@@ -12,7 +12,6 @@ import {
} from 'ant-design-vue';
import { useUserModel, USER_STATUS_OPTIONS } from './model/useUserModel';
import { useContainerSize } from '@/hooks';
-import styles from './index.module.less';
import pageStyles from '@/assets/styles/pageLayout.module.less';
/**
@@ -145,37 +144,35 @@ export default defineComponent({
{/* ===== 表格区 ===== */}
-
-
-
- {{
- bodyCell: (args: any) =>
- renderBodyCell({
- ...args,
- onToggleStatus: handleToggleStatus,
- }),
- }}
-
-
+
+
+ {{
+ bodyCell: (args: any) =>
+ renderBodyCell({
+ ...args,
+ onToggleStatus: handleToggleStatus,
+ }),
+ }}
+
+
- {/* 独立分页,右下方 */}
-
+ {/* 独立分页,右下方 */}
+
diff --git a/src/pages/system/roles/index.module.less b/src/pages/system/roles/index.module.less
deleted file mode 100644
index f266da0..0000000
--- a/src/pages/system/roles/index.module.less
+++ /dev/null
@@ -1,49 +0,0 @@
-.systemRolesMain {
- flex: 1;
- min-height: 0;
- display: flex;
- flex-direction: column;
-
- .tableBody {
- flex: 1;
- min-height: 0;
- overflow: hidden;
-
- :global {
- .ant-spin-nested-loading,
- .ant-spin-container,
- .ant-table,
- .ant-table-container {
- height: 100%;
- }
- }
- }
-
- .userCountLink {
- font-variant-numeric: tabular-nums;
- }
-
- .confirmContent {
- padding: 4px 24px;
- font-size: 14px;
- color: rgba(0, 0, 0, 0.85);
-
- strong {
- margin: 0 4px;
- font-weight: 600;
- }
- }
-
- .confirmTip {
- margin-top: 8px;
- font-size: 12px;
- color: rgba(0, 0, 0, 0.45);
- line-height: 1.5;
- }
-}
-
-:global(.deleteConfirmModal) {
- .ant-modal-confirm-body {
- padding: 24px !important;
- }
-}
diff --git a/src/pages/system/roles/index.tsx b/src/pages/system/roles/index.tsx
index 4eca898..501bbed 100644
--- a/src/pages/system/roles/index.tsx
+++ b/src/pages/system/roles/index.tsx
@@ -5,7 +5,6 @@ import { useRoleModel } from './model/useRoleModel';
import { useContainerSize } from '@/hooks';
import RoleFormModal from './components/RoleFormModal';
import UserListModal from './components/UserListModal';
-import styles from './index.module.less';
import pageStyles from '@/assets/styles/pageLayout.module.less';
/**
@@ -27,7 +26,7 @@ function renderBodyCell({
}) {
if (column.dataIndex === 'userCount') {
return (
-
onViewUsers(record)}>
+ onViewUsers(record)}>
{record.userCount}人
);
@@ -55,18 +54,16 @@ function confirmDelete({ record, onOk }: { record: any; onOk: (record: any) => v
Modal.confirm({
title: '确认删除',
icon: null,
- class: styles.deleteConfirmModal,
+ class: 'deleteConfirmModal',
content: (
-
-
-
- 确定要删除角色
- {record.roleName}
- 吗?
-
-
删除后该角色下的用户将失去对应的权限,请谨慎操作。
+ <>
+
+ 确定要删除角色
+ {record.roleName}
+ 吗?
-
+
删除后该角色下的用户将失去对应的权限,请谨慎操作。
+ >
),
okText: '确认',
cancelText: '取消',
@@ -150,39 +147,37 @@ export default defineComponent({
{/* ===== 表格区 ===== */}
-
-
-
- {{
- bodyCell: (args: any) =>
- renderBodyCell({
- ...args,
- onViewUsers: handleViewUsers,
- onEdit: handleEdit,
- onDelete: triggerDelete,
- }),
- }}
-
-
+
+
+ {{
+ bodyCell: (args: any) =>
+ renderBodyCell({
+ ...args,
+ onViewUsers: handleViewUsers,
+ onEdit: handleEdit,
+ onDelete: triggerDelete,
+ }),
+ }}
+
+
- {/* 分页 */}
-
+ {/* 分页 */}
+
diff --git a/src/pages/system/users/index.module.less b/src/pages/system/users/index.module.less
deleted file mode 100644
index d2999bb..0000000
--- a/src/pages/system/users/index.module.less
+++ /dev/null
@@ -1,41 +0,0 @@
-.systemUsersMain {
- flex: 1;
- min-height: 0;
- display: flex;
- flex-direction: column;
-
- .tableBody {
- flex: 1;
- min-height: 0;
- overflow: hidden;
-
- :global {
- .ant-spin-nested-loading,
- .ant-spin-container,
- .ant-table,
- .ant-table-container {
- height: 100%;
- }
- }
- }
-
- .confirmContent {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- padding: 4px 0;
- font-size: 14px;
- color: rgba(0, 0, 0, 0.85);
-
- strong {
- margin: 0 4px;
- font-weight: 600;
- }
- }
-}
-
-:global(.toggleConfirmModal) {
- .ant-modal-confirm-body {
- padding: 24px !important;
- }
-}
diff --git a/src/pages/system/users/index.tsx b/src/pages/system/users/index.tsx
index 5d84db7..5150aaf 100644
--- a/src/pages/system/users/index.tsx
+++ b/src/pages/system/users/index.tsx
@@ -3,7 +3,6 @@ import { Button, Input, Table, Form, Space, Select, Modal, Pagination } from 'an
import { useUserModel, USER_ROLE_OPTIONS, USER_STATUS_OPTIONS } from './model/useUserModel';
import { useContainerSize } from '@/hooks';
import UserFormModal from './components/UserFormModal';
-import styles from './index.module.less';
import pageStyles from '@/assets/styles/pageLayout.module.less';
/**
@@ -52,14 +51,12 @@ function confirmToggleStatus({ record, onOk }: { record: any; onOk: (record: any
const actionText = isActive ? '禁用' : '启用';
Modal.confirm({
title: `确认${actionText}`,
- class: styles.toggleConfirmModal,
+ class: 'toggleConfirmModal',
content: (
-
-
- 确定要{actionText}用户
- {record.realName}
- 吗?
-
+
+ 确定要{actionText}用户
+ {record.realName}
+ 吗?
),
okText: '确认',
@@ -136,7 +133,7 @@ export default defineComponent({