feat(动卡空间): 开屏广告,广告弹窗,通知弹窗 (#1253)

* feat(动卡空间): 开屏广告

* feat(动卡空间): 弹窗

* feat(动卡空间): 规则优化

---------

Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
walklty 2023-10-21 23:10:41 +08:00 committed by GitHub
parent 5a2f887cf3
commit 94742024fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,44 @@ export default defineAppConfig({
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: ['com.citiccard.mobilebankapp.WelcomeActivity'], activityIds: ['com.citiccard.mobilebankapp.WelcomeActivity'],
quickFind: true,
rules: [
{
matches: '[id="com.citiccard.mobilebank:id/btn_skip"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12684908'],
},
{
matches: '[id="com.citiccard.mobilebank:id/jump"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/13049013'],
},
],
},
{
key: 1,
name: '广告弹窗',
activityIds: [
'com.citiccard.mobilebank.card.activity.BillDetailHomeActivity',
],
quickFind: true,
rules: [
{
matches: '[id="com.citiccard.mobilebank:id/iv_bill_home_cancel"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/13049284'],
},
],
},
{
key: 2,
name: '通知权限弹窗',
activityIds: [
'com.citiccard.mobilebank.card.activity.BillDetailHomeActivity',
],
quickFind: true,
rules: [ rules: [
{ {
matches: matches:
'[id="com.citiccard.mobilebank:id/iv_popAdv"] + [id="com.citiccard.mobilebank:id/btn_skip"][text$="跳过"]', '[id="com.citiccard.mobilebank:id/ll_app_upgrade_content"] + [id="com.citiccard.mobilebank:id/iv_close"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12684908'], snapshotUrls: ['https://gkd-kit.gitee.io/import/13049283'],
}, },
], ],
}, },