perf(Google Play 商店): 全屏广告-弹窗广告 (#462)

This commit is contained in:
AIsouler
2024-11-05 13:46:04 +08:00
parent b770a5c418
commit 12e771fbf0

View File

@@ -24,44 +24,34 @@ export default defineGkdApp({
{ {
key: 2, key: 2,
name: '全屏广告-弹窗广告', name: '全屏广告-弹窗广告',
desc: '点击[以后再说]', desc: '点击[以后再说]/[不用了]',
fastQuery: true, fastQuery: true,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{
key: 0,
name: '体验 Google Play Pass',
position: {
left: 'width * 0.5',
top: 'width * 1.5',
},
activityIds: 'com.google.android.finsky.activities.MainActivity',
matches: '[text="体验 Google Play Pass免费试用 1 个月"]',
snapshotUrls: [
'https://i.gkd.li/i/14958783',
'https://i.gkd.li/i/15286041',
],
},
{ {
key: 1, key: 1,
name: '隆重推出 Google Play Points 计划',
position: { position: {
left: 'width * 0.5', left: 'width * 0.5',
top: 'width * 1.625', top: 'height * 0.75',
}, },
activityIds: 'com.google.android.finsky.activities.MainActivity', activityIds: 'com.google.android.finsky.activities.MainActivity',
matches: '[text="隆重推出 Google Play Points 计划"]', matches:
'@LinearLayout[childCount=0][visibleToUser=true] -3 [text^="体验" || text^="隆重推出"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/15335350', 'https://i.gkd.li/i/15286041',
'https://i.gkd.li/i/16397947', 'https://i.gkd.li/i/16397947',
], ],
}, },
{ {
key: 2, key: 2,
activityIds: 'com.google.android.finsky.activities.MainActivity', activityIds: 'com.google.android.finsky.activities.MainActivity',
matches: ['[text*="推荐内容"]', '[text="不用了"]'], matches: '[text="以后再说" || text="不用了"][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/i/16079813', snapshotUrls: [
'https://i.gkd.li/i/14958783',
'https://i.gkd.li/i/16079813',
'https://i.gkd.li/i/17622043',
],
}, },
], ],
}, },