跳转至内容
  • 做一个影视网站常见的筛选展示功能

    讨论 howto
    22
    1
    0 赞同
    22 帖子
    1k 浏览
    hulu2024H
    @hulu2024 <$list filter="A B C D" variable="a"> <$button class={{{[[asas]getindex[字母]match<a>then[btn-dark]else[btn-light]]}}} ><$action-setfield $tiddler="asas" $index="字母" $value=<<a>>/><$action-setfield $tiddler=<<currentTiddler>> $field="字母" $value=<<a>>/><<a>></$button></$list> * 字母:{{!!字母}} 多个按钮,选中其中一个然后变颜色。