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

如果增加一个,在每个分类下的文章实现自定义排序的功能的话... #1845

Open
ScarletDor opened this issue Jan 13, 2025 · 0 comments
Labels
feature New feature request

Comments

@ScarletDor
Copy link

你的想法是否与某个问题有关?请描述

想做一个类似文档类的主题,但是文档显示的文章列表只能按时间/评论数来排序。如果我想写

-前言(分类)
  -说明1(文章)
  -说明2(文章)
  -说明3(文章)

实现起来就很困难。

描述你想要的解决方案

我曾想在数据库里添加一个字段用来排序,但是当子分类和文章混在一起时就又显得很乱了。我曾想,可以在子分类的管理页面中,显示同级的文章标题,拖拽实现排序功能。

-前言(分类)
  -说明1(文章)
  -说明2(文章)
  -啦啦啦(子分类)
  -说明3(文章)

8HC6PT X_ )Z4DIY({5(IGY

这样的话,就会显得很乱很臃肿

描述你考虑过的替代方案

如果不考虑子分类和同级文章混排,可以在页面单独添加一个按钮,实现当前分类下的文章独立的排序。

但是文章过多时感觉也不好办
2025-1-13 20-22-6

总之

就是想个办法实现某种排序显示的办法。

现在只能自定义设置个选项,自定义想要显示的文章,作为临时解决办法

呜呜呜好难啊qaq

@ScarletDor ScarletDor added the feature New feature request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant