feat(微信): 自动选中发送原图-规则优化 (#768)

* fix(微信)

* fix 修复 key 6 与 key 8 相互干扰的问题

* fix(微信)

* polish some words

* fix(微信)

* 目标节点切换至 clickable=true 属性的 View

* fix(微信):订阅号文章广告

* 修改 action 为 clickCenter

* 增加 【订阅号文章广告】、【订阅号文章广告反馈】描述

* 修改 【订阅号文章广告】、【订阅号文章广告反馈】描述

* Revert 使用 View[clickable=true] 进行限定

* Revert 使用 View[clickable=true] 进行限定

* feat 【自动选中发送原图】增加activityid
This commit is contained in:
Kun Jinkao
2023-10-08 23:25:38 +08:00
committed by GitHub
parent 90d127fcd0
commit 2d263436d1

View File

@@ -151,13 +151,17 @@ export default defineAppConfig({
key: 7, key: 7,
name: '自动选中发送原图', name: '自动选中发送原图',
desc: '图片和视频选择器-自动选中底部中间的发送原图', desc: '图片和视频选择器-自动选中底部中间的发送原图',
activityIds: 'com.tencent.mm.plugin.gallery.ui.AlbumPreviewUI', activityIds: [
'com.tencent.mm.plugin.gallery.ui.AlbumPreviewUI',
'com.tencent.mm.plugin.gallery.ui.ImagePreviewUI',
],
rules: [ rules: [
{ {
key: 1, key: 1,
matches: '[text="原图"] - ImageButton[desc="未选中,原图,复选框"]', matches: '[text="原图"] - ImageButton[desc="未选中,原图,复选框"]',
snapshotUrls: [ snapshotUrls: [
'https://gkd-kit.gitee.io/import/12686641', // 未选中 'https://gkd-kit.gitee.io/import/12686641', // 未选中
'https://gkd-kit.songe.li/import/12840865', // 未选中
'https://gkd-kit.gitee.io/import/12686640', // 已选中 'https://gkd-kit.gitee.io/import/12686640', // 已选中
], ],
}, },