From 0bb1c33dc9b02b63444fb8fd170bd6d1321f5179 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Mon, 13 Nov 2023 01:32:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A5=BF=E7=93=9C=E8=A7=86=E9=A2=91):=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=B9=E7=AA=97=E3=80=81=E9=9D=92=E5=B0=91?= =?UTF-8?q?=E5=B9=B4=E6=A8=A1=E5=BC=8F=E5=BC=B9=E7=AA=97=EF=BC=88=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89=20(#2053)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 更新弹窗 * feat 青少年模式弹窗 --- src/apps/com.ss.android.article.video.ts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/apps/com.ss.android.article.video.ts b/src/apps/com.ss.android.article.video.ts index fadcaa05..e37ea61f 100644 --- a/src/apps/com.ss.android.article.video.ts +++ b/src/apps/com.ss.android.article.video.ts @@ -6,10 +6,21 @@ export default defineAppConfig({ groups: [ { key: 0, - name: '西瓜视频-关闭青少年模式弹窗', - activityIds: 'com.ixigua.commonui.uikit.dialog.XGAlertDialog', - snapshotUrls: ['https://i.gkd.li/import/12472628'], - rules: ['TextView[text="我知道了"][clickable=true]'], + name: '青少年模式弹窗', + quickFind: true, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text$="青少年模式"] +n [text="我知道了"]', + snapshotUrls: 'https://i.gkd.li/import/12472628', + }, + { + key: 1, + name: '更新弹窗', + quickFind: true, + actionMaximum: 1, + resetMatch: 'app', + rules: '@[desc="关闭"] - LinearLayout > [text="立即升级"]', + snapshotUrls: 'https://i.gkd.li/import/13328430', }, ], });