diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index 64f17666..101155b1 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -341,17 +341,21 @@ export default defineGkdApp({ key: 13, name: '开屏广告-QQ小程序开屏广告', desc: '点击右下角跳过', + actionMaximum: 1, activityIds: [ 'com.tencent.mobileqq.mini.appbrand.ui.AppBrandUI', 'com.tencent.mobileqq.activity.miniaio.MiniChatActivity', ], rules: [ { - matches: - 'TextView[text = "广告"] < RelativeLayout + RelativeLayout TextView[text = "跳过"]', + matches: [ + '[text="广告"][visibleToUser=true]', + '[text="跳过"][visibleToUser=true]', + ], snapshotUrls: [ 'https://i.gkd.li/i/12877215', 'https://i.gkd.li/i/12919195', + 'https://i.gkd.li/i/15130235', ], }, ], @@ -621,10 +625,11 @@ export default defineGkdApp({ desc: '点击关闭', rules: [ { + quickFind: true, activityIds: 'com.tencent.mobileqq.activity.TeamWorkDocEditBrowserActivity', matches: - '[id="com.tencent.mobileqq:id/webview"] >3 View[childCount=14] > View[index=8] > View > TextView[clickable=true]', + '@TextView[clickable=true] + * > [text^="使用 APP"] < [text="关闭"]', + matches: [ + 'TextView[text="入群申请中"][visibleToUser=true]', + 'TextView[text="关闭"][visibleToUser=true]', + ], exampleUrls: 'https://m.gkd.li/57941037/df526685-8a68-48cd-8328-0292079ff030', snapshotUrls: 'https://i.gkd.li/i/14235163', @@ -696,24 +704,23 @@ export default defineGkdApp({ key: 30, name: '局部广告-动态页-卡片广告', desc: '点击关闭', + quickFind: true, rules: [ { key: 0, - quickFind: true, position: { left: 'width * 0.9534', top: 'width * 0.0805', }, activityIds: 'com.tencent.mobileqq.activity.SplashActivity', matches: - '@View[clickable=false] <<3 LinearLayout <2 [text="动态"]', + 'LinearLayout[childCount=4] > LinearLayout > FrameLayout > FrameLayout > @View[visibleToUser=true] <