From b30c7ac064e98ff8534dc8167be7db93f08cdb79 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Sun, 3 Dec 2023 16:39:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(wps):=20=E6=96=87=E6=A1=A3=E7=BB=93?= =?UTF-8?q?=E5=B0=BE=E5=B9=BF=E5=91=8As=20(#2718)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #2693 --- src/apps/cn.wps.moffice_eng.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/apps/cn.wps.moffice_eng.ts b/src/apps/cn.wps.moffice_eng.ts index 268beabf..deaf9673 100644 --- a/src/apps/cn.wps.moffice_eng.ts +++ b/src/apps/cn.wps.moffice_eng.ts @@ -103,5 +103,26 @@ export default defineAppConfig({ }, ], }, + { + key: 5, + name: '文档末尾广告', + activityIds: [ + 'cn.wps.moffice.writer.multiactivity.Writer', //Writer1,Writer2... + ], + rules: [ + { + key: 1, + matches: + '[id="cn.wps.moffice_eng:id/doc_end_ad_container_main"] >2 [id="cn.wps.moffice_eng:id/btn_close"]', + snapshotUrls: 'https://i.gkd.li/import/13513911', + }, + { + preKeys: 1, + key: 2, + matches: '[text="关闭当前广告"]', + snapshotUrls: 'https://i.gkd.li/import/13513914', + }, + ], + }, ], });