mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(中国电信):右下角客服悬浮窗、规则分类
This commit is contained in:
@@ -7,7 +7,7 @@ export default defineAppConfig({
|
|||||||
groups: [
|
groups: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '用户引导',
|
name: '功能类-软件更新/安装后的用户引导',
|
||||||
enable: false,
|
enable: false,
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: 'com.ct.client.activity.UserGuideActivity',
|
activityIds: 'com.ct.client.activity.UserGuideActivity',
|
||||||
@@ -16,7 +16,7 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '更新弹窗',
|
name: '更新提示',
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
@@ -29,30 +29,20 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '浮窗广告',
|
name: '全屏广告-浮窗广告',
|
||||||
desc: '会出现在首页、查询办理页面',
|
desc: '会出现在首页、查询办理页面',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: [
|
activityIds: ['com.ct.client.common.ConfirmDialogActivity'],
|
||||||
'com.ct.client.common.ConfirmDialogActivity',
|
|
||||||
'com.ct.client.activity.MainActivity',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches: 'ImageView[id="com.ct.client:id/close"]',
|
matches: 'ImageView[id="com.ct.client:id/close"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: ['https://i.gkd.li/import/12819676'],
|
||||||
'https://i.gkd.li/import/12819676',
|
|
||||||
'https://i.gkd.li/import/12913735',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
matches: 'ImageView[id="com.ct.client:id/ivFloatClose"]',
|
|
||||||
snapshotUrls: ['https://i.gkd.li/import/13043345'],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 4,
|
key: 4,
|
||||||
name: '业务办理-弹窗广告',
|
name: '全屏广告-弹窗广告',
|
||||||
// quickFind: true, 实机测试使用无法跳过
|
// quickFind: true, 实机测试使用无法跳过
|
||||||
activityIds: [
|
activityIds: [
|
||||||
'com.ct.client.common.webview.OnlineBusinessWebkitActivity',
|
'com.ct.client.common.webview.OnlineBusinessWebkitActivity',
|
||||||
@@ -62,12 +52,34 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 5,
|
key: 5,
|
||||||
name: '消息-开启消息通知',
|
name: '通知提示-开启消息通知弹窗',
|
||||||
desc: '自动点击关闭',
|
desc: '自动点击关闭',
|
||||||
// quickFind: true, 实机测试使用无法跳过
|
// quickFind: true, 实机测试使用无法跳过
|
||||||
activityIds: ['com.ct.client.activity.MainActivity'],
|
activityIds: ['com.ct.client.activity.MainActivity'],
|
||||||
rules: 'ImageView[id="com.ct.client:id/msg_close"]',
|
rules: 'ImageView[id="com.ct.client:id/msg_close"]',
|
||||||
snapshotUrls: ['https://i.gkd.li/import/13043522'],
|
snapshotUrls: ['https://i.gkd.li/import/13043522'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 6,
|
||||||
|
name: '功能类-右下角客服悬浮窗',
|
||||||
|
desc: '点击关闭',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
quickFind: true,
|
||||||
|
activityIds: 'com.ct.client.MainActivity',
|
||||||
|
matches: '[id="com.ct.client:id/close"]',
|
||||||
|
exampleUrls:
|
||||||
|
'https://m.gkd.li/57941037/3a14e0ac-ce6a-411d-9f92-e50da5165119',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/14133742',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
activityIds: 'com.ct.client.activity.MainActivity',
|
||||||
|
matches: '[id="com.ct.client:id/ivFloatClose"]',
|
||||||
|
exampleUrls:
|
||||||
|
'https://m.gkd.li/57941037/a97bf7a2-6e35-4922-ad0d-8677fca79f7c',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13043345',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user