From 77853c82305e8f1be5c2a66e4e8373f517b6ee66 Mon Sep 17 00:00:00 2001 From: Bread Grocery Date: Wed, 3 Dec 2025 13:30:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(js):=20=E4=BF=AE=E5=A4=8D=E5=8D=83=E6=98=9F?= =?UTF-8?q?=E5=A5=87=E5=9F=9F=E6=9C=88=E4=B9=8B=E4=B8=89UI=E5=8F=98?= =?UTF-8?q?=E5=8A=A8=20(#2431)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/MiliastraExperiencePlayback/main.js | 13 +++++++------ repo/js/MiliastraExperiencePlayback/manifest.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/repo/js/MiliastraExperiencePlayback/main.js b/repo/js/MiliastraExperiencePlayback/main.js index f7f6958fb..c8593c97f 100644 --- a/repo/js/MiliastraExperiencePlayback/main.js +++ b/repo/js/MiliastraExperiencePlayback/main.js @@ -355,9 +355,9 @@ var findBeyondHallBtn = () => { iro?.drawSelf("group_img"); return iro; }; -//! 全部奇域按钮 +//! 查找搜索奇域按钮 var findAllWonderlandsBtn = () => { - return findTextWithinBounds("全部", 1320, 0, 600, 95, { contains: true }); + return findTextWithinBounds("搜索", 1320, 0, 600, 95, { contains: true }); }; //! 查找奇域搜索输入框 var findSearchWonderlandInput = () => { @@ -388,7 +388,7 @@ var findFirstSearchResultText = () => { } })(); }; -//! 点击选择第一个搜索结果 +//! 点击选择第一个搜索结果位置 var clickToChooseFirstSearchResult = () => { click(355, 365); }; @@ -413,11 +413,11 @@ var findGoToLobbyBtn = () => { var findCreateRoomBtn = () => { return findTextWithinBounds("房间", 960, 140, 960, 70, { contains: true }); }; -//! 点击加入准备区 +//! 点击加入准备区位置 var clickToPrepare = () => { click(770, 275); }; -//! 加入准备区提示 +//! 查找加入准备区提示 var findPrepareMsg = () => { return findTextWithinBounds("加入准备", 576, 432, 768, 216, { contains: true @@ -541,7 +541,7 @@ var createRoom = async (room) => { await goToRecommendedWonderlands(); log.info("打开全部奇域界面..."); await assertRegionAppearing( - () => findHeaderTitle("全部", true), + () => findHeaderTitle("搜索", true), "打开全部奇域界面超时", () => { findAllWonderlandsBtn()?.click(); @@ -693,6 +693,7 @@ var deleteStageSave = async () => { log.warn("未找到要删除的关卡存档,跳过"); return; } + stagePos?.drawSelf("group_text"); const colPos = findExternalSaveColumnPos(); if (colPos === void 0) { log.warn("无法确定关卡的局外存档列位置,跳过"); diff --git a/repo/js/MiliastraExperiencePlayback/manifest.json b/repo/js/MiliastraExperiencePlayback/manifest.json index 2b1708d7d..1a5764d23 100644 --- a/repo/js/MiliastraExperiencePlayback/manifest.json +++ b/repo/js/MiliastraExperiencePlayback/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "千星奇域·每周经验刷取(回放通关版)", - "version": "0.1.0", + "version": "0.1.1", "bgi_version": "0.53.0", "description": "千星奇域·每周经验刷取(回放通关版)", "authors": [