From 229090b2f15b1b217884c84ab518e410d48b57ab Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 8 Feb 2024 20:05:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E5=85=A8=E5=B1=8F=E5=B9=BF=E5=91=8A-?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=EF=BC=88=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/cmb.pb.ts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/apps/cmb.pb.ts b/src/apps/cmb.pb.ts index fa8d5793..bbaaaa7c 100644 --- a/src/apps/cmb.pb.ts +++ b/src/apps/cmb.pb.ts @@ -16,10 +16,21 @@ export default defineAppConfig({ { key: 10, name: '全屏广告-广告弹窗', - activityIds: - 'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity', - rules: '[id="cover-img"] + [text="关闭推荐"]', - snapshotUrls: 'https://i.gkd.li/import/12706022', + rules: [ + { + key: 0, + activityIds: + 'cmb.pb.app.h5container.webviewcontainer.PBWebContainerActivity', + matches: '[id="cover-img"] + [text="关闭推荐"]', + snapshotUrls: 'https://i.gkd.li/import/12706022', + }, + { + key: 1, + activityIds: 'com.pb.marketing.PopupWindowActivity', + matches: '[desc^="活动图片"] + [desc="关闭"]', + snapshotUrls: 'https://i.gkd.li/import/14208693', + }, + ], }, { key: 11,