Motion Prompt #072|空状态 · Empty state(中文译文)
列表没有内容时显示的界面;中文译文,效果未实测。
来源:import:liubai_versions_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0314/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:
使用示例提示词正文
请使用“Empty state”(エンプティステート),它是“UI component names”中的一个名称。 Motion Prompt #072 定义:尚无内容可列出时显示的界面 示例展示:用垃圾桶图标依次删除两行列表后,出现空收纳箱线稿、“暂无内容”和“添加”按钮。 规格: - 卡片为542×191,循环4.5 s。列表两行,494×48、圆角半径8,右侧为垃圾桶图标。 - 光标0.95 s和1.65 s点击垃圾桶。每行用0.3 s的easeInOutCubic左移60 px并淡出;第二行上移58 px填入第一行的位置。 - 1.95–2.3 s内线性淡入空状态,同时向上移动8 px:蓝色收件盘线稿、16 px日文“暂无内容”和112×34蓝色添加按钮。 - 光标3.3 s点击添加;空状态3.25–3.45 s淡出,两行列表3.35–3.7 s按easeOutCubic从左侧返回。 何时使用:用于首次使用或没有搜索结果的页面,告诉用户下一步可以做什么。 参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/072.txt 共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/ui.js 请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。
使用示例
示例输入
请实现“空状态 · Empty state”:列表没有内容时显示的界面;中文译文,效果未实测。
示意结果
下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。
提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。