mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
* fix(京东)--我的界面-参与调研 * fix 使用 [desc!="返回"] 进行限定,防止在进入商品详情页时点击返回按钮 * fix 优化【开屏广告】,切换点击目标 * feat 新增【浮层广告】
53 lines
1.6 KiB
TypeScript
53 lines
1.6 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.jingdong.app.mall',
|
|
name: '京东',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds: 'com.jingdong.app.mall.MainFrameActivity',
|
|
rules:
|
|
'@RelativeLayout[desc="跳过"][id!=null] > TextView[text="跳过"][id!=null]',
|
|
snapshotUrls: [
|
|
'https://gkd-kit.gitee.io/import/12668289',
|
|
'https://gkd-kit.gitee.io/import/12519430',
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 1,
|
|
name: '购物车界面-砸金蛋',
|
|
activityIds: 'com.jingdong.app.mall.MainFrameActivity',
|
|
rules: '[id="com.jd.lib.cart.feature:id/iv_egg_close"]',
|
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12642266',
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 2,
|
|
name: '我的界面-参与调研',
|
|
activityIds: 'com.jingdong.app.mall.MainFrameActivity',
|
|
rules:
|
|
'FrameLayout + RelativeLayout > RelativeLayout > ImageView + ImageView[desc!="返回"][visibleToUser=true]',
|
|
snapshotUrls: [
|
|
'https://gkd-kit.gitee.io/import/12642270',
|
|
'https://gkd-kit.songe.li/import/12774910', // 使用 [desc!="返回"] 进行限定,防止在进入商品详情页时点击返回按钮
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 3,
|
|
name: '浮层广告',
|
|
activityIds: 'com.jingdong.app.mall.MainFrameActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: '@[desc^="关闭浮层"] + [desc="浮层活动"]',
|
|
snapshotUrls: 'https://gkd-kit.songe.li/import/12740073',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|