feat(拼多多): 红包弹窗(补充规则) (#3005)

* Update com.xunmeng.pinduoduo.ts

* chore(actions): check_format_lint

* feat(红包弹窗) 补充规则

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Kun Jinkao
2023-12-11 19:42:49 +08:00
committed by GitHub
parent e4d5fdbb35
commit b296e19acf

View File

@@ -85,11 +85,22 @@ export default defineAppConfig({
enable: false, enable: false,
key: 4, key: 4,
name: '红包弹窗', name: '红包弹窗',
activityIds: ['com.xunmeng.pinduoduo.ui.activity.HomeActivity'], activityIds: 'com.xunmeng.pinduoduo.ui.activity.HomeActivity',
rules: [ rules: [
'@ImageView[id=null][clickable=true] < ViewGroup + ViewGroup > ImageView + ViewGroup > ImageView +(2) FrameLayout > TextView[text="专属现金红包"]', {
key: 0,
matches:
'@ImageView[id=null][clickable=true] < ViewGroup + ViewGroup > ImageView + ViewGroup > ImageView +(2) FrameLayout > TextView[text="专属现金红包"]',
snapshotUrls: 'https://i.gkd.li/import/12642023',
},
{
key: 1,
quickFind: true,
matches:
'@ImageView[clickable=true] < ViewGroup + ViewGroup >n [text="送你大额现金"]',
snapshotUrls: 'https://i.gkd.li/import/13625441',
},
], ],
snapshotUrls: ['https://i.gkd.li/import/12642023'],
}, },
{ {
enable: false, enable: false,
@@ -167,7 +178,7 @@ export default defineAppConfig({
{ {
activityIds: 'com.xunmeng.pinduoduo.ui.activity.HomeActivity', activityIds: 'com.xunmeng.pinduoduo.ui.activity.HomeActivity',
matches: matches:
'@ImageView[desc=\'返回\'] -3 ViewPager >19 TextView[text=\'正在直播\']', '@ImageView[desc="返回"] -3 ViewPager >19 TextView[text="正在直播"]',
snapshotUrls: 'https://i.gkd.li/import/13446291', snapshotUrls: 'https://i.gkd.li/import/13446291',
}, },
], ],