diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index 1690aa0e..8676192c 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -1,3 +1,4 @@ +import { matches } from 'lodash'; import { defineAppConfig } from '../types'; export default defineAppConfig({ @@ -377,11 +378,26 @@ export default defineAppConfig({ matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - rules: '@[desc="关闭"] - ViewGroup > [text="立即体验"||text="立即升级"]', - snapshotUrls: [ - 'https://i.gkd.li/i/13188721', - 'https://i.gkd.li/i/13386719', - 'https://i.gkd.li/i/13459507', + actionMaximumKey: 0, + rules: [ + { + key: 0, + matches: + '@[desc="关闭"] - ViewGroup > [text="立即体验"||text="立即升级"]', + snapshotUrls: [ + 'https://i.gkd.li/i/13188721', + 'https://i.gkd.li/i/13386719', + 'https://i.gkd.li/i/13459507', + ], + }, + { + key: 1, + quickFind: true, + matches: '@[text="稍后处理"] +2 [text="立即升级"]', + exampleUrls: + 'https://m.gkd.li/57941037/9deea40b-338d-4290-9098-3d1431d585ff', + snapshotUrls: 'https://i.gkd.li/i/14724108', + }, ], }, {