feat(彩云天气): VIP弹窗, 广告弹窗 (#2283)

close #2183
This commit is contained in:
walklty
2023-11-20 20:54:56 +08:00
committed by GitHub
parent 34c6c14be3
commit 86f6b59c77

View File

@@ -0,0 +1,36 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.nowcasting.activity',
name: '彩云天气',
groups: [
{
key: 1,
name: '弹窗广告_VIP',
quickFind: true,
activityIds: 'com.nowcasting.activity.WeatherActivity',
rules: [
{
matches:
'[text="开心收下"] + [id="com.nowcasting.activity:id/iv_close"]',
snapshotUrls: 'https://i.gkd.li/import/13405130',
},
],
},
{
key: 2,
name: '弹窗广告_外部应用',
quickFind: true,
activityIds: 'com.nowcasting.activity.WeatherActivity',
rules: [
{
matches: [
'[id=null][text^="立即" || text^="领取" || text^="了解"][text.length=4]',
'[id="android:id/content"] >2 FrameLayout[childCount=3||childCount=2||childCount=4] > FrameLayout[childCount=5||childCount=6||childCount=8] > FrameLayout[childCount=1] > ImageView[text=null][visibleToUser=true]',
],
snapshotUrls: 'https://i.gkd.li/import/13405131',
},
],
},
],
});