mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
146 lines
4.0 KiB
TypeScript
146 lines
4.0 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.unionpay',
|
|
name: '云闪付',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '更新提示',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
matches: '@[text="稍候再说"] + [text="立即更新"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12727278',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '分段广告-支付完成界面广告卡片',
|
|
quickFind: true,
|
|
activityIds: 'com.unionpay.activity.react.UPActivityReactNative',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: '[id="bannerBox"] > @View[clickable=true] > [text="广告"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13070564',
|
|
},
|
|
{
|
|
preKeys: 0,
|
|
key: 1,
|
|
matches: '[text="关闭广告"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13070974',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 9,
|
|
name: '局部广告-右侧悬浮广告',
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
quickFind: true,
|
|
position: {
|
|
left: 'width * 0.8893',
|
|
top: 'width * 0.4607',
|
|
},
|
|
activityIds: 'com.unionpay.activity.UPActivityMain',
|
|
matches:
|
|
'@[vid="frog_float"][visibleToUser=true] >2 [vid="close_view"]',
|
|
exampleUrls:
|
|
'https://m.gkd.li/57941037/0f4f6a7f-55ce-4f87-a4cb-97e9c7107359',
|
|
snapshotUrls: 'https://i.gkd.li/i/14586427',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 10,
|
|
name: '定位提示-定位权限悬浮弹窗',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
activityIds: 'com.unionpay.activity.UPActivityMain',
|
|
rules: '[id="com.unionpay:id/view_locate_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13634882',
|
|
},
|
|
{
|
|
key: 11,
|
|
name: '定位提示-访问位置请求弹窗',
|
|
desc: '自动点击"不允许"',
|
|
quickFind: true,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
matches: '[text*="访问您的位置信息"] < * +n * > [text="不允许"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/12695773',
|
|
'https://i.gkd.li/i/14209001',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 12,
|
|
name: '通知提示-请求开启消息通知弹窗',
|
|
desc: '点击关闭',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[text="开启消息通知"] < * + [id="com.unionpay:id/view_alert_cancel"][visibleToUser=true]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12695736',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 13,
|
|
name: '全屏广告-天天签到-获得新勋章提示',
|
|
desc: '点击左上角返回',
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
activityIds: 'com.unionpay.cordova.UPActivityCordovaWeb',
|
|
matches:
|
|
'WebView[text="天天签到"] TextView[text="炫耀一下"] + TextView[clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/i/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/i/13440341',
|
|
},
|
|
{
|
|
key: 15,
|
|
quickFind: true,
|
|
name: '全屏广告-领取优惠弹窗',
|
|
desc: '点击X',
|
|
rules: [
|
|
{
|
|
activityIds: 'com.unionpay.cordova.UPActivityCordovaWeb',
|
|
matches:
|
|
'[id="com.unionpay:id/view_content_container"] View[text="关闭按钮"][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13848688',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|