mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-23 10:15:31 +08:00
perf(APKPure): Key 2、3,匹配为可见时才执行点击 (#232)
Signed-off-by: gigibooom <171463165+gigibooom@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ export default defineGkdApp({
|
|||||||
'com.apkpure.aegon.cms.activity.CommonActivity',
|
'com.apkpure.aegon.cms.activity.CommonActivity',
|
||||||
'com.apkpure.aegon.main.activity.AppMoreActivity',
|
'com.apkpure.aegon.main.activity.AppMoreActivity',
|
||||||
],
|
],
|
||||||
matches: '@ViewGroup[clickable=true] > [text="查看更多"]',
|
matches: '@ViewGroup[clickable=true] > [text="查看更多"][visibleToUser=true]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/15469126',
|
snapshotUrls: 'https://i.gkd.li/i/15469126',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -48,13 +48,13 @@ export default defineGkdApp({
|
|||||||
{
|
{
|
||||||
name: '点击三点图标',
|
name: '点击三点图标',
|
||||||
key: 0,
|
key: 0,
|
||||||
matches: '@ImageView - RelativeLayout >3 [text="AD"]',
|
matches: '@ImageView - RelativeLayout >3 [text="AD"][visibleToUser=true]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13466329',
|
snapshotUrls: 'https://i.gkd.li/i/13466329',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '点击关闭',
|
name: '点击关闭',
|
||||||
preKeys: 0,
|
preKeys: 0,
|
||||||
matches: '@LinearLayout[clickable=true] >2 [text="关闭"]',
|
matches: '@LinearLayout[clickable=true] >2 [text="关闭"][visibleToUser=true]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13466610',
|
snapshotUrls: 'https://i.gkd.li/i/13466610',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user