feat(蜜源): 版本升级弹窗,广告弹窗 (#759)

* 【版本升级弹窗】 - 规则优化

* 首页-广告弹窗
This commit is contained in:
jiuqianyuan 2023-10-08 23:18:05 +08:00 committed by GitHub
parent 0eb6dbb894
commit 277a9982e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,14 +7,27 @@ export default defineAppConfig({
{
key: 0,
name: '版本升级弹窗',
activityIds: ['com.lbe.security.ui.CountdownDialogActivity'],
activityIds: [
'com.lbe.security.ui.CountdownDialogActivity',
'com.jf.my.MainActivity',
],
rules: [
{
matches:
'[id="com.jf.my:id/btn_ok"][text="更新"] - [id="com.jf.my:id/btn_cancel"][text="关闭"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12838034',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12838034',
'https://gkd-kit.gitee.io/import/12840591',
],
},
],
},
{
key: 1,
name: '首页-广告弹窗',
activityIds: 'com.jf.my.main.ui.dialog.HomeRedPackageDialog',
rules: '[id="com.jf.my:id/iv_back"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12840619',
},
],
});