Motion Prompt #068|步骤指示器 · Step indicator(中文译文)
显示流程的当前步骤与进度;中文译文,效果未实测。
来源:import:liubai_versions_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0310/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:
使用示例提示词正文
请使用“Step indicator”(ステップインジケーター),它是“UI component names”中的一个名称。 Motion Prompt #068 定义:显示当前处于流程中的哪一步 示例展示:每次点击“下一步”,四个步骤圆点依次变成勾号,蓝线向下一步延伸。 规格: - 卡片为542×191,循环4.5 s。四个日文步骤信息、确认、支付、完成位于x=80、207、334、461,y=35;圆半径17,以4 px灰线连接。 - 光标在0.9、1.7、2.5 s点击右下角110×38的下一步按钮。 - 每次点击,当前步骤变为蓝圆白勾,下一步变为当前步骤(蓝圆白数字);尚未到达的步骤为灰边白圆。 - 每次蓝线用0.3 s按easeInOutCubic增长127 px;第三次点击后四个步骤全部勾选。 - 重置:步骤指示器3.75–4.05 s淡出,4.05–4.3 s以第1步状态淡入。 何时使用:注册、结账等多步流程中,说明当前进度和剩余步骤。 参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/068.txt 共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/ui.js 请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。
使用示例
示例输入
请实现“步骤指示器 · Step indicator”:显示流程的当前步骤与进度;中文译文,效果未实测。
示意结果
下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。
提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。