diff --git a/src/components/top-menu/index.jsx b/src/components/top-menu/index.jsx
index d59cf11..e69d4b3 100644
--- a/src/components/top-menu/index.jsx
+++ b/src/components/top-menu/index.jsx
@@ -20,7 +20,7 @@ const MENULIST = [
key: 'practiceQuestions',
title: '鸡圈',
route: '/jichi-club',
- finished: false
+ finished: true
},
{
key: 'interList',
diff --git a/src/router/index.tsx b/src/router/index.tsx
index adc0553..b2950de 100644
--- a/src/router/index.tsx
+++ b/src/router/index.tsx
@@ -50,6 +50,10 @@ const router = createBrowserRouter([
{
path: 'practise-analytic/:id',
Component: lazy(() => import('@views/practise/practise-analytic'))
+ },
+ {
+ path: 'jichi-club',
+ Component: lazy(() => import('@views/chicken-circle'))
}
]
}
diff --git a/src/views/chicken-circle/index.less b/src/views/chicken-circle/index.less
new file mode 100644
index 0000000..e69de29
diff --git a/src/views/chicken-circle/index.tsx b/src/views/chicken-circle/index.tsx
new file mode 100644
index 0000000..f76e5b7
--- /dev/null
+++ b/src/views/chicken-circle/index.tsx
@@ -0,0 +1,20 @@
+import { Input } from 'antd'
+
+const { TextArea } = Input
+const Circle = () => {
+ return (
+
+ )
+}
+
+export default Circle
diff --git a/src/views/practise/practise-questions/components/paper-end/index.jsx b/src/views/practise/practise-questions/components/paper-end/index.jsx
index 62b8c99..7321ffe 100644
--- a/src/views/practise/practise-questions/components/paper-end/index.jsx
+++ b/src/views/practise/practise-questions/components/paper-end/index.jsx
@@ -7,15 +7,15 @@ import './index.less'
const tabList = [
{
- key: '1',
+ key: '0',
tab: '默认'
},
{
- key: '2',
+ key: '1',
tab: '最新'
},
{
- key: '3',
+ key: '2',
tab: '最热'
}
]
@@ -26,7 +26,7 @@ const PaperView = props => {
const [spinning, setSpinning] = useState(false)
const [paperList, setPaperList] = useState([])
- const [orderType, setOrderType] = useState('1')
+ const [orderType, setOrderType] = useState('0')
const [pageInfo, setPageInfo] = useState({
total: 0,
pageIndex: 1
@@ -107,15 +107,26 @@ const PaperView = props => {
onClick={() => handleJump(item.setId)}
key={`paperList_${index}`}
>
- {item.setName}
-
- 热度指数:{item.setHeat}
-
-
-
- {item.setDesc}
-
-
+
+ {item.setName || item.title}
+
+ {type === 'unfinish' ? (
+
+
上次练习时间
+ {item.practiceTime}
+
+ ) : (
+ <>
+
+ 热度指数:{item.setHeat}
+
+
+
+ {item.setDesc}
+
+
+ >
+ )}
)
})
diff --git a/src/views/question-bank/components/ranking-box/index.jsx b/src/views/question-bank/components/ranking-box/index.jsx
index 3f972ee..0c9f1cd 100644
--- a/src/views/question-bank/components/ranking-box/index.jsx
+++ b/src/views/question-bank/components/ranking-box/index.jsx
@@ -63,7 +63,7 @@ export default function RankingBox(props) {
{rankingList?.length > 0 &&
rankingList.map((item, index) => {
return (
-
+
2 && index + 1}
-

+
{item.createUser} }
content={
-
{item.createUser}
+
{item.createUser || item.name}
{/*
{item.organizationFullName}
*/}
}
>
-
{item.createUser}
+
{item.createUser || item.name}
{/*
{item.organizationName}
*/}
-
🔥 {item.subjectCount}
+
🔥 {item.subjectCount || item.count}
)
})}