mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(浙里办): 更新弹窗(补充规则) (#2716)
This commit is contained in:
@@ -17,12 +17,32 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '更新弹窗',
|
name: '更新弹窗',
|
||||||
actionMaximum: 1,
|
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
rules:
|
rules: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
actionMaximum: 1,
|
||||||
|
matches:
|
||||||
'@[id="com.hanweb.android.zhejiang.activity:id/iv_cancel"] -2 * >2 [text="发现新版本"]',
|
'@[id="com.hanweb.android.zhejiang.activity:id/iv_cancel"] -2 * >2 [text="发现新版本"]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13402048',
|
snapshotUrls: 'https://i.gkd.li/import/13402048',
|
||||||
},
|
},
|
||||||
|
// key 1,2 共同发挥作用,先点击[立即升级],然后返回,即可跳过更新弹窗
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
actionMaximumKey: 0,
|
||||||
|
matches:
|
||||||
|
'LinearLayout[childCount=2] > LinearLayout[childCount=2] > [text="立即升级"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13520598',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
preKeys: 1,
|
||||||
|
key: 2,
|
||||||
|
matches:
|
||||||
|
'[text="版本更新"] - [id="com.hanweb.android.zhejiang.activity:id/rl_back"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13521059',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user