feat(QQ音乐): 内测体验弹窗 (#1440)

This commit is contained in:
lisonge
2023-10-26 23:37:01 +08:00
parent f57dd1cd0d
commit 0f22699334

View File

@@ -1,4 +1,3 @@
import { matches } from 'lodash';
import { defineAppConfig } from '../types'; import { defineAppConfig } from '../types';
export default defineAppConfig({ export default defineAppConfig({
@@ -8,12 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
matchLauncher: true,
rules: [ rules: [
{ {
activityIds: [ activityIds: [
'com.tencent.qqmusic.activity.AppStarterActivity', 'com.tencent.qqmusic.activity.AppStarterActivity',
'com.tencent.qqmusic.business.splash.thirdpartsplash.tme.union.SplashDialog', 'com.tencent.qqmusic.business.splash.thirdpartsplash.tme.union.SplashDialog',
'com.miui.home.launcher.Launcher',
], ],
matches: 'TextView[text=`跳过`][clickable=true]', matches: 'TextView[text=`跳过`][clickable=true]',
snapshotUrls: [ snapshotUrls: [
@@ -42,5 +41,14 @@ export default defineAppConfig({
rules: 'View[id="js_close_btn"][desc="关闭"]', rules: 'View[id="js_close_btn"][desc="关闭"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13115121', snapshotUrls: 'https://gkd-kit.gitee.io/import/13115121',
}, },
{
key: 3,
name: '内测体验弹窗',
desc: '点击[不再提醒]',
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
quickFind: true,
rules: '[text="抢先体验"] -2 [text="不再提醒"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13178485',
},
], ],
}); });