Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

feat(QQ) 全屏广告-个人主页浮层广告 #4101

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 40 additions & 2 deletions src/apps/com.tencent.mobileqq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,12 @@ export default defineAppConfig({
{
enable: false,
key: 20,
name: '钱包-卡片广告',
name: '分段广告-钱包页卡片广告',
quickFind: true,
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
activityIds: [
'com.tencent.mobileqq.activity.SplashActivity',
'cooperation.qwallet.plugin.QWalletToolFragmentActivity',
],
rules: [
{
key: 0,
Expand Down Expand Up @@ -412,5 +415,40 @@ export default defineAppConfig({
},
],
},
{
key: 22,
name: '分段广告-天气页卡片广告',
desc: '点击关闭-点击关闭此条广告',
quickFind: true,
activityIds: 'com.tencent.mobileqq.activity.QPublicFragmentActivity',
rules: [
{
key: 0,

matches: '[id="com.tencent.mobileqq:id/nca"]',
snapshotUrls: 'https://i.gkd.li/import/14019384',
},
{
preKeys: 0,
key: 1,
matches: '@LinearLayout[childCount=3] > [text="关闭此条广告"]',
snapshotUrls: 'https://i.gkd.li/import/14019401',
},
],
},
{
key: 23,
name: '全屏广告-个人主页浮层广告',
rules: [
{
key: 0,
name: '个性装扮浮层广告',
activityIds:
'com.tencent.mobileqq.profilecard.activity.FriendProfileCardActivity',
matches: '[desc="关闭浮层"][clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/14074727',
},
],
},
],
});
Loading