正文
增加 18 行删除 17 行
633 行未改动全部展开6346356366376386396406416421,393 行未改动全部展开20362037203820392040204120422043204420452046204720482049205020512052205320542055345 行未改动全部展开2401240224032404240524062407240824092410241124122413241424152416241724182419142 行未改动全部展开256225632564256525662567256825692570639 行未改动全部展开633 行未改动全部展开width: 300px;max-height: 480px;overflow-y: auto;border: 1px solid #eee;z-index: 10000;display: none;font-size: 13px;line-height: 1.5;color: #333;1,393 行未改动全部展开function createFloatingPanel(button) {const panel = document.createElement('div');panel.style.cssText = `position: absolute;bottom: calc(100% + 10px);right: 0;background: #fff;border-radius: 12px;box-shadow: 0 8px 24px rgba(0,0,0,0.08);padding: 16px 18px;width: 300px;max-height: 480px;overflow-y: auto;border: 1px solid #eee;z-index: 10000;display: none;font-size: 13px;line-height: 1.5;color: #333;345 行未改动全部展开let hoverTimeout = null;button.addEventListener('mouseenter', function() {clearTimeout(hoverTimeout);panel.style.display = 'block';requestAnimationFrame(() => {const rect = button.getBoundingClientRect();const panelRect = panel.getBoundingClientRect();if (rect.top - panelRect.height < 10) {panel.style.bottom = 'auto';panel.style.top = 'calc(100% + 10px)';} else {panel.style.bottom = 'calc(100% + 10px)';panel.style.top = 'auto';}});});button.addEventListener('mouseleave', function(e) {hoverTimeout = setTimeout(() => {142 行未改动全部展开difficulty: obj.difficulty,type: obj.type,tags: obj.tags || []});} catch (e) { /* ignore */ }}if (batch.length === 0) {if (end < total) importBatch(end);else resolve();639 行未改动全部展开633 行未改动全部展开6346356366376386396406416421,393 行未改动全部展开203620372038203920402041204220432044204520462047204820492050205120522053345 行未改动全部展开2399240024012402240324042405240624072408240924102411241224132414241524162417241824192420142 行未改动全部展开256325642565256625672568256925702571639 行未改动全部展开633 行未改动全部展开width: 300px;max-height: 480px;overflow-y: auto;border: 1px solid #eee;z-index: 2147483647;display: none;font-size: 13px;line-height: 1.5;color: #333;1,393 行未改动全部展开function createFloatingPanel(button) {const panel = document.createElement('div');panel.style.cssText = `position: fixed;background: #fff;border-radius: 12px;box-shadow: 0 8px 24px rgba(0,0,0,0.08);padding: 16px 18px;width: 300px;max-height: 480px;overflow-y: auto;border: 1px solid #eee;z-index: 2147483647;display: none;font-size: 13px;line-height: 1.5;color: #333;345 行未改动全部展开let hoverTimeout = null;button.addEventListener('mouseenter', function() {clearTimeout(hoverTimeout);panel.style.display = 'block';const rect = button.getBoundingClientRect();const panelRect = panel.getBoundingClientRect();let left = rect.right - panelRect.width;if (left < 10) left = 10;const maxLeft = window.innerWidth - panelRect.width - 10;if (left > maxLeft) left = maxLeft;let top = rect.top - panelRect.height - 10;if (top < 10) {top = rect.bottom + 10;}panel.style.left = left + 'px';panel.style.top = top + 'px';panel.style.bottom = 'auto';panel.style.right = 'auto';});button.addEventListener('mouseleave', function(e) {hoverTimeout = setTimeout(() => {142 行未改动全部展开difficulty: obj.difficulty,type: obj.type,tags: obj.tags || []});} catch (e) {}}if (batch.length === 0) {if (end < total) importBatch(end);else resolve();639 行未改动全部展开