|
@@ -13,11 +13,14 @@ import {
|
|
|
A2_APIsort,
|
|
|
} from "@/store/action/A2Gallery";
|
|
|
import { RootState } from "@/store";
|
|
|
-import { Input, Table } from "antd";
|
|
|
+import { Input, Table, Tooltip } from "antd";
|
|
|
import { A2TableType } from "@/types";
|
|
|
import ImageLazy from "@/components/ImageLazy";
|
|
|
|
|
|
-import { SortAscendingOutlined } from "@ant-design/icons";
|
|
|
+import {
|
|
|
+ SortAscendingOutlined,
|
|
|
+ ExclamationCircleFilled,
|
|
|
+} from "@ant-design/icons";
|
|
|
import { MessageFu } from "@/utils/message";
|
|
|
|
|
|
function A2ZSort() {
|
|
@@ -175,11 +178,11 @@ function A2ZSort() {
|
|
|
width: 200,
|
|
|
render: (item: A2TableType) => (
|
|
|
<div className="sortBox">
|
|
|
+
|
|
|
<SortAscendingOutlined
|
|
|
hidden={sortClickNum === item.sort}
|
|
|
onClick={() => sortShowFu(item.sort)}
|
|
|
/>
|
|
|
-  
|
|
|
{sortClickNum === item.sort ? (
|
|
|
<input
|
|
|
onBlur={() => setSortClickNum(-1)}
|
|
@@ -210,11 +213,25 @@ function A2ZSort() {
|
|
|
allowClear
|
|
|
onChange={(e) => nameChange(e)}
|
|
|
/>
|
|
|
- <span hidden={!dataAll.total}>
|
|
|
-   点击
|
|
|
- <SortAscendingOutlined /> 输入 1-{dataAll.total}
|
|
|
- 的整数,按Enter交换序号排序
|
|
|
- </span>
|
|
|
+
|
|
|
+ <div className="sortTit" hidden={!dataAll.total}>
|
|
|
+ <Tooltip
|
|
|
+ title={
|
|
|
+ <>
|
|
|
+ 点击  
|
|
|
+ <SortAscendingOutlined />
|
|
|
+  输入 1-{dataAll.total}
|
|
|
+  的整数,按 Enter键 交换序号
|
|
|
+ </>
|
|
|
+ }
|
|
|
+ >
|
|
|
+ <div className="inco">
|
|
|
+ <ExclamationCircleFilled />
|
|
|
+ </div>
|
|
|
+ </Tooltip>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <span></span>
|
|
|
</div>
|
|
|
|
|
|
{/* 表格主体 */}
|