feat(饿了么): 活动弹窗(优化规则)、红包弹窗(优化规则) (#2139)

* feat 活动弹窗(优化规则)

* feat 红包弹窗(优化规则)
This commit is contained in:
Kun Jinkao 2023-11-16 21:30:32 +08:00 committed by GitHub
parent aabe0294f0
commit 1c2ae38f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,6 @@ export default defineAppConfig({
],
},
{
enable: false,
key: 2,
name: '红包弹窗',
rules: [
@ -41,13 +40,17 @@ export default defineAppConfig({
'me.ele.component.pops2.Pops2MistDialog',
'me.ele.component.webcontainer.view.AppUCWebActivity',
'me.ele.application.ui.Launcher.LauncherActivity',
'me.ele.application.ui.GeneralSettingsActivity',
'me.ele.shopdetailv2.ShopDetailV2Activity',
],
matches:
'@ImageView[id=null][clickable=true] - ViewGroup >(5) ViewGroup[childCount=5]',
'[id="me.ele:id/id_magex_mistview"][childCount=2] > ViewGroup + ImageView[clickable=true]',
snapshotUrls: [
'https://i.gkd.li/import/12650238',
'https://i.gkd.li/import/13294893',
'https://i.gkd.li/import/13331361', // me.ele.application.ui.Launcher.LauncherActivity
'https://i.gkd.li/import/13331361',
'https://i.gkd.li/import/13362974',
'https://i.gkd.li/import/13376008',
],
},
{
@ -61,11 +64,23 @@ export default defineAppConfig({
},
{
key: 4,
name: '首页活动弹窗',
activityIds: 'me.ele.component.pops2.Pops2MistDialog',
rules:
'[id="me.ele:id/id_magex_mistview"] > ImageView + ImageView[id=null][clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/12726709',
name: '活动弹窗',
rules: [
{
key: 1,
name: '天天特价',
activityIds: [
'me.ele.component.pops2.Pops2MistDialog',
'me.ele.newbooking.checkout.entrypoint.WMCheckoutActivity',
],
matches:
'[id="me.ele:id/id_magex_mistview"][childCount=2] > ImageView + ImageView[clickable=true]',
snapshotUrls: [
'https://i.gkd.li/import/12726709',
'https://i.gkd.li/import/13362878',
],
},
],
},
{
key: 5,