fix(小蚕霸王餐): 提高开屏广告兼容性 (#3890)

close #3643
This commit is contained in:
walklty 2024-01-28 14:15:09 +08:00 committed by GitHub
parent d904a59445
commit 6814bb0a1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,13 +23,16 @@ export default defineAppConfig({
}, },
{ {
key: 2, key: 2,
matches: '[id = "com.byted.pangle:id/tt_splash_skip_btn"]', quickFind: true,
matches:
'@[id$="tt_splash_skip_btn"] <<n [id="com.realtech.xiaocan:id/splash_ad_container"]',
snapshotUrls: 'https://i.gkd.li/import/12854728', snapshotUrls: 'https://i.gkd.li/import/12854728',
}, },
{ {
key: 3, key: 3,
quickFind: true,
matches: matches:
'[id="com.realtech.xiaocan:id/splash_ad_container"] >n FrameLayout[childCount<=4] > FrameLayout +n @View[clickable=true] + TextView', '@View[visibleToUser=true][clickable=true] <n FrameLayout[childCount=4||childCount=3] <<n [id="com.realtech.xiaocan:id/splash_ad_container"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/import/13694858', 'https://i.gkd.li/import/13694858',
'https://i.gkd.li/import/13794403', 'https://i.gkd.li/import/13794403',