使用Claude优化动画

This commit is contained in:
CN-JS-HuiBai
2026-04-06 02:40:28 +08:00
parent 225ec71ac3
commit 96de50285f

View File

@@ -251,7 +251,7 @@
offset: 1
}
], {
duration: 400,
duration: 600,
easing: 'cubic-bezier(0.16, 1, 0.3, 1)',
fill: 'none'
});
@@ -305,7 +305,7 @@
offset: 1
}
], {
duration: 350,
duration: 500,
easing: 'cubic-bezier(0.4, 0, 0.2, 1)',
fill: 'forwards' // Hold final frame until we remove class
});
@@ -1785,7 +1785,7 @@
`).join('');
}
window.editRoute = function(id, source_id, source, dest, target) {
window.editRoute = function (id, source_id, source, dest, target) {
editingRouteId = id;
dom.routeSourceSelect.value = source_id;
dom.routeSourceInput.value = source;
@@ -1853,7 +1853,7 @@
}
}
window.deleteLatencyRoute = async function(id) {
window.deleteLatencyRoute = async function (id) {
if (!user) {
showSiteMessage('请登录后再操作', 'error');
openLoginModal();