From 2a216a9a61ada4a98967ef22ee47e37d0a0e160f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E6=96=B9=E5=A4=9C=E8=B0=AD?= <152615144+tianfangyetan1@users.noreply.github.com> Date: Fri, 10 Oct 2025 19:41:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=AD=E5=9B=BD=E7=94=B5=E4=BF=A1-?= =?UTF-8?q?=E8=8B=B1=E6=96=87=E7=89=88=E6=9C=AA=E7=99=BB=E5=BD=95=E6=97=B6?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E4=B8=80=E9=94=AE=E7=99=BB=E5=BD=95=20(#1233?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.ct.client.ts | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/apps/com.ct.client.ts b/src/apps/com.ct.client.ts index 202f5017..86391503 100644 --- a/src/apps/com.ct.client.ts +++ b/src/apps/com.ct.client.ts @@ -151,5 +151,46 @@ export default defineGkdApp({ }, ], }, + { + key: 8, + name: '功能类-英文版未登录时自动一键登录', + desc: '仅在使用该卡移动数据时可用', + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + // 点击“Login” + key: 0, + fastQuery: true, + activityIds: '.international.homepage.InternationalHomePageActivity', + matches: '[text="Login"]', + snapshotUrls: [ + 'https://i.gkd.li/i/22843837', // 登录前 + 'https://i.gkd.li/i/22846926', // 登录后 + ], + }, + { + // 勾选同意用户协议 + key: 1, + preKeys: [0], + fastQuery: true, + activityIds: '.international.login.InternationalLoginActivity', + matches: + '@CheckBox[checked=false] + [text^="I agree that I have read and accepted"]', + snapshotUrls: [ + 'https://i.gkd.li/i/22843889', // 勾选前 + 'https://i.gkd.li/i/22843896', // 勾选后 + ], + }, + { + // 点击一键登录 + preKeys: [1], + fastQuery: true, + activityIds: '.international.login.InternationalLoginActivity', + matches: '[text="Login with Current Number"]', + snapshotUrls: 'https://i.gkd.li/i/22843896', + }, + ], + }, ], });