perf(迅雷): 局部广告-卡片广告

This commit is contained in:
AIsouler
2024-11-13 15:10:07 +08:00
parent 44543680ec
commit 00cef87f80
2 changed files with 14 additions and 10 deletions

View File

@@ -487,7 +487,11 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
name: '腾讯视频', name: '腾讯视频',
deprecatedKeys: [5, 19], deprecatedKeys: [5, 19],
}, },
{ id: 'com.xunlei.downloadprovider', name: '迅雷', deprecatedKeys: [11] }, {
id: 'com.xunlei.downloadprovider',
name: '迅雷',
deprecatedKeys: [5, 11],
},
{ {
id: 'com.xyhui', id: 'com.xyhui',
name: 'PU口袋校园', name: 'PU口袋校园',

View File

@@ -255,15 +255,6 @@ export default defineGkdApp({
}, },
], ],
}, },
{
key: 5,
name: '局部广告-搜索页面顶部广告',
fastQuery: true,
activityIds:
'com.xunlei.downloadprovider.search.ui.search.SearchOperateActivity',
rules: '[id="com.xunlei.downloadprovider:id/search_banner_ad_close"]',
snapshotUrls: 'https://i.gkd.li/i/12882892',
},
{ {
key: 6, key: 6,
name: '更新提示', name: '更新提示',
@@ -333,6 +324,7 @@ export default defineGkdApp({
desc: '点击关闭', desc: '点击关闭',
rules: [ rules: [
{ {
key: 0,
fastQuery: true, fastQuery: true,
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
matches: matches:
@@ -344,6 +336,14 @@ export default defineGkdApp({
'https://i.gkd.li/i/15048357', 'https://i.gkd.li/i/15048357',
], ],
}, },
{
key: 1,
fastQuery: true,
activityIds: '.search.ui.search.SearchOperateActivity',
matches: '[vid="search_banner_ad_close"][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/d9e25fc3-249f-4fb9-8606-606ed0c9c893',
snapshotUrls: 'https://i.gkd.li/i/17725350',
},
], ],
}, },
{ {