Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: 优化选中关卡体验 #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cyan0714
Copy link

目前进入挑战页面只能通过点击"挑战"按钮才能进入, 不方便用户操作, 所以增加了点击关卡名字也可进入挑战页面的功能

@@ -6,9 +6,9 @@
<a-list item-layout="horizontal" :data-source="mainLevels">
<template #renderItem="{ item: level, index }">
<a-list-item>
<a-list-item-meta :title="`${index + 1}、${level.title}`" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么不选择在 title 外面套路由呢?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

也可以, 但是要给 a 中的 li 加个 border-bottom, 不然样式和原来的不一致了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants