perf: some rules

This commit is contained in:
AIsouler
2024-05-14 22:23:04 +08:00
parent 3cda2f17d5
commit 0854632166
5 changed files with 6 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ export default defineGkdApp({
'com.eastmoney.android.fund.activity.FundSplashActivity',
],
matches:
'@ImageView[visibleToUser=true] < FrameLayout - ImageView < FrameLayout <<4 [vid="container"]',
'@ImageView[visibleToUser=true] < FrameLayout - ImageView < FrameLayout <<n [vid="container"]',
exampleUrls:
'https://m.gkd.li/57941037/21743bbb-010a-410c-8ce1-57710d37722d',
snapshotUrls: [

View File

@@ -10,7 +10,7 @@ export default defineGkdApp({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text="更新提示"] <<2 * +2 * >2 [text="取消"]',
rules: '@[text="取消"] < * > [text="好,升级"]',
snapshotUrls: [
'https://i.gkd.li/i/12684250',
'https://i.gkd.li/i/12727457',

View File

@@ -642,7 +642,7 @@ export default defineGkdApp({
{
key: 0,
matches:
'ImageView <<2 FrameLayout +2 * >3 TextView[text*="红包"] - @ViewGroup[childCount=5] > TextView[text!="已领取"]',
'ImageView < * < FrameLayout +2 * >3 TextView[text*="红包"] - @ViewGroup[childCount=5] > TextView[text!="已领取"]',
exampleUrls:
'https://m.gkd.li/57941037/7a933a7f-dc5a-4eb7-8a6f-fe3cc4e8fb5e',
snapshotUrls: 'https://i.gkd.li/i/14221309',

View File

@@ -105,7 +105,7 @@ export default defineGkdApp({
key: 5,
name: '点击右下角关闭',
matches:
'ImageView[childCount=0] <<2 RelativeLayout + FrameLayout + RelativeLayout > RelativeLayout > RelativeLayout > ImageView',
'ImageView[childCount=0] < * < RelativeLayout + FrameLayout + RelativeLayout > RelativeLayout > RelativeLayout > ImageView',
snapshotUrls: 'https://i.gkd.li/i/13426421',
},
{

View File

@@ -292,14 +292,14 @@ export default defineGkdApp({
{
matches: [
'TextView[text="正在直播"]',
'@ImageView[desc="返回"] <4 ViewGroup <<3 FrameLayout[id="android:id/content"]',
'@ImageView[desc="返回"] <4 ViewGroup <<n FrameLayout[id="android:id/content"]',
],
snapshotUrls: 'https://i.gkd.li/i/13446291',
},
{
matches: [
'TextView[text="查看更多低价商品"]',
'@ImageView[desc="返回"] <4 ViewGroup <<3 FrameLayout[id="android:id/content"]',
'@ImageView[desc="返回"] <4 ViewGroup <<n FrameLayout[id="android:id/content"]',
],
snapshotUrls: 'https://i.gkd.li/i/13791119',
},