diff --git a/src/apps/com.unionpay.ts b/src/apps/com.unionpay.ts index 1bf44828..aee4c576 100644 --- a/src/apps/com.unionpay.ts +++ b/src/apps/com.unionpay.ts @@ -115,14 +115,24 @@ export default defineAppConfig({ desc: '点击左上角返回', actionMaximum: 1, resetMatch: 'app', - quickFind: true, rules: [ { activityIds: 'com.unionpay.cordova.UPActivityCordovaWeb', - matches: '[id="com.unionpay:id/iv_title_left_image"][desc="返回"]', //实测原规则点击中间下方【x】无效 + matches: + 'WebView[text="天天签到"] TextView[text="炫耀一下"] + TextView[clickable=true]', snapshotUrls: 'https://i.gkd.li/import/13440341', }, ], }, + { + key: 14, + name: '我的页面-广告弹窗', + matchTime: 10000, + actionMaximum: 1, + activityIds: 'com.unionpay.activity.UPActivityMain', + rules: + '[id="com.unionpay:id/container"] + [id="com.unionpay:id/image"][clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/13440341', + }, ], });