From 3ba95b85b0674dfa3cab9bc8112b8cea6639376c Mon Sep 17 00:00:00 2001 From: xiaowonet <33050133+xiaowonet@users.noreply.github.com> Date: Mon, 13 Nov 2023 00:14:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=92=89=E9=92=89):=20=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=8A=E6=96=B9=E5=B9=BF=E5=91=8A+?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=8D=B3=E5=B0=86=E8=BF=87=E6=9C=9F=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=20(#2021)?= 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/com.alibaba.android.rimet.ts | 44 ++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/src/apps/com.alibaba.android.rimet.ts b/src/apps/com.alibaba.android.rimet.ts index c41d8440..e7d83006 100644 --- a/src/apps/com.alibaba.android.rimet.ts +++ b/src/apps/com.alibaba.android.rimet.ts @@ -7,24 +7,60 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - matchLauncher: true, quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { key: 0, - activityIds: 'com.alibaba.android.rimet.biz.SplashActivity', matches: - '[id="com.alibaba.android.rimet:id/btn_check_detail"||text^="跳过"]', + '[id="com.alibaba.android.rimet:id/btn_check_detail"][text^="跳过"]', snapshotUrls: 'https://i.gkd.li/import/12506211', }, { key: 1, - activityIds: 'com.alibaba.android.rimet.biz.SplashAdvertiseActivity', matches: '[id="com.alibaba.android.rimet:id/splash_advertise_pass_text"]', snapshotUrls: 'https://i.gkd.li/import/12837220', }, ], }, + { + enable: false, + key: 1, + name: '消息列表上方广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + matches: + 'ImageView < FrameLayout + FrameLayout > [id="com.alibaba.android.rimet:id/icft_close"]', + snapshotUrls: 'https://i.gkd.li/import/13325125', + action: 'clickCenter', + }, + ], + }, + { + enable: false, + key: 2, + name: '文件即将过期提示', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + matches: + '@FrameLayout[id="com.alibaba.android.rimet:id/layout_close"] -2 TextView[text="文件即将过期请备份"]', + action: 'clickCenter', + snapshotUrls: 'https://i.gkd.li/import/13325125', + }, + ], + }, ], });