准备工作加雷沙星
手机端安装「冰狐智能辅助」,详细安装过程请看这里。 手机端安装「爱奇艺极速版」v1.10.6,注意,必须安装这个版本,不同的版本操作界面可能不同,可能会导致辅助功能失效。点击这里从豌豆荚下载该版本。 注册「爱奇艺极速版」用户并登陆。
制作辅助功能
进入「移动端」/「自动构建」,新建名为”爱奇艺极速版“的自动构建。DNA变性与杂交
点击“配置源码”按钮,将如下json数据粘贴进去,保存。
{
"type": "root",
"children": [{
"type": "declareVar",
"var": [{
"name": "ret",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "view",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "viewContainer",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "item",
"type": "normal",
"initType": "null",
"initValue": "null"
}],
"desc": "变量声明"
}, {
"type": "launchApp",
"packageName": "com.qiyi.video.lite",
"findTag": "txt:首页-",
"failed": "exitPopup",
"maxStep": "30",
"children": [{
"type": "log",
"log": "启动app成功",
"desc": "启动成功日志",
"info": ["string-app启动成功"],
"log_type": "log"
}, {
"type": "switchPage",
"returnVar": "",
"findTag": "txt:开宝箱-",数字电视接收器
"checkTag": "txt:活动规则-",
"root": "",
"click": "true",
"failed": "exitPopupWithAD",
"descendant": "[]",
"duration": "500",
"maxStep": "5",
"beforeWait": "0",
"afterWait": "0",
"children": [{
"type": "log",
"desc": "开始日志",
"log_type": "log",
"info": ["string-进入任务"]
}, {
"type": "task",
"scrollCount": "2",
"returnTag": "txt:活动规则-",
"taskDeal": [{
"key": "txt^:免费抽大奖-",
"value": {
"type": "switchPage",
"desc": "切换到幸运大转盘",
"returnVar": "",
酒店预定系统 "findTag": "txt^:免费抽大奖-",
"checkTag": "txt:幸运大转盘-",
"root": "",
"click": "true",
"failed": "exitPopupWithAD",
"descendant": [],
"duration": "500",
继电器延时电路 "maxStep": "5",
"beforeWait": "0",
"afterWait": "0",
"children": [{
"type": "loop",
"desc": "循环多次处理抽奖",
"class": "2",
"startIndex": "0",
"endIndex": "20",
"children": [{
"type": "findView",
"desc": "搜索控件",
"viewDeal": [{
"key": "txt^:恭喜到账-traverse_one_by_one",
"value": {
"type": "loop",
"desc": "退出到账",
"class": "4",
"container": "view",
"descendant": "[-1,-1]",
"children": [{
"type": "if",
"desc": "条件处理",
"expr": "item.clickable",
"children": [{
"type": "log",
"desc": "日志",
"log_type": "log",
"info": ["string-click x,and exit"]
}, {
"type": "click",
"desc": "点击控件",
"class": "2",
"click": "true",
"descendant": [],
"beforeWait": "0",
"afterWait": "0",
"target": "item"
}, {
"type": "break",
"desc": "跳出循环"
}]
}]
}
}, {
"key": "txt$:后再来-",
"value": {
"type": "break",
"desc": "跳出循环"
}
}, {
"key": "txt^:lottery-list-",
"value": {
"type": "custom",
"desc": "抽奖",
"code": "var txt = view.parent.parent.parent[2][0].text;\nconsole.log('txt:' + txt);\nvar num = parseInt(txt);\nif (num > 0) {\ngestureClick((view.left + view.right) / 2, (p + view.bottom) / 2, {afterWait: 8000});\nconsole.log('点击开始抽奖');\n} else {\nconsole.log('抽奖结束');\nbreak;\n}"
}
}, {
"key": "txt^:lottery-list-",
"value": {
"type": "if",
"desc": "条件处理",
"expr": "parseInt(view.parent.parent.parent[2][0].text)>0",
"children": [{
"type": "click",
"desc": "点击控件",
"class": "4",
"duration": "500",
"beforeWait": "0",
"afterWait": "8000",
"x": "0",
"y": "0",
"unit": "px"
}]
}
}],
"root": "",
"failed": "exitPopupWithAD",
"duration": "500",
"maxStep": "10",
"beforeWait": "0",
"afterWait": "0",
"false": {
"type": "break",
"desc": "跳出循环"
}
}],
"descendant": []
}, {
"type": "back2Page",
"desc": "返回页面",
"returnVar": "",
"tag": "txt:我的|txt:活动规则-",
"root": "",
"backFirst": "true",
"failed": "",
"duration": "500",
"maxStep": "5",
"beforeWait": "0",
"afterWait": "0"
}],
"false": {
"type": "log",
"desc": "日志",
"log_type": "error",
"info": ["string-切换到大转盘失败"]
}
}
}, {
"key": "txt:开宝箱领金币|txt$:每日可领-",
"value": {
"type": "click",
"desc": "点击控件",