Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

feat(菜鸟):发现页新装试用弹窗、规则分类 #4053

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions src/apps/com.cainiao.wireless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineAppConfig({
groups: [
{
key: 1,
name: '弹窗广告',
name: '全屏广告-弹窗广告',
rules: [
{
key: 0,
Expand All @@ -32,7 +32,7 @@ export default defineAppConfig({
},
{
key: 2,
name: '包裹页面-地图底部横条广告',
name: '局部广告-包裹页面-地图底部横条广告',
activityIds: [
'com.taobao.cainiao.logistic.ui.view.LogisticDetailActivity',
],
Expand All @@ -41,7 +41,7 @@ export default defineAppConfig({
},
{
key: 4,
name: '升级提示',
name: '更新提示',
enable: false,
quickFind: true,
activityIds: [
Expand All @@ -52,7 +52,7 @@ export default defineAppConfig({
},
{
key: 5,
name: '开启消息弹窗',
name: '通知提示',
desc: '自动点击关闭。',
enable: false,
quickFind: true,
Expand All @@ -64,7 +64,7 @@ export default defineAppConfig({
},
{
key: 6,
name: '请求好评弹窗',
name: '评价提示',
activityIds: 'com.taobao.cainiao.logistic.ui.view.LogisticDetailActivity',
rules: '@[text="取消"] + [text="好评"]',
snapshotUrls: 'https://i.gkd.li/import/13692761',
Expand All @@ -79,5 +79,18 @@ export default defineAppConfig({
rules: '[vid="dialog_full_image_close"]',
snapshotUrls: 'https://i.gkd.li/import/13842492',
},
{
key: 8,
name: '全屏广告-发现页新装试用弹窗',
desc: '点击X',
rules: [
{
activityIds:
'com.cainiao.wireless.homepage.view.activity.HomePageActivity',
matches: 'View[childCount=2][clickable=true] > [text="关闭"]',
snapshotUrls: 'https://i.gkd.li/import/14033859',
},
],
},
],
});
Loading