From db282908641f1549fdf5fc97ed41833d52e7bf0f Mon Sep 17 00:00:00 2001 From: AIsouler Date: Fri, 22 Mar 2024 22:43:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ):=20=E6=9B=B4=E6=96=B0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mobileqq.ts | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) 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', + }, ], }, {