mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(中国电信): 开屏广告(优化规则)、更新弹窗(优化规则) (#3257)
* feat 开屏广告(优化规则) * feat 更新弹窗(优化规则)
This commit is contained in:
@@ -7,17 +7,17 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
matchLauncher: true,
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: [
|
|
||||||
'com.ct.client.activity.MainActivity',
|
|
||||||
'com.ct.client.activity.SplashActivity',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
key: 0,
|
||||||
matches: '[id="com.ct.client:id/tvSkip"]',
|
matches: '[id="com.ct.client:id/tvSkip"]',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 1,
|
||||||
matches: '[id="com.ct.client:id/btSkip"]',
|
matches: '[id="com.ct.client:id/btSkip"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12508958',
|
'https://i.gkd.li/import/12508958',
|
||||||
@@ -37,18 +37,15 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '首页-取消升级',
|
name: '更新弹窗',
|
||||||
enable: false,
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: [
|
rules: 'LinearLayout > [text="取消升级"]',
|
||||||
'com.ct.client.activity.MainActivity',
|
|
||||||
'com.ct.client.common.ConfirmDialogActivity',
|
|
||||||
'com.ct.client.activity.SplashActivity',
|
|
||||||
],
|
|
||||||
rules: 'LinearLayout > TextView[text="取消升级"]',
|
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12819594',
|
'https://i.gkd.li/import/12819594',
|
||||||
'https://i.gkd.li/import/13316168',
|
'https://i.gkd.li/import/13316168',
|
||||||
|
'https://i.gkd.li/import/13695096',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user