perf: 主题

This commit is contained in:
AIsouler
2024-09-11 09:44:47 +08:00
parent b535e36027
commit c8b152dcf6

View File

@@ -26,6 +26,7 @@ export default defineGkdApp({
{ {
key: 1, key: 1,
name: '局部广告-主题详情页“下应用领主题”横幅', name: '局部广告-主题详情页“下应用领主题”横幅',
fastQuery: true,
activityIds: [ activityIds: [
'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.OnlineThemePreviewActivity', 'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.OnlineThemePreviewActivity',
'com.huawei.android.thememanager.mvp.view.activity.onlinewallpaper.OnlineWallpaperPreviewActivity', 'com.huawei.android.thememanager.mvp.view.activity.onlinewallpaper.OnlineWallpaperPreviewActivity',
@@ -42,7 +43,11 @@ export default defineGkdApp({
}, },
{ {
key: 2, key: 2,
name: '局部广告-主题详情页广告', name: '分段广告-主题详情页广告',
fastQuery: true,
rules: [
{
key: 0,
activityIds: [ activityIds: [
'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.OnlineThemePreviewActivity', 'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.OnlineThemePreviewActivity',
'com.huawei.android.thememanager.mvp.view.activity.onlinewallpaper.OnlineWallpaperPreviewActivity', 'com.huawei.android.thememanager.mvp.view.activity.onlinewallpaper.OnlineWallpaperPreviewActivity',
@@ -50,24 +55,18 @@ export default defineGkdApp({
'com.huawei.android.thememanager.mvp.view.activity.paster.PasterDetailActivity', 'com.huawei.android.thememanager.mvp.view.activity.paster.PasterDetailActivity',
'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.LocalThemePreviewActivity', 'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.LocalThemePreviewActivity',
], ],
rules: [
{
matches: matches:
'[id="com.huawei.hms.ads.uiengine:id/unlike_iv"||id="com.huawei.android.thememanager:id/download_pps_close"||id="com.huawei.android.thememanager:id/pps_close"]', '[id="com.huawei.hms.ads.uiengine:id/unlike_iv" || id="com.huawei.android.thememanager:id/download_pps_close" || vid="pps_close"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12647248', 'https://i.gkd.li/i/12647248',
'https://i.gkd.li/i/12647292', 'https://i.gkd.li/i/12647292',
'https://i.gkd.li/i/12647367', 'https://i.gkd.li/i/12647367',
], 'https://i.gkd.li/i/16956672',
},
], ],
}, },
{ {
key: 3, preKeys: [0],
name: '局部广告-主题详情页广告关闭弹窗', activityIds: 'com.huawei.openalliance.ad.activity.FeedbackActivity',
activityIds: ['com.huawei.openalliance.ad.activity.FeedbackActivity'],
rules: [
{
matches: '[text="直接关闭"]', matches: '[text="直接关闭"]',
snapshotUrls: 'https://i.gkd.li/i/12647268', snapshotUrls: 'https://i.gkd.li/i/12647268',
}, },
@@ -76,6 +75,7 @@ export default defineGkdApp({
{ {
key: 4, key: 4,
name: '分段广告-主题详情信息流广告', name: '分段广告-主题详情信息流广告',
fastQuery: true,
activityIds: [ activityIds: [
'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.OnlineThemePreviewActivity', 'com.huawei.android.thememanager.mvp.view.activity.onlinetheme.OnlineThemePreviewActivity',
'com.huawei.android.thememanager.mvp.view.activity.onlinewallpaper.OnlineWallpaperPreviewActivity', 'com.huawei.android.thememanager.mvp.view.activity.onlinewallpaper.OnlineWallpaperPreviewActivity',
@@ -85,6 +85,7 @@ export default defineGkdApp({
], ],
rules: [ rules: [
{ {
key: 0,
matches: matches:
'[id="com.huawei.android.thememanager:id/pps_lable_top"||id="com.huawei.android.thememanager:id/pps_img_video_close"]', '[id="com.huawei.android.thememanager:id/pps_lable_top"||id="com.huawei.android.thememanager:id/pps_img_video_close"]',
snapshotUrls: [ snapshotUrls: [
@@ -93,6 +94,7 @@ export default defineGkdApp({
], ],
}, },
{ {
preKeys: [0],
matches: matches:
'[id="com.huawei.android.thememanager:id/tv_btn_uninterested"]', '[id="com.huawei.android.thememanager:id/tv_btn_uninterested"]',
snapshotUrls: 'https://i.gkd.li/i/12647326', snapshotUrls: 'https://i.gkd.li/i/12647326',
@@ -116,6 +118,7 @@ export default defineGkdApp({
activityIds: ['com.huawei.android.thememanager.HwThemeManagerActivity'], activityIds: ['com.huawei.android.thememanager.HwThemeManagerActivity'],
rules: [ rules: [
{ {
key: 0,
matches: matches:
'[id="com.huawei.android.thememanager:id/announce_ad_close_btn"||id="com.huawei.android.thememanager:id/pps_lable_top"||id="com.huawei.android.thememanager:id/pps_img_video_close"||id="com.huawei.android.thememanager:id/pps_label_ll"]', '[id="com.huawei.android.thememanager:id/announce_ad_close_btn"||id="com.huawei.android.thememanager:id/pps_lable_top"||id="com.huawei.android.thememanager:id/pps_img_video_close"||id="com.huawei.android.thememanager:id/pps_label_ll"]',
snapshotUrls: [ snapshotUrls: [
@@ -126,6 +129,7 @@ export default defineGkdApp({
], ],
}, },
{ {
preKeys: [0],
matches: matches:
'[id="com.huawei.android.thememanager:id/tv_btn_uninterested"]', '[id="com.huawei.android.thememanager:id/tv_btn_uninterested"]',
snapshotUrls: 'https://i.gkd.li/i/12647655', snapshotUrls: 'https://i.gkd.li/i/12647655',