Skip to content

Commit

Permalink
fix(京东): 首页-浮层广告规则优化、快照更正
Browse files Browse the repository at this point in the history
- 原快照非京东APP快照,更正为正确相关快照
- 同时浮层广告存在关闭按钮可能位于广告上或下的情况,特此兼容
  • Loading branch information
aoguai committed Oct 7, 2023
1 parent 51149a4 commit cd5a73d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/apps/com.jingdong.app.mall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ export default defineAppConfig({
{
enable: false,
key: 3,
name: '浮层广告',
name: '首页-浮层广告',
activityIds: 'com.jingdong.app.mall.MainFrameActivity',
rules: [
{
key: 0,
matches: '@[desc^="关闭浮层"] + [desc="浮层活动"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12740073',
snapshotUrls: 'https://gkd-kit.songe.li/import/12837870',
},
{
matches: '@[desc^="关闭浮层"] - [desc="浮层活动"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12837870',
},
],
},
Expand Down

0 comments on commit cd5a73d

Please sign in to comment.