feat: PU口袋校园-全屏广告 等2个更新 (#1383)

Co-authored-by: AIsouler <zy43220@gmail.com>
This commit is contained in:
天方夜谭
2025-11-04 00:28:59 +08:00
committed by GitHub
parent 693b42fde8
commit ff587e268d

View File

@@ -17,7 +17,7 @@ export default defineGkdApp({
'com.xyhui.start.LoadingActivity',
],
matches:
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null] <2 FrameLayout[childCount=5] + FrameLayout[childCount=2] > [text^="立即" || text="查看详情" || text="了解更多" || text="去逛逛" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null] <2 FrameLayout[childCount=5] + FrameLayout[childCount=2] > [text^="立即" || text$="详情" || text^="了解" || text="去逛逛" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
snapshotUrls: [
'https://i.gkd.li/i/14472097',
'https://i.gkd.li/i/13695488',
@@ -73,11 +73,12 @@ export default defineGkdApp({
'.lut.act.LutMainActivity',
],
matches:
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null][parent.childCount>3] +n FrameLayout >(1,2) [text^="立即" || text="查看详情" || text="了解更多" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null][parent.childCount>3] +n FrameLayout >(1,2) [text^="立即" || text$="详情" || text^="了解" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
snapshotUrls: [
'https://i.gkd.li/i/14472098',
'https://i.gkd.li/i/14766902',
'https://i.gkd.li/i/23146070',
'https://i.gkd.li/i/23304106',
],
},
{
@@ -100,9 +101,16 @@ export default defineGkdApp({
{
key: 9,
fastQuery: true,
activityIds: 'com.anythink.basead.ui.ATPortraitTranslucentActivity',
matches: '[vid="anythink_myoffer_btn_close_id"]',
snapshotUrls: 'https://i.gkd.li/i/22868736',
activityIds: [
'com.anythink.basead.ui.ATPortraitTranslucentActivity',
'com.smartdigimkt.sdk.basead.ui.ATPortraitTranslucentActivity',
],
matches:
'[vid="anythink_myoffer_btn_close_id" || vid="sdm_myoffer_btn_close_id"]',
snapshotUrls: [
'https://i.gkd.li/i/22868736',
'https://i.gkd.li/i/23293759',
],
},
{
key: 10,
@@ -153,5 +161,55 @@ export default defineGkdApp({
},
],
},
{
key: 6,
name: '功能类-打开应用自动进入部落',
desc: '点击我的-我的部落-已通过-部落详情(如果有多个则点击第一个,仅开屏时触发一次)',
rules: [
// 部分规则不使用 preKeys因为中途可能会有广告打断
{
key: 0,
name: '点击导航栏[我的]',
fastQuery: true,
actionMaximum: 1,
resetMatch: 'app',
activityIds: '.lut.act.LutMainActivity',
matches:
'@ViewGroup[clickable=true][visibleToUser=true] > [text="我的"] <<n [vid="mCustomTabView"]',
snapshotUrls: 'https://i.gkd.li/i/23303536',
},
{
key: 1,
name: '点击[我的部落]',
fastQuery: true,
actionMaximum: 1,
resetMatch: 'app',
activityIds: '.lut.act.LutMainActivity',
matches:
'@LinearLayout[vid="itemView"][visibleToUser=true] > [text="我的部落"]',
snapshotUrls: 'https://i.gkd.li/i/23303537',
},
{
key: 2,
name: '点击[已通过]',
fastQuery: true,
actionMaximum: 1,
resetMatch: 'app',
activityIds: 'com.lut.tribe.act.MyLutTribeAct',
matches:
'@RelativeLayout[clickable=true][visibleToUser=true] > [text="已通过"]',
snapshotUrls: 'https://i.gkd.li/i/23303538',
},
{
preKeys: [2],
name: '进入部落详情',
fastQuery: true,
activityIds: 'com.lut.tribe.act.MyLutTribeAct',
matches:
'@LinearLayout[clickable=true][visibleToUser=true] < [vid="mRecyclerView"]',
snapshotUrls: 'https://i.gkd.li/i/23303539',
},
],
},
],
});