|
@@ -1,7 +1,7 @@
|
|
|
import ProTable from '@ant-design/pro-table'
|
|
import ProTable from '@ant-design/pro-table'
|
|
|
import { Select, Card } from 'antd'
|
|
import { Select, Card } from 'antd'
|
|
|
-import Iconfont from '@/components/SvgIcon'
|
|
|
|
|
import React, { useState, useMemo } from 'react'
|
|
import React, { useState, useMemo } from 'react'
|
|
|
|
|
+import { Trophy } from '@icon-park/react'
|
|
|
|
|
|
|
|
const { Option } = Select
|
|
const { Option } = Select
|
|
|
|
|
|
|
@@ -26,7 +26,7 @@ const SoftLeaderboard = ({ loading = false, productLeaderBoard = [] }) => {
|
|
|
render: (_, __, index) =>
|
|
render: (_, __, index) =>
|
|
|
index + 1 <= 3 ? (
|
|
index + 1 <= 3 ? (
|
|
|
<span className={colorMap[index + 1]}>
|
|
<span className={colorMap[index + 1]}>
|
|
|
- <Iconfont type="icon-trophy" />
|
|
|
|
|
|
|
+ <Trophy />
|
|
|
</span>
|
|
</span>
|
|
|
) : null
|
|
) : null
|
|
|
},
|
|
},
|
|
@@ -85,8 +85,7 @@ const SoftLeaderboard = ({ loading = false, productLeaderBoard = [] }) => {
|
|
|
<Option value="soft">软件锁</Option>
|
|
<Option value="soft">软件锁</Option>
|
|
|
</Select>
|
|
</Select>
|
|
|
</div>
|
|
</div>
|
|
|
- }
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ }>
|
|
|
<div className="text-center border border-x-0 p-2">{opMap[activeOp]}排行榜</div>
|
|
<div className="text-center border border-x-0 p-2">{opMap[activeOp]}排行榜</div>
|
|
|
<div className="">
|
|
<div className="">
|
|
|
<ProTable
|
|
<ProTable
|