返回提示词

Motion Prompt #064|分页 · Pagination(中文译文)

通过页码切换列表页面;中文译文,效果未实测。

发布于 更新于 浏览 0

来源:import:liubai_versions_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0306/translation-zh.md · 授权:MIT License Copyright (c) 2026 Shohei Ohtaki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

使用示例

提示词正文

请使用“Pagination”(ページネーション),它是“UI component names”中的一个名称。
Motion Prompt #064

定义:带数字的按钮,用于在页面之间跳转
示例展示:点击页码2、再点3,蓝色圆形标记移动,上方列表更新;最后返回第1页。
规格:
- 卡片为542×191,循环4.5 s。“‹ 1 2 3 4 5 ›”居中排列,每项直径36、间隔8 px,位于y=160。半径18的蓝色圆标记当前页,文字白色。
- 光标1.0 s点击2,2.1 s点击3,3.3 s点击1。
- 蓝圆每页移动44 px,每次以easeInOutCubic用0.2 s完成;从3返回1一次移动88 px。
- 上方三行列表在1.05、2.15、3.35 s各自前后0.2 s内,不透明度按1→0→1变化,内容在最低点替换。
何时使用:将搜索结果、文章等长列表分成带页码的多页。

参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/064.txt
共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/ui.js
请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。

使用示例

示例输入

请实现“分页 · Pagination”:通过页码切换列表页面;中文译文,效果未实测。

示意结果

下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。

提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。