diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index 648b9543..c0714108 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -19,18 +19,28 @@ export default defineAppConfig({ { key: 0, name: '点击广告卡片右上角', + matches: + '@LinearLayout[clickable=true] > [text="广告" || text="Sponsored" || text="廣告"]', + snapshotUrls: [ + 'https://i.gkd.li/i/13000395', // text="广告" + 'https://i.gkd.li/i/12905837', // text="Sponsored" + 'https://i.gkd.li/i/13791200', // text="廣告" + ], + }, + { + key: 1, + name: '点击广告卡片右上角', actionCd: 3000, position: { left: 'width * 0.0569', top: 'width * 0.9083', }, + excludeMatches: + '@LinearLayout[clickable=true] > [text="广告" || text="Sponsored" || text="廣告"]', matches: '@RelativeLayout >5 LinearLayout[childCount=2] > TextView[text!=null] + LinearLayout', snapshotUrls: [ 'https://i.gkd.li/i/14476135', - 'https://i.gkd.li/i/13000395', // text="广告" - 'https://i.gkd.li/i/12905837', // text="Sponsored" - 'https://i.gkd.li/i/13791200', // text="廣告" 'https://i.gkd.li/i/14647413', ], }, @@ -38,7 +48,7 @@ export default defineAppConfig({ // 预留key // 第二段 { - preKeys: [0], + preKeys: [0, 1], key: 25, name: '点击[关闭]', quickFind: true, @@ -49,7 +59,7 @@ export default defineAppConfig({ ], }, { - preKeys: [0], + preKeys: [0, 1], key: 26, name: '点击[Close the ad]', quickFind: true, @@ -57,7 +67,7 @@ export default defineAppConfig({ snapshotUrls: 'https://i.gkd.li/i/14207480', }, { - preKeys: [0], + preKeys: [0, 1], key: 27, name: '点击[關閉此廣告]', quickFind: true, @@ -65,7 +75,7 @@ export default defineAppConfig({ snapshotUrls: 'https://i.gkd.li/i/13791202', }, { - preKeys: [0], + preKeys: [0, 1], key: 28, name: '点击[关闭该广告]', quickFind: true, @@ -77,7 +87,7 @@ export default defineAppConfig({ ], }, { - preKeys: [0], + preKeys: [0, 1], key: 29, name: '点击[Close the ad]', quickFind: true,