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

feat(网易有道词典):首页卡片广告、全屏广告(补充activityid) #4025

Closed
wants to merge 2 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
24 changes: 18 additions & 6 deletions src/apps/com.youdao.dict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineAppConfig({
groups: [
{
key: 1,
name: '卡片式广告',
name: '局部广告-卡片式广告',
rules: [
{
key: 0,
Expand All @@ -29,6 +29,12 @@ export default defineAppConfig({
'https://i.gkd.li/import/13800056',
],
},
{
key: 2,
activityIds: 'com.youdao.dict.activity.MainActivity',
matches: '[id="com.youdao.dict:id/home_ad_close"]',
snapshotUrls: 'https://i.gkd.li/import/14009705',
},
],
},
{
Expand Down Expand Up @@ -63,24 +69,30 @@ export default defineAppConfig({
{
key: 2,
name: '抽奖机会-弹窗广告',
activityIds: 'com.youdao.dict.activity.DictSplashActivity',
activityIds: [
'com.youdao.dict.activity.DictSplashActivity',
'com.youdao.dict.activity.DictHotBootSplashActivity',
],
quickFind: true,
matches: '[vid="skip_bottom_view"]',
snapshotUrls: 'https://i.gkd.li/import/13931202',
snapshotUrls: [
'https://i.gkd.li/import/13931202',
'https://i.gkd.li/import/14064647',
],
},
],
},
{
key: 4,
name: 'VIP-弹窗',
name: '全屏广告-VIP弹窗',
activityIds: 'com.youdao.dict.vip.activity.RecallSevenDayVipActivity',
rules: '@ImageView[id="com.youdao.dict:id/iv_close"]',
quickFind: true,
snapshotUrls: 'https://i.gkd.li/import/13263706',
},
{
key: 5,
name: '评价弹窗',
name: '评价提示',
activityIds: 'com.youdao.dict.activity.MainActivity',
quickFind: true,
resetMatch: 'app',
Expand All @@ -91,7 +103,7 @@ export default defineAppConfig({
},
{
key: 6,
name: '更新弹窗',
name: '更新提示',
quickFind: true,
actionMaximum: 1,
resetMatch: 'app',
Expand Down
Loading