From 4bd76e9c0aee089fb48c4d492bec05d4f919e542 Mon Sep 17 00:00:00 2001 From: adproqwq <101449500+adproqwq@users.noreply.github.com> Date: Tue, 2 Jan 2024 21:12:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=BD=91=E6=98=93=E4=BA=91=E9=9F=B3?= =?UTF-8?q?=E4=B9=90):=20=E5=85=8D=E8=B4=B9=E5=90=AC=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E3=80=81=E5=8A=9F=E8=83=BD=E5=8D=87=E7=BA=A7=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=20(#3626)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #3620 --- src/apps/com.netease.cloudmusic.ts | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/apps/com.netease.cloudmusic.ts b/src/apps/com.netease.cloudmusic.ts index 8345ad21..b71af5a1 100644 --- a/src/apps/com.netease.cloudmusic.ts +++ b/src/apps/com.netease.cloudmusic.ts @@ -230,5 +230,36 @@ export default defineAppConfig({ }, ], }, + { + key: 9, + name: '免费听弹窗', + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.netease.cloudmusic.activity.MainActivity', + matchTime: 10000, + rules: '@ImageView + ViewGroup > [text="VIP歌曲免费听30分钟"]', + snapshotUrls: 'https://i.gkd.li/import/13804534', + }, + { + key: 10, + name: '功能升级弹窗', + rules: [ + { + key: 0, + name: '【我的】升级-下次再说', + activityIds: 'com.netease.cloudmusic.activity.MainActivity', + matches: '[text="下次再说"] < ViewGroup', + snapshotUrls: 'https://i.gkd.li/import/13804541', + }, + { + key: 1, + name: '【社区广场】升级-点击右上角x', + activityIds: + 'com.netease.cloudmusic.music.biz.rn.activity.LayerReactNativeActivity', + matches: '[text="社区广场全新升级"] + ViewGroup > ImageView', + snapshotUrls: 'https://i.gkd.li/import/13804544', + }, + ], + }, ], });