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

fix(淘宝): 将小组件添加到手机桌面误触 #3778

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
10 changes: 7 additions & 3 deletions src/apps/com.taobao.taobao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,18 @@ export default defineAppConfig({
{
enable: false,
key: 14,
name: '将小组件添加到手机桌面',
name: '局部广告-将小组件添加到手机桌面',
desc: '点击取消',
activityIds: 'com.alibaba.triver.container.TriverMainActivity',
rules: [
{
action: 'clickCenter',
matches: 'View[text="立即添加"] + View[text="取消"]',
snapshotUrls: 'https://i.gkd.li/import/13598578',
matches:
'View[childCount=2] >3 View[text="立即添加"] + View[text="取消"]',
snapshotUrls: [
'https://i.gkd.li/import/13598578',
'https://i.gkd.li/import/13853510', //误触快照
],
},
],
},
Expand Down