Last active
January 28, 2024 16:10
-
-
Save soffchen/d86617cfd33867830f1e979a959cec37 to your computer and use it in GitHub Desktop.
gkd-nio.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
id: 'cn.com.weilaihui3', | |
name: '蔚来', | |
groups: [ | |
{ | |
key: 1, | |
name: '自动点击领取红包', | |
activityIds: ['cn.com.weilaihui3.im.session.activity.ChatActivity'], | |
rules: [ | |
{ | |
matches: '[id="cn.com.weilaihui3:id/im_tv_msg_content"][text="领取红包"]', | |
}, | |
], | |
}, | |
{ | |
key: 2, | |
name: '自动打开红包', | |
activityIds: ['cn.com.weilaihui3.redpacket.app.ui.activity.RedPacketIMOpenDialogActivity'], | |
rules: [ | |
{ | |
key: 1, | |
name: "点击打开红包", | |
matches: '@ImageView[id="cn.com.weilaihui3:id/mIvOpen"]', | |
}, | |
{ | |
key: 2, | |
name: "红包已经被领取", | |
matches: '@ImageView[id="cn.com.weilaihui3:id/mIvClose"] +(4) TextView[text="手慢了,红包派完了"]', | |
}, | |
], | |
}, | |
{ | |
key: 3, | |
name: '领完红包自动返回', | |
activityIds: ['cn.com.weilaihui3.redpacket.app.ui.activity.RedPacketRankActivity'], | |
rules: [ | |
{ | |
matches: '[id="cn.com.weilaihui3:id/ivNavigation"]', | |
}, | |
], | |
}, | |
{ | |
key: 4, | |
name: '会话列表自动进入', | |
activityIds: ['cn.com.weilaihui3.app.ui.activity.HomeActivity'], | |
rules: [ | |
{ | |
matches: '[id="cn.com.weilaihui3:id/conversation_list_content"] > RecyclerView > ViewGroup > ViewGroup > @TextView[text*="[积分红包]"]', | |
}, | |
], | |
}, | |
{ | |
key: 11, | |
name: '签到领福利', | |
activityIds: ['cn.com.weilaihui3.app.ui.activity.HomeActivity'], | |
rules: [ | |
{ | |
matches: '[id="cn.com.weilaihui3:id/my_head_info_user_check_tip"][text="签到领福利"]', | |
}, | |
], | |
}, | |
{ | |
key: 12, | |
name: '惊喜商城-去完成', | |
activityIds: ['com.nio.lego.widget.web.CommWebViewActivity'], | |
rules: [ | |
{ | |
matches: 'TextView[text="连续浏览惊喜商城30天"] +(5) TextView[text="去完成"]', | |
}, | |
], | |
}, | |
{ | |
key: 13, | |
name: '惊喜商城-去查看', | |
activityIds: ['com.nio.lego.widget.web.CommWebViewActivity'], | |
rules: [ | |
{ | |
matches: 'TextView[text="连续浏览惊喜商城30天"] +(5) TextView[text="去查看"]', | |
}, | |
], | |
}, | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment