返回提示词

Motion Prompt #067|巨型菜单 · Mega menu

主导航展开的宽幅分组链接面板

发布于 更新于 浏览 0

部分附加信息、来源说明或示例仍显示原文。

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

使用示例

提示词正文

请使用“Mega menu”(メガメニュー),它是“UI component names”中的一个名称。
Motion Prompt #067

定义:从主菜单展开、包含分组链接的宽面板
示例展示:悬停页头“产品”时,全宽面板落下,显示三列链接和一张图片;光标离开后关闭。
规格:
- 卡片为542×191,循环4.5 s。页头高42,显示日文产品、价格、支持,字号16 px,每项带向下箭头。
- 光标只悬停,1.0 s到达产品。展开量a在1.05–1.3 s内按easeOutCubic从0→1;产品变蓝并出现下划线。
- 白色面板宽度占满卡片、高146,在页头下方下移12 px到位,同时按a淡入;阴影模糊18、y偏移8。
- 内部三列间隔130 px,每列有蓝色标题和三个链接;右侧图片104×112。光标下移后,第二列第二个链接在1.75–2.9 s浅蓝高亮。
- 关闭:光标2.9 s起离开面板,在3.15–3.4 s按(1 − easeInOutCubic)淡出。
何时使用:产品或栏目较多的网站,让访客一次看见整个范围。

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

使用示例

示例输入

请实现“巨型菜单 · Mega menu”:主导航展开的宽幅分组链接面板

示意结果

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

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