From 394e8da5842b687e245ae6be763c8ab31b4b29b8 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 9 Nov 2023 23:50:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=BE=AE=E4=BF=A1):=20=E8=AF=BB=E4=B9=A6?= =?UTF-8?q?=E7=BD=91=E9=A1=B5=E7=89=88=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=8E=88=E6=9D=83=EF=BC=88=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A7=84=E5=88=99=E9=98=B2=E6=AD=A2=E8=AF=AF=E8=A7=A6=EF=BC=89?= =?UTF-8?q?=E3=80=81=20=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F-?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=20(#1938)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix 微信读书网页版扫码登录自动授权(优化规则防止误触) * feat 微信小程序-开屏广告(优化规则) --- src/apps/com.tencent.mm.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index e34e5bde..d1d391ff 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -124,7 +124,7 @@ export default defineAppConfig({ activityIds: ['com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI'], rules: [ { - matches: 'Button[text="登 录"]', + matches: '[text="微信读书网页版"] +3 Button[text="登 录"]', snapshotUrls: 'https://i.gkd.li/import/12506197', }, { @@ -289,13 +289,16 @@ export default defineAppConfig({ quickFind: true, rules: [ { - matches: - '[text="广告"] < FrameLayout[childCount=1] <2 FrameLayout[childCount=3] <2 FrameLayout[childCount=2] - FrameLayout[childCount=3] > FrameLayout[childCount=2] > FrameLayout[childCount=1] > [text="跳过"]', + matches: [ + 'FrameLayout[childCount=2] > FrameLayout[childCount=3] > FrameLayout[childCount=1] > TextView[text="广告"]', + 'FrameLayout[childCount<=3] > FrameLayout[childCount=2] > FrameLayout[childCount=1] > [text="跳过"]', + ], snapshotUrls: [ 'https://gkd-kit.gitee.io/import/12701979', 'https://gkd-kit.gitee.io/import/12777076', 'https://gkd-kit.gitee.io/import/12785012', 'https://gkd-kit.gitee.io/import/12785183', + 'https://i.gkd.li/import/13306883', ], }, {