mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(NGA玩家社区): 社区-顶部广告, 开屏广告, 话题-帖子列表广告 (#313)
* feat(NGA玩家社区) * feat(NGA玩家社区): 话题-帖子列表广告-优化 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
@@ -7,9 +7,15 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
activityIds: 'gov.pianzong.androidnga.activity.LoadingActivity',
|
activityIds: [
|
||||||
|
'gov.pianzong.androidnga.activity.LoadingActivity',
|
||||||
|
'com.miui.home.launcher.Launcher',
|
||||||
|
],
|
||||||
rules: ['[id="gov.pianzong.androidnga:id/iv_tg_ad"]'],
|
rules: ['[id="gov.pianzong.androidnga:id/iv_tg_ad"]'],
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12476484',
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12476484',
|
||||||
|
'https://gkd-kit.gitee.io/import/12706127', // activityId: 'com.miui.home.launcher.Launcher'
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
@@ -24,8 +30,24 @@ export default defineAppConfig({
|
|||||||
desc: '点击卡片右下角x按钮关闭广告',
|
desc: '点击卡片右下角x按钮关闭广告',
|
||||||
activityIds:
|
activityIds:
|
||||||
'gov.pianzong.androidnga.activity.forumdetail.ForumDetailActivity',
|
'gov.pianzong.androidnga.activity.forumdetail.ForumDetailActivity',
|
||||||
rules: 'Image[text="ams_icon_single_close"]',
|
rules: [
|
||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12655805'],
|
{
|
||||||
|
matches: 'Image[text="ams_icon_single_close"]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12655805'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matches:
|
||||||
|
'TextView[text!=null] - ImageView < LinearLayout[childCount=2] + FrameLayout[childCount=1] > ImageView[id=null]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12706140'],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: '社区-顶部广告',
|
||||||
|
activityIds: 'com.donews.nga.activitys.MainActivity',
|
||||||
|
rules: '[id="gov.pianzong.androidnga:id/iv_close_community_ad"]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12706132'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user