From 2596169e41ebd0fe49089459eb25004de0a7f5ec Mon Sep 17 00:00:00 2001 From: yanyu2023 <130368710+yanyu2023@users.noreply.github.com> Date: Sat, 4 Nov 2023 01:40:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E7=BA=A2=E4=B9=A6):=20=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E9=A1=B5=E5=BA=95=E9=83=A8=E9=80=9A=E7=9F=A5=E6=A8=AA?= =?UTF-8?q?=E5=B9=85=20(#1800)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create com.ikang.official.ts * Delete src/apps/com.ikang.official.ts * feat(小红书): 消息页底部通知横幅 * feat(小红书): 关闭请求通知弹窗 * feat(多点): bugs 修复 --------- Co-authored-by: 二刺螈 --- src/apps/com.wm.dmall.ts | 11 ----------- src/apps/com.xingin.xhs.ts | 18 +++++++++++++----- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/src/apps/com.wm.dmall.ts b/src/apps/com.wm.dmall.ts index cd2ffc45..7b867722 100644 --- a/src/apps/com.wm.dmall.ts +++ b/src/apps/com.wm.dmall.ts @@ -49,16 +49,5 @@ export default defineAppConfig({ snapshotUrls: ['https://gkd-kit.gitee.io/import/13234668'], }, }, - { - key: 3, - name: '更新提示', - quickFind: true, - activityIds: 'com.wm.dmall.MainActivity', - rules: [ - '[id="com.wm.dmall:id/update_confirm_btn"]', - '[id="com.wm.dmall:id/close_btn"]', - ], - snapshotUrls: ['https://gkd-kit.gitee.io/import/13234668'], - }, ], }); diff --git a/src/apps/com.xingin.xhs.ts b/src/apps/com.xingin.xhs.ts index b9074df5..f8355ffd 100644 --- a/src/apps/com.xingin.xhs.ts +++ b/src/apps/com.xingin.xhs.ts @@ -19,7 +19,7 @@ export default defineAppConfig({ }, { key: 1, - name: '关闭开启通知弹窗', + name: '关闭请求通知弹窗', quickFind: true, actionMaximum: 1, matchTime: 30000, @@ -28,10 +28,18 @@ export default defineAppConfig({ 'com.xingin.xhs.index.v2.IndexActivityV2', 'com.xingin.xhs.notification.NotificationAuthorizationTranslucentActivity', ], - rules: '@ImageView <2 FrameLayout >2 [text^="打开通知"]', - snapshotUrls: [ - 'https://i.gkd.li/import/13195753', //com.xingin.xhs.index.v2.IndexActivityV2 - 'https://gkd-kit.gitee.io/import/13222356', //com.xingin.xhs.notification.NotificationAuthorizationTranslucentActivity + rules: [ + { + matches: '@ImageView <2 FrameLayout >2 [text^="打开通知"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13195753', //com.xingin.xhs.index.v2.IndexActivityV2 + 'https://gkd-kit.gitee.io/import/13222356', //com.xingin.xhs.notification.NotificationAuthorizationTranslucentActivity + ], + }, + { + matches: '@ImageView <2 FrameLayout - [text^="打开通知"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13250418', + }, ], }, {