60 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: ai-assistant.float-button.howto
title: 移动 / 收起 AI 助手浮按钮
type: howto
feature: ai-assistant
scope: end-user
locale: zh
aliases:
- 怎么移动 AI 按钮
- AI 球怎么挪
- AI 浮窗按钮位置
- AI 按钮挡住了
- 浮按钮跑哪去了
- 怎么收起 AI 按钮
related_tools: []
related_pages: []
prerequisites:
- 应用市场已安装 ai 插件
negative:
- 浮按钮无法完全关闭按钮本身(除非卸载 ai 插件或管理员关闭模型)
- 收起后不会自己消失,仍是屏幕边缘一根 48px 高的竖条
- 多端位置不同步:桌面 / 移动 / 桌面 Electron 各自独立存储
last_verified: v1.7.90
---
# 移动 / 收起 AI 助手浮按钮
## 移动位置
### 桌面端
1. 鼠标按住 AI 浮按钮
2. 拖动到任意位置(距屏幕四边至少 12px
3. 松开鼠标完成移动;松手后位置自动写入 IndexedDB
### 移动端
1. 单指按住 AI 浮按钮
2. 拖动到目标位置
3. 抬起手指完成
## 收起 / 展开
- **自动收起**:拖到距屏幕左 / 右边缘 ≤ 12px 时,桌面端 1 秒后自动收起为竖条;移动端首次加载即自动收起到边缘
- **展开**:点一下收起的竖条,按钮重新弹出并打开 AI 助手浮窗
## 怎么判断点击 vs 拖动
- 移动距离 < 5px **且** 按下时间 < 200ms 点击」,呼出 AI 助手
- 否则 拖动」,只移动位置不打开对话窗
## 不同分辨率
位置只存距某边距离」+ 靠哪边」,换屏 / 转屏不会跑到屏外若发现按钮丢失刷新页面后会回到默认位置桌面右下移动右侧中下)。
## 不支持
- 桌面端没有关闭浮按钮的用户开关要彻底关闭需管理员侧关闭 ai 插件
- 不支持把浮按钮拖到屏幕外会被边距 12px 强制约束
- 位置不跨端同步手机和电脑各自存
## 相关
- 浮按钮的整体行为[[ai-assistant.float-button.concept]]
- AI 助手的其他方法[[ai-assistant.entry.howto]]