Motion Prompt #088|离站挽留弹窗 · Exit-intent popup
访客准备离开时出现的弹窗
部分附加信息、来源说明或示例仍显示原文。
来源:import:liubai_public_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0330/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:
使用示例提示词正文
请使用“Exit-intent popup”(離脱防止ポップアップ),它是“Landing page & web effects”中的一个名称。 Motion Prompt #088 定义:访客即将离开时出现的弹窗。 示例展示:光标从页面顶部朝标签和关闭按钮方向移出时,页面变暗并出现“等等!”弹窗;点击×关闭。 规格: - 光标在0.7–1.25 s从页面向浏览器地址栏上升,使用cubic ease-in-out。 - 光标越过视口顶部y=0时触发,约在1.07 s,等同于document的mouseleave且clientY ≤ 0的判断。 - 触发后0.05–0.45 s展开,使用cubic ease-out:深蓝背景遮罩不透明度0→0.5;260 × 132、圆角半径12的弹窗不透明度0→1,缩放0.9→1。 - 内部包含标题、橙色折扣行、优惠券按钮及右上角×。 - 2.9 s点击×,此后0.03–0.25 s线性消失。 何时使用:给即将离开、尚未转化的访客最后一次优惠提议。 参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/088.txt 共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/lp.js 请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。
使用示例
示例输入
请实现“离站挽留弹窗 · Exit-intent popup”:访客准备离开时出现的弹窗
示意结果
下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。
提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。