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', + }, + ], + }, ], });