mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
100 lines
3.3 KiB
TypeScript
100 lines
3.3 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.chinatelecom.bestpayclient',
|
|
name: '翼支付',
|
|
deprecatedKeys: [0],
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '版本更新',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
activityIds: 'com.chinatelecom.bestpayclient.ui.MainActivity',
|
|
rules: '[id="com.chinatelecom.bestpayclient:id/bupdate_tv_bottom_tip"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13391544',
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '弹窗广告',
|
|
actionMaximum: 1,
|
|
resetMatch: 'activity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
name: '权益页',
|
|
activityIds: 'com.chinatelecom.bestpayclient.ui.MainActivity',
|
|
quickFind: true,
|
|
matches:
|
|
'Image < @View[clickable=true][index=1] <<n Dialog <<n [id="com.chinatelecom.bestpayclient:id/best_h5_container"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13402692',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '首页1',
|
|
activityIds: 'com.chinatelecom.bestpayclient.ui.MainActivity',
|
|
quickFind: true,
|
|
matches:
|
|
'[id="com.chinatelecom.bestpayclient:id/iv_dialog_close_one"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13455790',
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '首页2',
|
|
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
|
|
quickFind: true,
|
|
matches:
|
|
'@Image[clickable=true][text!=null] < View[childCount=2] <<n FrameLayout[id="com.chinatelecom.bestpayclient:id/h5_pc_container"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13626324',
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '借贷页',
|
|
activityIds: 'com.chinatelecom.bestpayclient.ui.MainActivity',
|
|
quickFind: true,
|
|
matches:
|
|
'@View[clickable=true][text=""] <<n [id="com.chinatelecom.bestpayclient:id/best_h5_container"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13455929',
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '信用卡页面',
|
|
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
|
|
matches:
|
|
'[id="com.chinatelecom.bestpayclient:id/h5_pc_container"] >n View[childCount=3] > @*[clickable=true] + * + *[childCount=0]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13696322',
|
|
'https://i.gkd.li/import/13696323',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 4,
|
|
name: '悬浮窗小广告',
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
activityIds: 'com.chinatelecom.bestpayclient.ui.MainActivity',
|
|
rules:
|
|
'[id="com.chinatelecom.bestpayclient:id/best_h5_container"] View[childCount=2] > @View[clickable=true] + View[clickable=true] > Image[text!=null]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13402711',
|
|
},
|
|
{
|
|
key: 5,
|
|
name: '年底积分活动弹窗',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'activity',
|
|
activityIds: 'com.alipay.mobile.nebulacore.ui.H5Activity',
|
|
rules: 'View > View[index=1][clickable=true][childCount=1] > Image',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13543032',
|
|
'https://i.gkd.li/import/13625037', //修改规则,避免在此误触
|
|
],
|
|
},
|
|
],
|
|
});
|