refactor: 移除长按保存图片功能及相关代码
移除不再需要的长按保存图片功能,包括HTML中的提示元素、CSS样式以及JS中的相关逻辑 将保存图片提示改为点击保存,简化用户操作流程
This commit is contained in:
@@ -526,27 +526,6 @@ html, body {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 长按提示 */
|
||||
.long-press-tip {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
padding: 8px 16px;
|
||||
background: rgba(0,0,0,0.7);
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
border-radius: 16px;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
pointer-events: none;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.long-press-tip.show {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 右键菜单 */
|
||||
.context-menu {
|
||||
position: fixed;
|
||||
|
||||
Reference in New Issue
Block a user