返回提示词

Motion Prompt #051|底部面板 · Bottom sheet(中文译文)

从屏幕底部升起的面板;中文译文,效果未实测。

发布于 更新于 浏览 0

来源:import:liubai_versions_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0293/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:

使用示例

提示词正文

请使用“Bottom sheet”(ボトムシート),它是“UI component names”中的一个名称。
Motion Prompt #051

定义:面板从屏幕底部向上滑出
示例展示:手指轻触“查看详情”,面板从底部升起;向下拖动把手即可关闭。
规格:
- 卡片为542×191,循环4.5 s。手指以半透明、白边、半径17的圆表示,1.0 s轻触底部中央170×36的“查看详情”胶囊按钮。
- 展开量在1.05–1.45 s内按easeOutCubic从0→1。整卡rgba(18,20,28)遮罩的不透明度为0.36·a。
- 白色面板高136,顶部圆角半径18,上边缘y = 191 − 136·a。阴影模糊22,y偏移−4;顶部中央为52×6拖动把手。
- 内部包含粗标题条和两行内容,图标均为26×26。
- 关闭:手指2.75 s落在把手(271,68),3.0–3.6 s向下拖动;a乘以(1 − 在3.0–3.6 s运行的easeInOutCubic),面板跟着手指从底部离开。
何时使用:移动端需要展示详情或选项、同时保留当前屏幕上下文时使用。

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

使用示例

示例输入

请实现“底部面板 · Bottom sheet”:从屏幕底部升起的面板;中文译文,效果未实测。

示意结果

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

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