From 5cd774e934f6404e40761ed16ab6d026e07a1e6c Mon Sep 17 00:00:00 2001 From: Lanyuanxiaoyao Date: Fri, 8 Dec 2023 21:45:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B1=B1=E5=A7=86=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E5=95=86=E5=BA=97):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=BC=B9=E7=AA=97=20(#2940)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(山姆会员商店): 开屏广告,功能弹窗 * chore(actions): check_format_lint * feat(山姆会员商店): 开屏广告 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge --- src/apps/cn.samsclub.app.ts | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/apps/cn.samsclub.app.ts diff --git a/src/apps/cn.samsclub.app.ts b/src/apps/cn.samsclub.app.ts new file mode 100644 index 00000000..e5978ff0 --- /dev/null +++ b/src/apps/cn.samsclub.app.ts @@ -0,0 +1,45 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'cn.samsclub.app', + name: '山姆会员商店', + groups: [ + { + key: 0, + name: '开屏广告', + actionMaximum: 1, + quickFind: true, + matchTime: 10000, + resetMatch: 'app', + rules: [ + { + matches: + '@ImageView[clickable=true] <2 [id="cn.samsclub.app:id/advertising_container"]', + snapshotUrls: 'https://i.gkd.li/import/13609106', + }, + ], + }, + { + key: 1, + name: '关闭「系统位置服务未打开」通知条', + activityIds: 'cn.samsclub.app.ui.MainActivity', + rules: [ + { + matches: '[id="cn.samsclub.app:id/tips_close"]', + snapshotUrls: 'https://i.gkd.li/import/13609113', + }, + ], + }, + { + key: 2, + name: '关闭「您有一张亲友卡待赠送」通知条', + activityIds: 'cn.samsclub.app.ui.MainActivity', + rules: [ + { + matches: '[id="cn.samsclub.app:id/fragment_home_window_delete_iv"]', + snapshotUrls: 'https://i.gkd.li/import/13609113', + }, + ], + }, + ], +});