Skip to content

Commit 5b6a8a0

Browse files
committed
perf: 顺丰速运
1 parent 147b24d commit 5b6a8a0

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/apps/com.sf.activity.ts

+13-4
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,19 @@ export default defineGkdApp({
3535
},
3636
{
3737
key: 1,
38-
matches: '@[desc="取消"] - ViewGroup >n [text="立即升级"]',
38+
fastQuery: true,
39+
matches:
40+
'@Button[desc="取消"] - ViewGroup >3 [text="立即升级"] <2 Button <2 ViewGroup < ViewGroup <3 ViewGroup <2 ViewGroup < ViewGroup <2 ViewGroup < ViewGroup < FrameLayout < [id="com.sf.activity:id/rnRootLayout"]',
3941
snapshotUrls: 'https://i.gkd.li/i/13291144',
4042
},
4143
],
4244
},
4345
{
4446
key: 2,
4547
name: '功能类-专属月报弹窗',
48+
matchTime: 10000,
49+
actionMaximum: 1,
50+
resetMatch: 'app',
4651
rules: [
4752
{
4853
activityIds: 'com.sf.activity.MainActivity',
@@ -57,13 +62,17 @@ export default defineGkdApp({
5762
key: 3,
5863
name: '全屏广告-弹窗广告',
5964
desc: '点击关闭',
65+
fastQuery: true,
66+
matchTime: 10000,
67+
actionMaximum: 1,
68+
resetMatch: 'app',
6069
rules: [
6170
{
6271
key: 0,
6372
activityIds: 'com.sf.activity.MainActivity',
64-
matches: '[id="BmsAdDialogViewCloseButton"]',
65-
exampleUrls:
66-
'https://m.gkd.li/57941037/6baf1ea4-9424-4360-b28b-7907b0d7aa4a',
73+
matches:
74+
'@Button[id="BmsAdDialogViewCloseButton"] <2 ViewGroup < ViewGroup <2 ViewGroup < ViewGroup <2 ViewGroup < ViewGroup < FrameLayout < [vid="rnRootLayout"]',
75+
exampleUrls: 'https://e.gkd.li/3be50f7b-5696-47c9-95cc-ef46f8531967',
6776
snapshotUrls: [
6877
'https://i.gkd.li/i/14502128',
6978
'https://i.gkd.li/i/17869485',

0 commit comments

Comments
 (0)