mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-07-19 19:29:38 +08:00
首页课程分类选择
This commit is contained in:
parent
6b69974e2e
commit
2c50af1778
@ -183,6 +183,8 @@ const IndexPage = () => {
|
|||||||
overflowX: "hidden",
|
overflowX: "hidden",
|
||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
}}
|
}}
|
||||||
|
onMouseOut={() => setOpen(false)}
|
||||||
|
onMouseOver={() => setOpen(true)}
|
||||||
>
|
>
|
||||||
<Tree
|
<Tree
|
||||||
switcherIcon={null}
|
switcherIcon={null}
|
||||||
@ -319,14 +321,16 @@ const IndexPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
<Popover
|
<Popover
|
||||||
className={styles["dropButton"]}
|
|
||||||
content={dropItem}
|
content={dropItem}
|
||||||
placement="bottomRight"
|
placement="bottomRight"
|
||||||
open={open}
|
open={open}
|
||||||
trigger="click"
|
trigger="click"
|
||||||
onOpenChange={handleOpenChange}
|
onOpenChange={handleOpenChange}
|
||||||
>
|
>
|
||||||
<Space>
|
<Space
|
||||||
|
className={styles["dropButton"]}
|
||||||
|
onMouseOver={() => setOpen(true)}
|
||||||
|
>
|
||||||
{categoryText}
|
{categoryText}
|
||||||
<i
|
<i
|
||||||
className="iconfont icon-icon-xiala"
|
className="iconfont icon-icon-xiala"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user