feat(起点读书): 更新弹窗-规则优化 (#1383)

* feat(起点读书): 【更新弹窗】

* feat(起点读书): 更新弹窗

---------

Co-authored-by: 二刺螈 <i@songe.li>

close #1373
This commit is contained in:
jiuqianyuan
2023-10-25 00:21:54 +08:00
committed by GitHub
parent bcc9412f0f
commit 3119a52082

View File

@@ -17,11 +17,23 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '更新弹窗', name: '更新弹窗',
activityIds: ['com.qidian.QDReader.framework.widget.dialog.judian'], quickFind: true,
rules: activityIds: [
'com.qidian.QDReader.framework.widget.dialog.judian',
'com.tencent.upgrade.ui.UpgradeDialogActivity',
],
rules: [
{
matches:
'TextView[text$="新版本"] +(2) RelativeLayout >(4) TextView[text="以后再说"]', 'TextView[text$="新版本"] +(2) RelativeLayout >(4) TextView[text="以后再说"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12641026'], snapshotUrls: ['https://gkd-kit.gitee.io/import/12641026'],
}, },
{
matches: '[id="com.qidian.QDReader:id/upgrade_dialog_close_btn"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/13116821'],
},
],
},
{ {
key: 2, key: 2,
name: '青少年模式弹窗', name: '青少年模式弹窗',