feat(番茄小说): 右侧悬浮窗广告 (#2059)

* Update com.dragon.read.ts

* Update com.dragon.read.ts

close #2006
This commit is contained in:
walklty
2023-11-14 19:36:55 +08:00
committed by GitHub
parent a8521b9202
commit a9664e7bde

View File

@@ -53,11 +53,21 @@ export default defineAppConfig({
}, },
{ {
key: 2, key: 2,
name: '右侧悬浮红包', name: '首页右侧悬浮广告',
activityIds: 'com.dragon.read.pages.main.MainFragmentActivity', activityIds: [
rules: 'com.dragon.read.pages.main.MainFragmentActivity',
'[id="android:id/content"] > FrameLayout > RelativeLayout[childCount=1][clickable=true] > RelativeLayout[childCount=3] > ImageView[id!=null][clickable=true]', 'com.dragon.read.ad.openingscreenad.OpeningScreenADActivity',
snapshotUrls: 'https://i.gkd.li/import/12716506', ],
rules: [
{
matches:
'[id="android:id/content"] > FrameLayout[childCount=1] > RelativeLayout[childCount=1] >2 ImageView[id!=null][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/import/12716506', //relativeLayout和ImageView之间是RelativeLayoutRelativeLayout
'https://i.gkd.li/import/13318796', //relativeLayout和ImageView之间是ViewGroup
],
},
],
}, },
{ {
key: 3, key: 3,