diff --git a/src/apps/com.baidu.tieba.ts b/src/apps/com.baidu.tieba.ts index f9a7f5e8..e6252118 100644 --- a/src/apps/com.baidu.tieba.ts +++ b/src/apps/com.baidu.tieba.ts @@ -251,5 +251,29 @@ export default defineAppConfig({ 'https://i.gkd.li/import/13328738', ], }, + { + enable: false, + key: 12, + name: '贴吧内签到并关闭弹窗', + resetMatch: 'activity', + rules: [ + { + key: 0, + name: '贴吧页签到', + activityIds: ['com.baidu.tieba.forum.ForumActivity'], + matches: + 'WebView[text="frs"] > View > View > View > View > TextView[text="签到"][clickable=true]', + snapshotUrls: ['https://i.gkd.li/import/13776801'], + }, + { + key: 1, + name: '签到成功-弹窗', + activityIds: ['com.baidu.tbadk.browser.TBWebContainerActivity'], + matches: + 'WebView[text="签到弹窗"] > View > View > TextView[text=""][clickable=true]', + snapshotUrls: ['https://i.gkd.li/import/13776424'], + }, + ], + }, ], });